1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612
|
stress-ng (0.15.06-2) unstable; urgency=medium
* Fix random buffer filling issue
- 0001-core-helper-fix-stress_rndbuf-to-fill-entire-buff.patch
* Re-enable af-alg stressor if ipsec-mb is not available
- 0002-stress-af-alg-remove-check-for-HAVE_LIB_IPSEC_MB.patch
-- Colin Ian King <colin.i.king@gmail.com> Mon, 20 Mar 2023 09:43:11 +0000
stress-ng (0.15.06-1) unstable; urgency=medium
* Makefile: bump version
* README.md: add another citation
* Manual: update date
* debian/testing/fast-test-all: remove --klog-check
* stress-ng: fix truncated pr_inf call
* stress-ng: add --oom-avoid-bytes option for the free memory avoid
allocation threshold
* stress-cache: remove % operator, using compare and re-assign to zero
* stess-msg: add --msg-bytes option to specify size of message being
sent/recv'd
* stress-msg: voidify return of msgctl
* stress-*, test-*: remove trailing spaces at end of lines
* stress-shm-sysv: define SHM_HUGE_* macros if required, drop IPC_PRIVATE
error check
* stress-shm-sysv: add SHM_HUGE_2MB flag when using SHM_HUGETLB
* stess-shm-sysv: plumb in --sym-sysv-bytes option to correct ID
* stress-shm-sysv: replace IPC_RMID with IPC_PRIVATE in error message
* stress-shm-sysv: add missing space in error message
* stress-cyclic: report the number of samples required for the test run
* stress-memrate: make vector types based on uint32_t, add prefetch 128
* stress-memrate: make prefetch offset 2K
* stress-memrate: remove inner loops for non-memory rate timed functions
* stress-memrate: remove keep_stressing check, use siglongjmp in alarm
handler
* stress-memrate: add in further loop optimizations
* stress-vm: explicitly add modulo inline helper function
* core-helper: add stress_get_prime64 to get prime above a given value
* core-helper: rename stress_get_prime64 to stress_get_next_prime64
* stress-memrate: fix --memrate-wr-mbs/rd-mbs, use best fit size, add
memset writes too
* stress-vm: skip stressor when out of resources, return EXIT_NO_RESOURCES
* stress-vm: fix prime index accumulation overflow and speed up modulo
* stress-vm: compute a new prime that is larger than sz rather than use
PRIME_64
-- Colin Ian King <colin.i.king@gmail.com> Thu, 16 Mar 2023 12:47:17 +0000
stress-ng (0.15.05-1) unstable; urgency=medium
[Erik Stahlman]
* Populate jmp_env before it could be used
[Julien Olivain]
* Makefile: introduce PRESERVE_CFLAGS build flag
* stress-regs: fix build on riscv32
* stress-mmap: fix build with HAVE_SYSCALL or __NR_mmap2 is undefined
[Colin Ian King]
* Makefile: bump version
* Manual: simplify the contributors text and put a link to the README.md
file
* README.md: add contributors
* README.md: update notes about icc, icx and musl-gcc
* stress-ng.h: disable fast math for icc, it's not supported yet
* core-pragma: generalize unroll n to unroll for Intel icc compiler
* Manual: add bold notes about using bogo-ops as a benchmarking metric
* stress-pthread: call sys_set_robust_list using copy of head on
the stack
* stress-pthread: disable set_robust_list calls
* stress-mremap: pass an illegal remapping address rather than null
* core-pragma: bump clang version for STRESS_PRAGMA_WARN_CPP_OFF
* core-pragma: define STRESS_PRAGMA_WARN_CPP_OFF for different compiler
versions
* stress-qsort: cast return of mmap to same type as data
* stress-ng: only define OPTIMIZE_FAST_MAST with fast math attribute
for gcc 10+
* stress-brk: voidify two more args to clean up OS X build warning
* stress-brk: clean up OS X build warning
* stress-lockbus: enable for tested targets
* stress-lockbus: enable riscv
* stress-lock: try alternative __atomic_fetch_add if add_fetch is not
available
* stress-cpu: collatz: force compiler to generate collatz computation
* stress-cpu: explog: add randomness, stash intermediates to force exp
and log calls
* stress-cpu: add some randomness to force code generation of
computation
* Makefile: fix typo, remove i after parisc
* stress-tee: use correct format specifiers for size_t values
* stress-chown: fix incorrect goto before zero ret check
* Avoid division by zero
* stress-cache: fix incorrect variable being passed to cache helper
functions
* stress-zero: exercise a couple of ioctls
* stress-full: exercise a couple of ioctls
* stress-shellsort: remove 8 bit sort, replace it with 32 bit mangling
* stress-mergesort: remove 64 bit sort, replace it with 32 bit mangling
* stress-heapsort: remove 8 bit sort, replace it with 32 bit mangling
* core-sort: move stress_sort_data_int32_mangle from stress-qsort to
core-sort
* stress-rtc: add const to * ptr
* stress-rmap: add yield check, helps BSD systems when touching many
pages
* stress-evivar: use a lookup table for names to ignore
* stress-l1cache: add a l1cache method to select forward, random or
reverse cache exercising
* stress-wcs: remove redundant forward declaration of wcs
* stress-str: remove redundant forward declaration of metrics
* stress-x86cpuid: reduce scope of variables eax, ebx, ecx and edx
* test/test-timerfd-create: remove unused variable fd
* stress-vm-rw: memset stack to zero to silence pedantic static
analyzers
* stress-vdso: reduce scope of variable str
* stress-ng: reduce scope of variable ret
* stress-shm-sysv: rename sz to shmmax and add it to error message
* stress-sigio: reduce scope of buffer
* stress-rawdev: reduce scope of rate, constify rate and duration
* stress-prctl: change scope of declaration of ret
* stress-prctl: voidify ret
* stress-mutex: only declare cpus if (HAVE_PTHREAD_SETAFFINITY_NP is
defined
* stress-ipsec-mb: move declaration of ptr into context that uses it
* stress-cyclic: rename noclobber rc to ncrc
* core-vmstat: move variables into more local context
* stress-quota: memset dqinfo to zero to keep static analyzers happy
* stress-open: fix open_flag_perm #if defs and mkdir missing mode
* stress-prctl: move } to correct side of #endif
* stress-list: add more struct list_entry * casts
* stress-list: cast CIRCLEQ_FIRST return to struct list_entry *
* stress-io-uring: fix incorrect declaration of statxbuf, make it static
* core-resources: move } to correct location after #endifs
* core-vmstat: zero vm_stat to keep static analyzers happy
* stress-zlib: optimize double precision data generation
* Add support for optimization attribute fast-math, use in cpu stressors
* stress-tree: unroll loops for improved speed
* stress-shm-sysv: get max shm size from /proc/sys
* stress-quota: memset structs before quota calls
* stress-cyclic: add bounds check for DEADLINE scheduler failure
* stress-syscall: fix build issues with set_mempolicy
* stress-syscall: fix typo on check for __NR_get_mempolicy
* stress-open: fix missing (
* stress-msg: rename n to msgsz to avoid name shadowing
* stress-mmaphugepage: reduce scope of variable flags
* stress-madvice: reduce scope of a couple of variables
* core-helper: memset vm_stat and use correct sscanf format for size_t
* stress-enosys: make number unsigned and shift by 1U
* stress-bind-mount: reduce scope of variable pid
* stress-bind-mount: remove duplicated S_IRUSR in mkdir
* core-shim: put return -1 in correct place for RISC-V shim_cacheflush
* stress-msg: skip stressor on ENOSPC or ENOSYS
* stress-wcs: ensure metrics are scaled by the number of calls mad
* stress-str: ensure metrics are scaled by the number of calls made
* stress-zero: fix build error on declaration of i for non-Linux builds
* stress-yield: fix typo in args for FreeBSD build
* stress-exec: fix build failure when clone/vfork/posix_spawn not
available
* stress-brk: cast nt load argument to uint32_t *
* stress-wcs: add metrics for wide string functions
* stress-str: fix array overflow, re-order code too.
* stress-str: remove NULL entries from methods
* stress-access: make pointer "metrics" static
* stress-str: add metrics to string functions
* stress-rtc: check for EINTR from ioctl calls
* stress-fanotify: skip stressors when low on resources (fds or memory)
* stress-quota: improve quota error handling
* stress-sctp: fix typo in error message
* stress-brk: add some minor optimizations
* stress-brk: force read to "touch" a page, add helper to do this
* stress-msg: add extra error handling
* stress-tee: add more sanity checking in read/write/tee system calls
* stress-gpu: run stressor inside OOM catcher, add jump to abort on
SIGALRM
* stress-alarm: use SIGUSR1 to signal termination of child rather than
SIGKILL
* stress-resched: send ALRM rather than KILL signal to child renicer
process
* stress-futex: send ALRM rather than KILL signal to waiter process
* stress-sctp: report connect retry failure with correct errno
* stress-exec: handle more error returns from execve calls
* stress-x86syscall: report all metrics via the metrics interface
* stress-yield: add metrics for the duration of each sched_yield call
* stress-zombie: report number of zombies created as a metric
* stress-userfaultfd: add early check to see if userfaultfd() is
supported
* stress-yield: make yielder count a debug message
* stress-pipeherd: remove context switch info as it is in metrics
* stress-gpu: add pre-run check to see if GPU device is accessible
* stress-dirmany: move directory create/destroy times to metrics
* stress-ng: metrics: base metrics on number gathered not number
instances
* stress-pthread: report number of pthreads created as % of expected
total
* stress-plugin: add plugin-so check before invoking stressors
* stress-shm-sysv: handle ENOSPC, ENOMEM and EEXIST as non-fatal issues
* stress-mq: report ENOSPC on a mq_open as out of resources and skip
stressor
* stress-vdso: report all metrics via the metrics interface
* stress-switch: report switch rate using metrics interface
* stress-revio: move extents metrics to metrics information
* stress-gpu: prefix errno number with errno= for clarification
* stress-chown: don't prematurely finish stressors on ENOENT or ENOTDIR
* stress-chmod: remove CHECK macro now that is no longer used
* stress-chmod: don't prematurely finish stressors on ENOENT or ENOTDIR
* stess-flushcache: add oomable wrapper to restart if OOM'd
* stress-gpu: set MESA_SHADER_CACHE_DISABLE to true to avoid warnings
* stress-fpunch: move extent count to metrics information
* stress-epoll: #ifdef out epoll retry count and timeout exit
* stress-epoll: clean up error message, remove ;
* stress-rawsock: add OOM retries to child processes, back off on
ENOBUFS (LP: #1968361)
* stress-x86cpuid: move STRESS_ARCH_X86 ifdef check
* core-shim: add RISC-V implementation of cache flushing
* stress-dup: use stress_close_fds to close file descriptors
* stress-rlimit: use stress_close_fds to close file descriptors
* stress-memfd: use stress_close_fds to close file descriptors
* stress-io: use stress_close_fds to close file descriptors
* core-helper: add stress_close_fds to close a range of file descriptors
* core-log: add pr_metrics to log and tag metrics only data
* stress-jpeg: don't free row_pointer, it is now mmap'd
* core-perf: add more perf metrics
* Manual: fix wrrd128nt alignment in --vm-method
* core-sort: rename forward compares, add fwd into name, default to
the original cmp method
* core-hash: add more loop unrolling
* core-sort: tweak comparison functions for less overhead on branching
* core-sort: unroll shuffle loop
* core-mmap: unroll inner loops for more throughput
* core-hash: unroll mulxror and xorror hashes
* core-perf: add in more comparisons of misses vs hits
* stress-zlib: fix grammar in a comment
* stress-rawpkt: cache align buffer and struct for minor speed up
* stress-judy: minor if path hinting and optimization
* stress-context: make context cache aligned, allocate it using mmap
for page alignment
* stress-swap: allocate 1 page using mmap instead of calloc
* stress-zero: increase number of reads for more stable read rate
metrics
* stress-qsort: tweak sorting thresholds for some minor improvements
in speed
* stress-qsort: further optimization tweaks
* stress-qsort: add optimizations for verification helper functions
* stress-qsort: factor out forward/reverse verification helper functions
* stress-jpeg: optimize performance, mmap row_pointer at start,
unroll the loop
* stress-qsort: voidify return from stress_get_setting
* stress-ng.h: remove reduntant return from add_counter_lock
* stress-copy-file: remove commented out junk fsync code
* stress-qsort: add an alternative qsort implementation
* stress-hrtimers: fix incorrect id being passed to timer_getoverrun
* stress-hrtimers: optimize signal handler, use overruns to drive freq
* stress-qsort: remove extraneous huge mmap flag macros
* stress-qsort: use mmap'd memory for sorting rather than heap
* stress-*: replace UNROLL macro with pragma versions
* stress-madvise: remove two blank lines
* core-helper: add missing newline
* stress-cpu: add one more loop unroll
* stress-matrix: unroll some loops
* stress-x86cpuid: add some loop unrolling
* stress-cpu: add some loop unrolling for some performance improvements
* core-pragma: add loop unrolling pragma macros
* stress-x86cpuid: use cpuid values from a table, add randomized
selection
* stress-opcode: use stress_reverse64 from core-bitops.h
* core-cache: rename to core-cpu-cache as this is cpu specific caching
* core-cache: rename all functions and types to start with
stress_cpu_cache_*
* stress-memrate: determine best power of two size from 1MB .. 1K for
loops
* stress-memrate: add --memrate-flush and fix memrate read/write rates
for < 1MB sizes
* stress-memrate: fix sub 1MB read/write rates
* stress-memrate: allow memrate-byte sizes of L1, L2, L3 or LLC
* stress-cache: remove variable j to clean up variable shadowing
* stress-fiemap: add yields to help rt prempt kernels for smoother runs
* stress-cache: add more cache metrics, scale bogo-ops to read/writes
per 1K
* stress-ng: make EXIT_NO_RESOURCES a skipped warning message and not
a hard error
* stress-chown: don't make file opening timeouts a fatal error
* Manual: fix vm stressor method name, should be wrrd128
* stress-tsc: voidify return from call to stress_get_setting
* debian/control: update standards version to 4.6.2
* Makefile: add CFLAGS to apparmor-data and core-personality compilation
* stress-memrate: don't use rep stos* for x32 builds
* stress-memthrash: don't use rep stosd for x32 builds
* Makefile: add ia64 to architectures that don't support the
-fstack-protector compiler option
-- Colin Ian King <colin.i.king@gmail.com> Thu, 9 Mar 2023 15:46:53 +0000
stress-ng (0.15.04-1) unstable; urgency=medium
[Khem Raj]
* Include sys/timex.h for clock_adjtime
* test-float: Make variables global
[Nick Hanley]
* Makefile.config: fix mktemp file leak
* Makefile.config: style: consistently omit parens around call arguments
* Makefile.config: style: replace trailing tabs with spaces
[Colin Ian King]
* Makefile: bump version
* stress-waitcpu: reduce scope for variables t and j
* stress-ng: reduce scope of variables inverse_n and f
* stress-lsearch: reduce the scope of variable t
* stress-cpu-online: reduce the scope of variable t
* stress-cpu: add missing line
* stress-bsearch: reduce scope of variable t
* stress-misaligned: disable misaligned atomic ops on PPC64 with older gcc
* stress-epoll: return client error return back to parent
* stress-waitcpu: add check for PAUSE instruction
* stress-vecwide: disable stress_vint8w16_t as this causes build failures
* stress-memrate: only define stos helpers if STOS instructions are
available
* stress-syncload: fix #ifdef's around stress_syncload_rdrand
* stress-wait: unconstify status to clear warning on OS X builds
* Makefile: disable -fstack-protector-strong for hppa too
* stress-sysinfo: don't fail on gvfs ENOTCONN errors
* Makefile: disable -fstack-protector-strong for alpha
* stress-tsc: add --tsc-lfence option to force tsc read serialization
* Manual: update copyright year and date
* stress-goto: add optimization tweak for icx compiler
* core-helper: add Intel icx compiler version detection
* stress-zlib: allow rdrand for 32 and 64 bit x86
* stress-waitcpu: disable umwait for x86-32
* stress-syncload: allow 32 bit x86 as well as 64 bit
* stress-opcode: mark ops_ptr as NOCLOBBERable to clear up longjmp warning
* Makefile: check and use hardening flags where available
* stress-prefetch: move prefetch and increment to increase throughput
* stress-prefetch: add check to see if prefetch* on x86 is available
* README.md: add another citation of an academic paper
* stress-prefetch: move read rates to metrics output
* stress-prefetch: add locality hinted prefetch, move read loop into a
macro
* stress-prefetch: add ppc64 prefetch methods
* stress-prefetch: add prefetch-method option to specify prefetch
instructions
* README.md: add some more citiations
* README.md: add another kernel issue found with stress-ng
* core-klog: add proc title status
* core-ignite-cpu: add proc title status
* core-vmstat: set proc title to indicate periodic stats process
* stress-fault: add more signal failure information
* stress-mremap: fix mremap with MAP_FIXED and no target address to use
NULL
* stress-waitcpu: annotate the address umonitor is waiting on
* stress-vecwide: add 16 bit vector, add metrics, report stats in bit
width
* core-asm-arm.h: helper include file for ARM assembler helpers
* stress-*: use generic stress_metrics_t type for per-stressor metrics
* stess-ng.h: rename stress_metrics_t to stress_metrics_data_t
* stress-waitcpu: add in ppc64 yieldy instructions
* stress-waitcpu: use yield instruction for ARM
* stress-waitcpu: use processor specific wait/pause instructions
* README.md: add another kernel issue found with stress-ng
* core-cache: allow x86 cache size checking for non-Linux/Apple systems
* core-cache: attempt to find cache size using x86 CPUID info
* stress-x86cpuid: add missing running and deinit proc state
* stress-umount: set child process in running state
* stress-rmap: set child process in running state
* stress-pthread: remove pthread instance id from proc cmdline
* stress-lease: set child process in running state
* stress-kill: set child process in running state
* stress-forkheavy: set child process in running state
* stress-fifo: set child process in running state
* stress-dir-deep: set run state earlier
* stress-context: set run state earlier
* stress-affinity: set child process in running state
* stress-vdso: set run state earlier
* stress-sigio: set child process in running state
* stress-idle-page: fix swapped args in error message
* stress-landlock: fix missing space between call & is in message
* stress-dentry: remove "removing .. dentries" message
* stress-chdir: inform user of delay in removing directories after 0.5
seconds
* core-mwc: fix comment of stress_mwc64modn
* stress-hdd: add read/write metrics
* stress-opcode: use non-volatile pointer state for mmap/mprotect/munmap
calls
* core-cache, core-asm-x86: modify volatile pointer casting
* stress-ipsec-mb: use shim_strlcat for a safer strcat
* stress-umount: stressor to exercise racy umount calls
* core-asm-x86.h: rework tpause to use rdtsc inlined code and return
carry flag
* core-cache.h: remove redundant #if 1 .. #endif
* stress-opcode: print estimate of total run time when using -v mode
* core-asm-ppc64.h: Enable msync instruction
* core-helper: disable __stack_chk_fail for clang - it breaks clang-16
* stress-flushcache: use more asm inline helpers
* stress-lock{a|f|ofd}: terminate contention process with SIGALRM
* core-asm-sparc.h, stress-tsc: check for HAVE_ASM_SPARC_TICK when using
tick opcode
* core-cache: use stress_asm_sparc_membar from core-asm-sparc.h
* core-cache: use stress_asm_riscv_fence from core-asm-riscv.h
* core-cache: use stress_asm_x86_clflush from core-asm-x86.h
* core-cache: use stress_asm_x86_clflush from core-asm-x86.h
* core-asm-x86.h: move x86 cache ops to core-asm-x86.h
* Makefile: add code fortify flags
* core-asm-x86: add checks for rdrand and rdseek opcodes being supported
* core-asm-sparc: remove extraneous tab
* stress-tree: add some minor optimization tweaks
* stress-tree: ensure all data is unique to avoid dups
* stress-tsc: add tick instruction for SPARC implementation of clock
tick read
* core-asm-s390.h: header for inlined s390 assembler
* core-asm-riscv.h: header for inlined RISC-V assembler
* stress-af-alg: check if HAVE_LIB_IPSEC_MB is defined
* stress-ipsec-mb: fix build failure for systems without ipsec-mb library
* stress-zlib: add inc16 zlib data filling method
* stress_atomic_lock_acquire: provide 5 seconds grace before bailing on Xi
EAGAIN
* stress-ipsec-mb: add ipsec-method option to select crypto/integrity
to use
* stress-ipsec-mb: re-work feature flag mechanism, add ipsec functions
in an array
* README.md: Add some more references and citations
* stress-memthrash: add memsetstosd memory zero method
* stress-sleep: reduce default threads per instance to 256, add more
yield checks
* stress-sleep: use x86 tpause where available
* stress-opcode: map/unmap opcodes in parent, fclose stdio descriptors
* stress-opcode: add siglongjmp handler for some signals, add metrics
* stress-opcode: cater for different arch opcode sizes
* stress-opcode: format opcode number as 8 hex digit wide string
* stress-opcode: implement inc opcode method more efficiently
* README.md: Add another bug found by stress-ng
* Add core-asm-ppc64.h for ppc64 asm helper code
* stress-zlib: remove unused function rand64
* core-asm-x86.h: add check for x86 arch
* test/test-asm-x86-mov-dr0.c: replace asm volatile with __asm__
__volatile__
* Add stress_asm_x86_lock_add to core-asm-x86.h for memthrash MEM_LOCK
macro
* rename stress_x86_cpuid to stress_asm_x86_cpuid and move it to
core-asm-x86.h
* stress-zombie: remove empty line
* core-asm-x86.h: add rdrand and rdseed x86 asm helpers
* core-asm-x86.h: add rdtsc x86 asm helper
* Move common x86 assembler into core-asm-x86.h
* stress-atomic: fix non-indexing of atomic lock space
* stress-memrate: use registers for rep stos, reduces stack loads
* stress-memrate: inline and add OPTIMIZE3 rep sto* code
* Manual: add rep sto x86 writes to the memrate stressor
* stress-memrate: don't print out metrics to log, use --metrics instead
* stress-memrate: use fast string write rep stos* instructions
* stress-atomic: exercise atomic locks on different offsets
* Makefile.config: don't build with libatomic for musl-gcc
* stress-list: fix build issue with musl-gcc
* stress-list: uncomment out HAVE_SYS_QUEUE_CIRCLEQ
* stress-nop: add serialize opcode for x86 and opcode support for x86
* stress-nop: reduce tpause from 5000 to 100 for more responsive handling
* Makefile: fix some missing config dependencies, remove gold ld
* Makefile: replace include with some eval magic
* Makefile: use -O2 as default only if -O option not defined in CFLAGS
-- Colin Ian King <colin.i.king@gmail.com> Wed, 15 Feb 2023 15:50:31 +0000
stress-ng (0.15.03-1) unstable; urgency=medium
[Anton Eliasson]
* stress-cpu: Add verification to rand48
[Colin Ian King]
* Makefile: bump version
* Manual: update contributors names
* stress-cpu: only verify rand48 for Linux glibc
* stress-pci: disable reading of ROMs
* core-ignite-cpu: randomly flip between cpu governors
* Manual: update nop stressor INSTR to note nop15 is the largest nop
for x86
* stress-version.h: rename to core-version.h
* stress-list: add per list method metrics
* core-helper: minor code reformatting for alphabet string
* core-helper: add compiler information to yaml file
* Add number of instances used in geometric mean metrics
* stress-fp: add alarm check flag in main stress fp loop, remove debug
* stress-fp: fix metrics, should be adding stats for all instances
* Add --sn (scientific notation) for metrics
* core-helper: add more gcc and icc version information
-- Colin Ian King <colin.i.king@gmail.com> Thu, 19 Jan 2023 10:50:01 +0000
stress-ng (0.15.02-1) unstable; urgency=medium
[Florian Weimer]
* test/test-float.c: Avoid tickling an implicit int error
* test-aligned-alloc: Define _GNU_SOURCE for the aligned_alloc prototype
* test-fchmodat: Include <sys/stat.h> for the fchmodat prototype
* test-pidfd-getfd: Include <syspidfd.h> if available for pidfd_getfd
[Guilherme Janczak]
* rework stress_strnrnd()
[Yong-Xuan Wang]
* stress-signest: disable alternative stack before unmap
[Colin Ian King]
* Makefile: bump verison, update to new code name
* stress-forkheavy: cast mmap return to same type as pointer metrics
* stress-fp: disable float128 for OpenBSD
* stress-fp: disable float80 due to unresolved division by zero SIGFPEs
* core-shared-heap: cast void * ptt to uintptr_t to clean up icc build
warning
* stress-matrix-3d: remove redundant redeclaration of variable j
* stress-matrix: remove redundant redeclaration of variable j
* stress-efivar: rename varname to get_varname to avoid name shadowing
* stress-fp: add fp rates into metrics output, increase metrics to 24
slots
* stress-fp: only count bogo-ops for float, double, long double
* core-helper: silence a spurious gcc warning
* stress-str: replace search for _ with +
* README.md: update number of stressors
* stress-fp: exercise various floating point values with +, *, /
operations
* stress-branch: add yield call for SH4 to allow it to be interrupted
* stress-pci: add locking around PCI memory rate stats
* stress-ipsec-mb: add locking around statistics being dumped in debug
* core-shared-heap: ensure offset is always aligned to natural pointer
alignment
* stress-fault: restore signal handlers at end of stressor loop
* stress-bad-altstack: replace STRESS_MINSIGSTKSZ with static size_t
stress_minsigstksz
* core-shared-heap: only report shared heap usage if it has been used
* core-mwc: add stress_mwc*modn() functions for modulo'd range
* core-builtin.h: convert macros into inline functions
* stress-*: voidify return from snprintf
* stress-str: fix prototype for test_strcpy_t
* stress-list: evaluate entry->value ^ rnd before passing it into a macro
* stress-wcs: add missing strdsc for stress_wcscpy testcase
* core-shared-heap: add strdup for shared description metrics string
* stress-ng: replace size of on index element j with 0
* stress-ng.h: divide by size of make allocator bitmap elements instead
of 8
* stress-cpu: use a clang builtin for reversing bits
* core-hash: replace hash_rol_uint32 with shim_rol32n
* stress-wcs: remove variable failed, use info.failed instead
* stress-str: bundle wcs function args into a struct, improves run time
* stress-wcs: bundle wcs function args into a struct, improves run time
* core-hash: use builtin rotate macros for rotating values
* core-builtin: re-work rotate helpers, add generalised rotate
left/right macros
* stress-list: use builtin shim_ror64
* stress-resources: free resources before child exit
* core-helper: fix stack size for non-first calls (incorrect cached value)
* stress-pci: print PCI config and resource space read rates
* core-helper: fix typo on STRESS_MAXIMUM macro
* core-cache: Add 32 bit variants of 64 bit hashes
* core-hash: add more comments to explain the nuances of memcpy
* core-hash: xorror64: cast len to uint64_t before flipping bits
* core-helper: simplify stack size calculations using STRESS_MAXIMUM macro
* core-helper: limit iterations on stress_get_prime64
* stress-priv-instr: remove extraneous ) for SPARC (again)
* stress-priv-instr: remove extraneous ) for SPARC
* stress-mlock: fix typo on time function
* stress-judy: move judy_ops array to function scope
* core-resources: clean up code, voidify, constify, misc cleanups
* stress-dirdeep: only report directories being deleted if it is taking
a while to complete
* stress-dirdeep: remove commented out cruft.
* stress-evivar: ignore ioctl FS_IOC_SETFLAGS error return
* stress-sigio: use metrics interface to report SIGIOs per sec
* stress-malloc: add missing tab
* stress-judy: add judy insert/find/delete rate metrics
* stress-jpeg: add compression ratio metrics
* stress-getdent: add duration metrics for getdent call
* stress-dev-shm: use more efficient method to touch pages with data
* stress-dirdeep: remove empty line
* stress-icache: fix spelling mistake in comment
* stress-flock: add lock/unlock flock metrics
* stress-zlib: use the generic metrics API to report metrics
* stress-unshare: add unshare() duration metrics
* stress-touch: remove empty line
* stress-tlb-shootdown: remove empty line
* stress-mremap: add metrics
* stress-mlock: remove extraneous tab
* stress-mlock: add mlock/munlock metrics
* stress-*: replace hard coded time constants with #defined constants
* Add x86intrin.h implementations for rotate left/right
* stress-*: use shim_rol/shim_ror builtins
* stress-rotate: add builtin support for clang rotateleft/rotateright
* stress-rotate: add a 8/16/32/64/128 bit rotate left/right stressor
* Update copyright to 2023
* stress-matrix: rename matrix_3d_yx to matrix_3d_zyx
* stress-matrix: add per method metrics
* stress-matrix-3d: add per method metrics and bump metrics to 16 items
* stress-memfd: add memfd_create metrics
* Revert "core-helper: use 8K stack check if PTHREAD_STACK_MIN is less
than 8K"
* stress-memfd: use uint64_t ptr offset helper, re-order code
* stress-memfd: add a zap pte linux stress test cast
* stress-tty: exercise ldisc settings on stressor instance 0's ptys
* stress-sparsematrix: force remove the unused splay function warnings
* core-pragma.h: define STRESS_PRAGMA_WARN_CPP_OFF for clang
* stress-resources: break from loop rather than use a leaky exit return
* stress-forkheavy: free resources to clean up memory leak
* core-helper: use 8K stack check if PTHREAD_STACK_MIN is less than 8K
* core-*: silence sys/sysctl.h deprecated warning
* stress-forkheavy: Add --forkheavy-allocs and --forkheavy-procs options
* stress-shm-sysv: remove debug of memory sizes
* stress-lockbus: only report splitlocks enabled on stressor instance 0
* stress-enosys: index into hash table using unsigned long
* stress-cacheline: only print out the method being used on instance 0
* stress-atomic: move metric measurments closer to lock instructions
* stress-atomic: make atomic ops operate on union'd data for more
contention
* Add new forkheavy stressor
* stress-link: add EINTR check for Serenity OS
* stress-syscall: add build time detection for select
* stress-efivar: add support for reading vars from the sysfs file
/sys/firmware/efi/efivars
* core-out-of-memory: add wait/exit/run states
* core-helper: add STRESS_STATE_ZOMBIE state
* stress-mcontend: set process state to run for all threads
* stress-*: print method being used only by first stressor instance
* core-sort: fix missing int type for j
* stress sort/search: add data helpers, add metrics
* stress-priv-instr: add SPARC draina and halt instructions
* stress-hash: add new xorror64 hash, a fast string hash
* core-cache: add M68K cache sizes
* Add build time check for SPARC membar instruction
* stress-ng: fix space identation with tab
* stress-ng: rename stress_misc_stats_t to stress_metrics and clean up
code
* stress-*: Add helper function stress_metrics_set to set metrics
* stress-shm-sysv: add shm* syscall metrics
* Add x86 mfence instruction auto build detection
* stress-syscall: rename struct with stress_ prefix to avoid name clashes
* core-vmstat: add OS X vmstat runnable/blocked process count
* stress-mmap: make variable mask non-clobberable
* stress-fault: make variables duration and count non-clobberable
* core-cpu: rework cpuid macros to build on gcc 4.8 with and without -fPIC
* core-nt-store: only use HAVE_XMMINTRIN_H with SSE supported by toolchain
* README.md: add the Ubuntu stress-ng ppa
* core-vmstat: Add OS X cpu system/user/idle stats in vmstat output
* stress-brk: disable page touching for OS X
* Revert "stress-brk: unmapping pages in brk will cause OS X segfaults,
disable it"
* Add more system statistics for OS X
* core-vmstat: add OS X support for CPU frequency stats
* core-vmstat: fix stress_get_cpu_ghz for non-FreeBSD and non-Linux builds
* Add min, max CPU frequencies to --thermalstat stats
* core-cache: move two more functions and rename cpusort to cpu_sort
* core-cache: re-order functions and #ifdef for Linux, OS X, etc
* core-cache: add OS X cache size support
* stress-brk: unmapping pages in brk will cause OS X segfaults, disable it
* core-thermal-zone: order thermal zone entries by type
* README.md: add another citation "The TSN Building Blocks in Linux"
* stress-branch: don't use -O3 on branch stessor for SH4
-- Colin Ian King <colin.i.king@gmail.com> Thu, 12 Jan 2023 17:27:22 +0000
stress-ng (0.15.01-1) unstable; urgency=medium
[Davidson Francis]
* core-thermal-zone: fix the average temperature calculation
[Colin Ian King]
* Makefile: bump version
* debian/control: update standards version to 4.6.1
* stress-tlb-shootdown: fix missing temporary directory removal
* stress-priv-instr: handle SIGBUS as SIGILL for FreeBSD
* stress-procfs: rename shadowed variable offset to mem_offset
* stress-brk: cast uint8_t ptr to void * for munmap
* stress-syscall: remove redundant initialization of variable max
* kernel-coverage: add two more stack stressor options
* stress-stack: add a new --stack-unmap option to unmap pages in stack
* stress-brk: regularly unmap pages in heap to create many heap mappings
* stress-pagemove: fix modulo of negative issue causing page check
failure
* stress-procfs: clean up off_t and ptr cast warnings
* stress-priv-instr: add support for aarch64
* stress-far-branch: set base to 0, remove mask
* stress-priv-instr: fix swapped size and fd args to mmap
* stress-priv-instruct: fix typo: HAVE_ASM_S390_PTLV -> HAVE_ASM_S390_PTLB
* stress-priv-instr: onlt log unhandled instructions info if any ops are
not trapped
* stress-priv-instr: add privileged instruction stressor
* stress-x86cpuid: fix short help message
* stress-*, core-*: Fix uname success check for Solaris/OpenHipster
* stress-x86cpuid: stressor does not verify, so set VERIFY_NONE
* stress-rdrand: reduce number of loops to avoid timeout overrun
* stress-x86cpuid: remove trailing spaces after comments
* stress-ng: free names[i] at first opportunity
* stress-syscall: clean up some valgrind uninitialized memory warnings
* stress-syscall: set threshold based on total available syscall tests
* stress-syscall: add restart_syscall system call
* stress-x86cpuid: add some more CPUID leaf types
* stress-nop: add some more x86 long nops, add metrics
* core-thermal-zone: move scope of total and count, add division by zero
check
* stress-*: add missing space between + operator
* Manual: update contributors
* stress-x86cpuid: replace ns with nanosecs in metrics
* stress-fault: double major faults using madvise PAGE_OUT where
possible
* stress-fault: triple minor page faults using MADV_DONTNEED where
available
* stress-tlb-shootdown: double TLB read/writes and misses
* stress-x86cpuid: more cpuid method for cpu stressor and make new
stressor
* stress-touch: add spacing between list of touch opts
* stress-softlockup: remove redundant fflush call
* stress-open: add open duration metrics
* stress-*: use pr_inf_skip for skipped stressor messages
* stress-nanosleep: add option --nanosleep-threads
* core-hash: align primes lookup table, slight improvement
* README.md: add another research paper citation
* stress-peterson: add note describing cache alignment optimization
* stress-dekker: add note describing cache alignment optimization
* stress-*: replace various empty signal handlers with
stress_sighandler_nop
* stress-page-swap: only define stress_pageswap_count_paged_out when
required
* stress-far-branch: move #endif to end of correct function
* stress-far-branch: only define stress_far_mmap_try32 if required
* stress-sysfs: add sys_skip_paths array for paths to skip reading
* stress-rdrand: remove metrics from debug, they are in the metrics
output
* stress-urandom: add random read rate metrics
* stress-remap: add remap page metrics
* stress-pageswap: add duration per page swapout metrics
* stress-mutex: add mutex locking rate metrics
* stress-mergesort: style: replace ptr+1 with ptr + 1
* stress-memhotplug: add metrics reporting for successful
offline/online operations
* stress-dekker: add cache friendly padding in mutex and counters
* stress-peterson: add cache friendly padding in mutex and counters
* stress-peterson: add mutex duration metrics
* stress-dekker: add mutex duration metrics
* stress-cpu-online: add offline/online duration metrics
* stress-munmap: use __builtin_clzl for faster log2(n) calculation
* stress-idle-page: fix comment description of stressor
* stress-far-branch: report that architecture may not be supported
* stress-far-branch: trim stride to minimum size, add ppc6le
implementation
* stress-dentry: remove empty tabbed line
* stress-fifo: add --fifo-data-size option to specify the data
read/write size
* stress-dup: add dup call duration metrics
* stress-dentry: add some dentry create/access/unlink metrics
* stress-brk: add sbrk page expand/shrink metrics
* stress-binderfs: add mount/umount duration metrics
* stress-bind-mount: add mount/umount duration metrics
* stress-sockpair: add metrics for socketpair call rate and write rates
* stress-sockpair: add potential sockpair sk leak test
* stress-vm: add a checkboard method
* stress-procfs: make helper function stress_proc_scandir static
* stress-stream: remove redundant casts
* stress-ng: move declaration of pointer munged
* stress_vm: replace stress_vm_popcount with stress_vm_count_bits8
* stress-cpu/vm: use builtin popcount where available
* stress-ng.h: make ALIGNED macro a no-op for Minix (wrong number of
segments error)
* stress-vm: fill memory from a 32 bit Galois linear feedback shift
register
* Manual: fix spelling mistake "iterively" -> "iteratively"
* stress-far-branch: re-work mmap handling for 32 bit and improved random
mmaps
* stress-sparsematrix: add a splay tree implementation to the mix
* stress-procfs: sanity check /proc/self/mem
* stress-mmap: attempt to name VMA using prctl
* workflows: unset env for Trivy upload
* workflows: set env for Trivy
* workflows: set correct name for env
* workflows: append env setting into $GITHUB_ENV
* workflows: add missing ) at end of expression
* workflows: fix IMAGE_REPOSITORY env setting
* stress-shm: move /dev/shm check to earlier in the setup phase
* stress-shm: skip stressor if /dev/shm is not mounted with tmpfs on
linux
* stress-sysfs: check for zero sysfs entries after pruning the directory
-- Colin Ian King <colin.i.king@gmail.com> Tue, 13 Dec 2022 09:26:11 +0100
stress-ng (0.15.00-1) unstable; urgency=medium
[Meysam Azad]
* add relevant docs to readme
* remove playground stuff
* update deprecated action
* add workflow dependency
* remove platform and add trivy image scan
* take it for a test run
* tag the image manually
* feat(ci): build docker image for DockerHub
[Kenny Gong]
* correct macro name to avoid build fail on riscv
[Thinh Tran]
* core-log: fix pr_spin_lock() spin forever when timeout expired
[Colin Ian King]
* stress-vm-addr: add a yield point in address loop
* stress-far-branch: voidify base and offset
* stress-crypt: add Solaris ENOENT return check
* stress-crypt: fix crypt call for systems without crypt_r
* stress-chroot: cast mmap return to same type as metrics pointer
* stress-atomic: cast mmap return to same type as metrics pointer
* stress-access: cast mmap to same type as metrics pointer
* stress-mmap: only declare pointer buf64 when it is required
* stress-mmap: add build check for mprotect use in Step #10
* stress-mmap: add build check for mprotect use in Step #9
* stress-race-sched: add built time check for sched_setaffinity
* stress-flushcache: remove voidification of non-existant args
* stress-sigsegv: rework rdtsc assembler to clear up tcc compiler warning
* core-mwc: remove target clones as clang does not support multiversioned clones
* stress-sigsegv: correct the cache flushing, should be on the ptr address
* stress-memthrash: remove pointer constifications
* stress-link: fix missing ; after voidification of do_link
* stress-fsize: use correct hex format specifiers and fix error message
* stress-fsize: don't fail on fsize overflow checks, report these just once
* stress-vm-addr: iterate over wider address range, remove ALIGN_VM macro
* stress-cacheline: replace assignment with load and store assignments
* stress-rawsock: add built time detection for just struct iphdr
* stress-sparsematrix: fix some casting that fails on s390x
* stress-tsc: fix build error on 32 bit x86
* stress-tsc: add verification that TSC is monotonically increasing
* core-job: remove redundant assignment to ptr
* core-job: check buf instead of ptr, cleans up cppcheck false positive
* stress-ng.h: don't forward declare stressor_info_t as it is a C11 feature
* stress-syscall: only declare clocks[] where needed
* core-net: voidify unused args for non-net builds
* stress-*: rename stress_not_implemented to stress_unimplemented
* stress-*: add more explanation about stressors being unimplemented
* stress-syscall: terminate sigsuspend syscall child processes
* stress-list: fix help information
* stress-tree: add metrics
* stress-tree: add more fine-grained checks for RB and SPLAY trees
* stress-l1cache: remove { } around 1 item statement
* stress-hash: add two more hash functions
* stress-syscall: disable mknodat on OS X
* stress-fcntl: disabled F_GETLEASE on OS X, it fails
* stress-race-sched: fix build issues with systems without scheduling
* stress-stream: unroll index 0 level stream operations
* core-perf: add missing tab before comment
* core-job: remove empty line
* core-mwc: use TARGET_CLONES in stress_mwc32
* Manual: update stream stressor with some additional notes
* stress-stream: add read and write rates, correct fp op rate
* Add gcc unroll optimization detection and use it in a few niche places
* stress-madvise: add NOCLOBBER annotation on bool file_mapped
* stress-memthrash: add explanation to the store after a prefetch
* stress-goto: remove label direction for non-random gotos on each bogo loop
* stress-branch: minor re-ordering of seed + label, speed up by ~11%
* stress-dev-shm: add OOMable child wrapper to catch OOMing (LP: #1961076)
* core-perf: add some more kernel related events
* stress-sigsegv: fix incorrect sizeof on cacheflush call
* stress-race-sched: force mix of scheduling activity based on random value
* stress-sigsegv: ensure expected_addr is flushed back before sigsegv
* workflows: turn uppercase chars in repo to lowercase
* stress-numa: use %zu for size_t in pr_* statements
* stress-memthrash: remove debug message on mbind returns
* stress-memthrash: add numa mbind'ing of pages
* stress-numa: size numa bitmask based on max number of numa nodes
* Manual: remove some tabs and white spaces
* stress-utime: remove tab
* stress-race-sched: add yield before exiting child
* stress-race-sched: also try to change scheduler for each process
* stress-race-sched: add synchronized prev/forward methods
* stress-race-sched: add option --race-sched-method for CPU selection
* core-log: remove extraneous getpid call
* stress-tsc: riscv: fix error message, should be rdtime and not rdcycle
* stress-ng: add --log-lockless option to disable log message locking
* core-log: add global shared memory check before dereferencing it
* stress-efivar: disable for ALPHA
* stress-shellsort: rename OPT_shellsort_integers to OPT_shellsort_size
* stress-race-sched: add some renicing for child process
* stress-sparsematrix: remove unused variable j
* stress-race-sched: add stressor to exercise races on cpu affinity
* stress-loadavg.c: force 64 bit multiply to avoid overflow on 32 bit multiply
* stress-procfs: avoid misaligned pci reads on sh4, it causes SIGBUS
* stress-vdso: return -1 for bad time() return rather than cast to int
* stress-syscall: return -1 for bad time() return rather than cast to int
* stress-sysbadaddr: return -1 for bad time() return rather than cast to int
* stress-fsize: add in fallocate offsets to help debugging on failures
* stress-clock/syscall: Forgot to check-in struct shim_timex changes
* clean up build issues on OS/X
* stress-sparsematrix: only declare hash judy struct if judy is supported
* stress-vecwide: add stressor name and a key to debug performance data
* stress-plugin: only report plugging loading failures on instance 0
* stress-ng: ensure geometric mean of misc stats uses non-zero valid data
* stress-hrtimes: make failed interrupt sleep warning a debug message
* Revert "stress-readahead: move modulo max size out of loop"
* test/test-builtin-nontemporal-load: voidify returns
* stress-tsc: reduce scope of variables duration and count
* stress-tee: reduce scope of variable ret
* stress-llc-affinity: make pointer buf_end const
* stress-full: remove duplicated shadowed variable offset
* stress-fault: move average_duration to deeper scope
* stress-cache: move struct mask to deeper scope
* core-net: reduce scope of variable j
* core-shim: add shim'd clock_adjtime, add build time checks for struct timex
* stress-syscall: fix missing ), after syscall_clock_adjtime
* stress-rtc: make select timout smaller, adds more stress, less delays
* stress-sparsematrix: fix mmap memory calculations on 32 bit systems
* stress-*: report times in secs,nanosecs and clean up metric rates
* stress-stack: add { } around if block
* stress-sparsematrix: add mmap size limit
* stress-sparsematrix: make data items 32 bit, double default items to store
* stress-sparsematrix: disable hashjudy for 32 bit systems
* stress-sparsematrix: replace Gets/Puts with gets/puts
* stress-*: report times in secs,nanosecs and clean up metric rates
* stress-syscall: report % of syscalls exercised
* stress-prefect: replace GB/s with GB per sec
* stress-l1cache: report cache line size in bytes
* stress-dirmany: rephrase directory create/remove time
* stress-*: replace seconds with secs, / with per
* core-thrash: use stress_set_proc_state_str to set proc name
* stress-gpu: format GPU source, add open failure errno
* stress-utime: add utime call rate metrics
* stress-usersyscall: add user system call metrics
* stress-userfaultfd: add per pagefault metrics
* stress-uprobe: add trace read rate metrics
* stress-tee: add tee copy rate metrics
* stress-stack: add --stack-pageout option
* stress-sparsematrix: remove max, it was introduced during a debug
* stress-sparsematrix: add a hybrid hash judy implementation
* README.md: add another kernel issue found by stress-ng
* stress-softmath: remove this partially implemented stressor
* core-thrash: print thrashing state
* stress-ng: remove "stress-ng" from stressor name messages
* stress-gpu: add stressor name in pr_inf messages
* stress-ng: calculate metrics using geometric mean rather than average
* stress-sigabrt: add sigabrt signal handler latency metrics
* stress-ramfs: add --ramfs-fill option to enable ramfs filling
* strress-munmap: add page size munmap call duration metrics
* Manual: remove the parameter from eventfd-nonblock option
* stress-loadavg: add a --loadavg-max option to specify upper load average
* stress-ioport: add metrics and write same value to port
* stress-full: exercise random offset pread and fstat on /dev/full
* stress-fp-error: remove empty lines
* stress-*: sort and clean-up help options help
* stress-sock: rename socket_* to sock_* to match stressor name
* stress-sockmany: add --sockmany-port option to specify port to use
* stress-sockabuse: add --sockabuse-port option to specify port to use
* stress-rawsock: add --rawsock-port option to specify port to use
* core-net: add helpers to reserve and release ports
* stress-alarm: remove 3 from comment
* core-cache: return zero for llc cache size for non-linux builds
* icache: add missing #endif and fix another long section name
* icache: make section names smaller and fix build issue for MACH OS X builds
* stress-seek: use inc label only when FALLOC_FL_PUNCH_HOLE is defined
* stress-chroot: voidify metrics arg for non-Linux builds
* stress-bind-mount: move mkdir on path to stressor rather than child
* stress-ng: fix incorrect premature run time duration information
* stress-binderfs: add more clarity to skip test messages
* stress-procfs: check if no proc entries exist after pruning
* core-out-of-memory: fix array out-of-bounds read on index loop
* stress-link: add { } around block.
* stress-link: close temp_dir_fd if it is open, fixes fd leak (#2)
* stress-exit-group: move pthread_count into locked context
* stress-crypt: use safer strlcpy for string copying
* stress-link: close temp_dir_fd if it is open, fixes fd leak
* stress-link: compare temp_dir_fd with >= 0 rather than > 0
* stress-syscall: add clock_gettime error return check
* stress-*: use VOID_RET to replace ret = func(); (void)ret;
* stress-fsize: Add new file size stressor to exercise file limits
* README.md: Add another academic paper citation
* stress-vm-splice: remove tab
* stress-mmap: add simple read-write protection checks on a page
* stress-readahead: move modulo max size out of loop
* stress-quota: remove commented out unused macros
* stress-membarrier: add membarrier call rate metrics
* stress-context: add swapcontext rate metrics
* stress-access: put misc stats into slot 0 and not slot 1
* stress-access: add metrics for access call rate
* README.md: add more stressor information and more OS tests
* stress-vm-splice: add vm-splice metrics
* core-vmstat: constify variable name
* core-try-open: constify sleep_ns
* core-time: constify variable now
* core-smart: add constification to array
* core-shim: add some constifications
* core-perf: add more constifications
* core-log: add constification
* core-ignite-cpu: add constifications
* core-helper: add some constifications
* core-cache: minor code cleanup
* stress-ng: revert killing all stressors on SIGALRM, it breaks --seq option
* stress-ng: enable SIGALRM on parent to enforce all child terminations
* stress-flushcache: add ppc dcbst and icbi flush instructions
* core-icache: factor out icache return funcs into core-icache
* stress-flushcache: cater for different cache sizes for icache
* stress-flushcache: remove clear cache call on D$
* stress-flushcache: add yield points for slower platforms
* stress-lockbus: only declare lockbus_nosplit for x86
* stress-ng: move fanotify info to correct place
* Add new flushcache stressor to hammer icache and dcache flushes
* stress-lockbus: add --lockbus-nosplit to disable split locks
* Manual: minor text change for TLB
* core-thermal-zone.h: rename 2nd arg in stress_tz_dump()
* stress-ng.h: shim_nanosleep_uint64 arg should be named nsec
* core-perf: use && instead of & in expression
* stress-clone: add time warping check for -ve durations
* stress-tsc: add average TSC read duration metrics
* stress-splice: add metrics of splice data transfer rate
* stress-sendfile: add metrics of sendfile data transfer rate to /dev/null
* stress-seek: fix bogo-op increment and add avergae seek duration metrics
* stress-rawudp: add recv data rate metrics
* stress-rawsock: add recfrom data rate metrics
* syscalls: update syscall implementation details
* core-time: try to get time in nanosecond resolution, fallback to millionths if fails
* stress-nanosleep: add average sleep overrun metrics
* stress-fault: add page fault duration metrics
* stress-copy-file: add copy file rate copying rate
* stress-close: add close call rate metrics
* stress-bigheap: add reallocs per second metrics
* stress-fiemap: report that the the ioctl was not supported
* stress-hdd: add this to the filesystem class of stressors
* core-helper: add a few more file system magics
* stess-fanotify: ensure filename2 is unlinked
* core-helper: add ubifs magic to file system table
* stress-sync-file: don't treat EINTR on fallocate as a failure
* README.md: add another academic paper citation
* stress-vecfp: add negation as vector math operation
* stress-ring-pipe: improve resource free'ing on err exit paths
* stress-*: print skipped info messages using pr_inf_skip
* stress-ng: Add OPT_FLAGS_TZ_INFO to indicate we need thermal zone data
* core-helper: use builtin bswap32 to swap uint32 bytes
* stress-ring-pipe: add stressor to copy data around a ring of pipes
* stress-open: pass pid to test functions rather than call getpid()
* stress-pthread: add pthread create -> exec time metric
* stress-kill: add kill() call rate metrics
* stress-chroot: add chroot call rate metrics
* stress-chdir: add chdir rate metrics
* Makefile.config: fix typo on __ppc_get_timebase, was missing 'e' at end
* stress-open: add a few more open test helpers
* core-sort: undef macros once usedin core-sort.h, include header in core-sort.c
* stress-rawpkt: add raw recv data rate in MB metrics
* stress-rawdev: add pread rate metrics for all methods
* stress-randlist: use single bit for randlist allocator type flag
* stress-jpeg: add megapixel compression rate metrics
* stress-icmp-flood: add packet and data rate metrics
* stress-clone: add clone time duration metrics
* stress-ng: sort options
* stress-wcstr: rename to stress-wcs to match stress name
* stress-remap-file-pages: rename to stress-remap to match stress name
* stress-iosync: rename to stress-io to match stress name
* stress-aio-linux: rename to stress-aiol to match stress name
* core-try-open: add more comments
* core-perf: add more comments
* core-net: update function comments
* core-ignite-cpu.c: add missing comments
* core-helper: add missing function comments
* kernel-coverage: fix mkfs.ntfs sector size -s option
* stress-pagemove: add page remap rate metrics
* stress-goto: add millions of gotos per second metrics
* stress-crypt: add SHA-1 and SunMD5 crypt to stressor
* stress-crypt: add per-crypt metrics
* stress-ng: add more digits to misc metrics values
* stress-mmap: report mmap2 not being used just by instance 0
* stress-atomic: add uint8..uint64 atomic op rate metrics
* stress-pipe: rename variable bytes to avoid name shadowing
* stress-zero: add /dev/zero read rate metrics
* stress-udp-flood: add sendto metrics
* stress-pipe: add write rate metrics and set minimum pipe write to 4K
* stress-ping-sock: add ping sendto rate metrics
* stress-dev: remove debug LOCK message
* stress-null: add /dev/null write rate metrics
* stress-getrandom: print out getrandom() bit rate
* stress-bigheap: fix short help, should mention realloc and not calloc
* core-helper: remove duplicated assignment of fs_type
* kernel-coverage: add forceful killing of stressors and umount
* stress-syscall: fix array overrun on --syscall-methods
* core-helper: print temporary file path and file system type in pr_runinfo
* stress-dir: start concurrent dir stressor later and check for open failure
* Manual: remove note about not supporting GPU tests, since it now does
* kernel-coverage: remove ftrace from main I/O tests as it slows throughput
* stress-copy-file: add more yield points
* stress-link: add --link-sync and --symlink-sync options
* stress-fiemap: use O_SYNC where possible, else fall back to fdatasync
* Add FUNDING yaml file
* stress-far-branch: add sparc support
* stress-far-branch: add signal handlers for SIGILL, SIGBUS, SIGSEGV
* stress-far-branch: remove duplicated little endian macro
* stress-far-branch: new stressor to exercise far function calls
* core-sort: add in missing pointer constifications
* stress-llc-affinity: Add a Lower level cache CPU/affinity stressor
* stress_*search: Use core sorting comparison functions
* Factor out sorting comparison functions, add new core-sort helpers
* stress-lsearch: use #define'd shift for size
* stress-tsearch: Fix duplicated random values causing search failures
* stress-syscall: fix incorrect sort comparison
* test-icc-mm_stream_si128: clean up clang warning
-- Colin Ian King <colin.i.king@gmail.com> Fri, 19 Nov 2022 08:31:22 +0100
stress-ng (0.14.06-1) unstable; urgency=medium
* Makefile: bump version
* stress-sigsegv: only used expected_addr if SA_SIGINFO is defined
* stress-*: rename CACHE_LINE* macros to STRESS_CACHE_LINE*
* README.md: update number of stressors and arches supported
* stress-vm-addr: remove redundant initialization of pointer buf
* stress-pagemove: remove redundant assignment to variable page_num
* stress-sync-file: remove redundant redeclaration of offset
* stress-sigsegv: remove redundant (void *) cast
* stress-sigfpe: force division by zero for x86, disable alarm for m68K
* stress-ng: remove duplicated application name in error message
* stress-sigsegv: compare sigsegv address with expected address
* stress-fp-error: fix missing continuation
* stress-fp-error: disable stressor for arc64
* stress-sigfpe: disable this stressor for arc64 as feraiseexcept is
not implemented
* core-arch: add ARC64 arch support macro STRESS_ARCH_ARC64
* stress-regs: fix compilation error with gcc-8 on armel and ppc
* Makefile.config: sort libraries
* Add libmd dependency for static builds
* stress-plug: disable for static builds as it requires dlopen
* stress-vm-addr: remove align attribute from register pointers
* stress-pagemove: add a stressor to exercise page moving using remap
fixed move ops
* stress-memthrash: add a new swapfwdrev 64 bit mempory swapping method
* stress-vm-addr: add address bit flip vm-addr method
* stress-vm-addr: add a bitposn bit flipping powers of 2 address space
striding method
* stress-sigsegv: perform illegal vdso calls that can cause SEGVs
* stress-sigsegv: generate SIGSEGV on illegal port read access
* stress-sigsegv: generate SIGSEGV via TSC when TSC access is disabled
* stress-vm: remove tabs in empty line
* stress-tlb-shootdown: optimize for higher TLB read/write misses
* stress-memthrash: add a translation lookaside buffer thrashing method
* stress-vm: determine cache line size from cache info or default to 64
bytes
* stress-vm-addr: add a bunch of optimizations to improve throughput
* stress-zlib: minor register optimizations
* stress-x86syscall: add register hint to loop counters
* stress-wcstr: constify wide string function pointers
* stress-wait: add missing line
* stress-vm-segv: add missing space before {
* stress-vm: add some constifications and add some parentheses
* stress-verity: factor out variable rnd
* stress-vecmath: add missing empty line
* stress-vecfp: clean up some line white spacing
* stress-vdso: make pointer sym const, add extra parenthesis on time
expression
* stress-tsearch: make pointers const
* stress-tree: make variable median const
* stress-timerfd: make variable r const
* stress-itimer: make variables r and ret const
* stress-sysfs: constify some variables
* stress-sync-file: make variable offset const
* stress-stream: constify some variables
* stress-str: constify function pointers
* stress-splice: Make variabls pipe_size and n const
* stress-sparsematrix: constify some misc. variables
* stress-skiplist: make variable v const
* stress-shellsort: make variable temp const
* stress-secretmem: make variable offset const
* stress-rmap: make variable offset const
* stress-rawdev: make variable offset const
* stress-randlist: fix comment the describes the stressor
* stress-procfs: make variable sz const
* stress-pipeherd: make variable dt const
* stress-personality: make variable p const
* stress-opcode: constify a couple of variables
* stress-msyncmany: make variable pattern const
* stress-mlock: constify variable rnd
* stress-loadavg: make variable t_end const
* stress-ipsec-mb: constify some variables and minor code cleanup
* stress-inotify: add parentheses to clarify logic
* stress-hrtimes: make ns_adjust const
* stress-file-ioctl: constify variables rnd and offset
* stress-epoll: constify variable port
* stress-enosys: reduce scope of pointer h
* stress-dir: constify gray_code variable
* stress-dentry: constify some variables
* stress-cyclic: make some variables const
* stress-cpu-online: make cpu const
* stress-chroot: make dev static
* stress-chdir: add some constifications
* stress-cpu: constify some constant values
* core-helper: implement stress_fs_type for OpenBSD
* core-helper: implement stress_fs_type for FreeBSD
* core-helper: fix cut-n-paste error in comment
* core-helper: implement stress_get_meminfo for NetBSD
* core-helper: remove debug info
* core-helper: partially implement stress_get_meminfo for FreeBSD
* core-smart: remove unnecessary empty smart helper functions for
non-SMART builds
* core-helper: move netbsd/freebsd sysctl helpers from core-vmstat.c
* stress-bad-altstack: for munmap symbol to be fixed up before it is
required
* core-helper: add static helper stress_get_meminfo to get memory info
* core-helper: extend stress_get_memlimits to return totalswap
information
* README.md: add another citation
* Makefile: add -fma and -qoverride-limits icc optimization flags
* Makefile: icc: enable various cpu specific optimizations
* core-nt-store: restore HAVE_NT_STORE_DOUBLE
* core-nt-store: add ICC compiler support for non-temporal stores
* stress-hash: fix comment, add missing "
* stress-sock: only close sfd if it was open
* stress-sock: remove debug, checked in the wrong version with debug
* stress-sock: simplify the ctrls fetching and free'ing
* stress-bad-altstack: ensure ret is initialized
* stress-chdir: clean up pedantic static analysis warning on chdir of
null string
* Manual. Update --pathological option documentation, add stressor
names
* stress-wcstr: voidify len2 and strdstlen unused function arguments
-- Colin Ian King <colin.i.king@gmail.com> Tue, 27 Sep 2022 17:22:23 +0100
stress-ng (0.14.05-1) unstable; urgency=medium
* Makefile: bump version
* Debian/control: remove gold linker from build depends (Closes: #1019727)
-- Colin Ian King <colin.i.king@gmail.com> Wed, 14 Sep 2022 11:59:59 +0100
stress-ng (0.14.04-1) unstable; urgency=medium
[Alexandru Ardelean]
* stress-sysinval: fix fstat/fstat64 compat check
[Bryan W. Lewis]
* stress-ng.h: harmonize header definition of stress_misc_stats_set
[Camille Constans]
* Fix buffer overflow if tty return width is zero
[Fabrice Fontaine]
* Makefile: fix build with kernel < 5.6
[Francis Laniel]
* stress-regs: ppc64le: Fix compilation error for REGS_CHECK macro.
[John Kacur]
* stress-ng: stress-mmapmany: Remove deadcode
* stress-ng: stress-dev: Fix test of open
* stress-ng: stress-dev: Remove useless call to stress_dev_infos_opened
* stress-ng: sparsematrix: Fix null check
[Colin Ian King]
* Makefile: bump version and code name
* fast-test-all: add --vmstat 1 to show activity
* Manual: update contributors
* stress-procfs: workaround SIGSEGV/SIGBUS SH4 issues on 5.x
* stress-sctp: remove unused variable msgs
* stress-syscall: clean up a few more cppcheck style warnings
* stress-syscall: fix always -ve return, return ret instead
* stress-vecshuf: remove two redundant shuffles
* stress-syscall: reduce scope of some variables
* stress-sparematrix: compare i before using it as an index into array
* stress-set: remove redundant assignments to variable ret
* stress-atomic: voidify tmp to clean up cppcheck style warning
* core-log: remove redundant continue statement at end of loop
* core-helper: fix potential array overflow
* stress-syscall: optimize shell sort comparison helper function
* stress-syscall: re-order linux includes
* stress-syscall: fix prctl calls for PR_GET_THP_DISABLE and
PR_GET_TIMERSLACK
* stress-syscall: check for KEYCTL_INVALIDATE being defined
* stress-msync: fix data mapping, should be anonymous and not mapped
to file
* core-klog: scan for exceptions on the buffer buf, not on msg string
* core-klog: disable code for non-linux builds
* core-klog: add exceptions to ingore specific error messages
* core-cache.h: disable ppc64 msync assembler
* core-target-clones: Disable vector avx optimizations on older
versions of gcc
* stress-ng.h: check for failed lock acquire in inc_counter_lock
* stress-yield: ensure residual is a signed integer for yielder
computation
* stress-syscall: add timeout check because alarm timer may be clobbered
* stress-syscall: add yield points in wait spin loops
* stress-aio-linux: remove fill of unused bufptr
* core-log: remove inner scoped duplicated variable orig
* stress-copy-file: handle cases where copy_file_range returns short
copy lengths
* stress-shm-sysv: don't exercise unaligned shmat with SHM_RND on
FreeBSD
* stress-syscall: fix accept4 HAVE_SYSCALL_ACCESS4 macro guard
* stress-access: make stress_access_reap pid parameter a pid_t type
* core-vmstat: FreeBSD should be reading vm.vmtotal and not vm.vmmeter
* core-vmstat: remove NetBSD build for stress_get_cpu_ghz_average
* core-vmstat: add NetBSD vmstat implementation
* core-vmstat: add cpu user/sys/idle stats for FreeBSD
* core-shim: use syscall for arch_prctl in preference to libc variant
* stress-ng.h: add void in pr_lock_init prototype
* stress-shm-sysv: move exercise_shmat to end of each test round
* stress-syscall: fix pid == 0 child return from clone3
* stress-syscall: add clone3, rename sys_clone3 to shim_clone3
* stress-syscall: add rseq system call
* stress-syscall: add execve system call and silence stdout/stderr
* stress-syscall: add execve system call
* stress-iosync: add missing : in pr_fail message
* core-log: use pid as lock value, allows checking if spinlock owner
is dead
* stress-syscall: fix resource leaks
* stress-mincore: don't exercise with huge range
* Add lock_acquire failure checks in case of lockups
* core-lock: add abort path on spinlock acquire
* stress-syscall: add a few more system calls
* stress-mincore: make vec a static to avoid any stack clobbering
* stress-sigq: improve the keep stressing checks for better yielding
* core-log: bail out if it takes more than 2 seconds to acquire spinlock
* stress-sem-sysv: use unsigned int cast for semop size for DragonFlyBSD
* stress-cyclic: add --cyclic-samples option to specify number of
measurements to make
* stress-kcmp: move declaration of mypid to clean up musl-gcc build
warning
* core-numa: add check for HAVE_LINUX_MEMPOLICY_H
* stress-*: cast int32_t to uint64_t to match type of stress_check_range
* stress-*: cast uint32_t to uint64_t to match type of
stress_check_range
* core-log: remove deprecated functions, make pr_lock_acquire static
* stress-mincore: make function stress_mincore_expect static
* stress-syscall: fix build failure on OpenWRT, rename stress_pidfd_open
* README.md: move citation to correct place
* stress-dentry: use shim_unlink rather than unlink
* stress-syscall: clean up pcc warning about shadowed variable ret
* stress-syscall: allocate linux dirents on heap rather than use stack
* stress-syscall: use shim_rlimit_resource_t for rlimit id rather than
int
* stress-cpu: update normalized bogo-ops stats for callfunc
* stress-cpu: force callfunc stressor method to perform deep nested
calls on modified args
* stress-dir: add some concurrent directory reading
* stress-dentry: unlink non-existant files for more dentry look
up failures
* stress-access: add two concurrent file chmod+access child processes
* stress-iosync: inform users that iomix is a better stressor for I/O
testing
* stress-ng: Fix bogo ops/sec (usr+sys time) stats when using getrusage
* stress-syscall: make quotactl a Linux only system call test
* stress-syscall: Fix OS X build failure, define xattr and lattr names
correctly
* Manual: Fix typo in syscall geomean2 entry
* stress-syscall: remove symlinkat autodetection FIXME comment
* Makefile.config: Add symlinkat build time detection
* stress-syscall: remove FIX me comment on fstatat
* stress-syscall: add lock/unlock around top 10 output
* stress-numa: use %lu format specifier for unsigned long
* stress-syscall: fix typo in fd name, fix build error
* Makefile.config: Add build time check for fstatat
* Makefile.config: Add test for sched_setaffinity, deprecate AFFINITY
check
* stress-exec: cast return from mmap to stress_pid_hash_t *
* stress-malloc: disable aligned_malloc for OpenBSD
* README: fix missing space
* stress-enosys: remove SYS_sched_rr_stress_get_interval
* core-log: add missing pr_lock_exited for non-locking variants
* core-pragma: GCC pragmas for pop/push were added in 4.6.0, fix
version
* stress-syscall: Add new stressor to hammer a range of system calls
* stress-mincore: add more mincore error checking
* stress-io-uring: chek returned err rather than errno
* stress-ng: only fetch backoff and ionice settings once
* stress-ng: break stressor waiting code into smaller functions
* stress-*: don't call pr_* with mutexes locked
* core-log: improve locked logging primitives
* stress-vecshuf: make stress_vecshuf_check_data static
* core-helper: ensure hostname is free'd
* stress-shm-sysv: free buffer on error return path
* stress-zlib: cast DATA_SIZE to int to match assigned variable
* stress-hash: use calloc for zero'd memory allocations
* stress-hash: pre-allocate hash buffer, don't use stack based variable
length array
* stress-zlib: clean up some implict type casting issues
* stress-cpu: add missing build time detection for complex sin/cos
* stress-rawpkt: align buffer to 32 bit boundary for more efficiency
* stress-opcode: using uint32_t type for opcode data
* stress-sync-file: clean up implicit cast warnings on shim_off64_t
and uint64_t
* stress-readahead: add some explicit type casting for off_t, ssize_t
type conversions
* stress-mmapmany: make mappings a uint64_t pointer to avoid uint8_t
to uint64_t conversions
* stress-stack: make data a uint32 array to avoid type casting warnings
* stress-sockdiag: families can be uint8_t instead of int, cleans up
implicit cast warning
* stress-sctp: cast sctp_sched to uint32_t
* stress-lockbus: clean up overly pedandtic clang type cast warnings
* stress-netlink-task: fix nlmsg_pid and nla_len types
* stress-netlink-task: cmd should be uint8_t and not uint16_t
* stress-af-alf: cast CMSG_DATA to uintptr_t to clean up pedantic
warnings
* stress-skiplist: use DEFAULT_SKIPLIST_SIZE for default skiplist size
* stress-sem-op: cast -1 to size_t
* stress-badaltstack: replace variable length array with fixed length
array
* stress-skiplist: replace variable length array on stack with heap
allocated array
* stress-ng/core-helper: add munging _ - strcmp, simplify stressor name
finding
* stress-ng: replace variable length array arglen with heap allocated
array
* stress-stack: replace variable length array with fixed length array
* stress-shm-sysv: replace variable length array on stack with heap
allocated array
* stress-schedpolicy: replace variable length array on stack with heap
allocated array
* stress-numa: replace variable length array on stack with heap
allocated array
* stress-cyclic: replace variable length array on stack with heap
allocated array
* core-vmstat: replace variable length array on stack with heap
allocated array
* core-helper: replace variable length array on stack will heap
allocated array
* stress-sysfs: cast args->instance + 1 to uint64_t before
multiplication
* stress-udp: fix fd leak if stress_set_sockaddr_if fails
* stress-sysfs: clean up static analysis overflow warning, make 50 a 50U
* stress-dev: unlock spinlock on parport if ioctl fails
* stress-copy-file: fix bytes_in/bytes_out check for preads
* stress-futex: fix check for error or ENOSYS on futex_waitv
* stress-sigfd: use correct size on mask
* stress-sparsematrix: fix false positive warning on sparsematrix
method overrun
* stress-io-uring: fix incorrect index variable used in setting
supported[]
* core-perf: no need to report error return on failed locks, it's
always -EINVAL
* stress-sparsematrics: fix potential overflow on multiplication of
sparsematrix_size
* stress-procfs: set pollfd for ppoll call
* stress-*: voidify ignored return from stress_get_setting call
* stress-chmod: free mode_perms on error return path
* stress-dccp: fix fd leak if stress_set_sockaddr_if fails
* stress-udp: fix fd leak if stress_set_sockaddr_if fails
* stress-exec: close fd if write fails, fixed fd leak
* stress-fallocate: free mode_perms on error return paths
* stress-sctp: fix fd leak if stress_set_sockaddr_if fails
* stress-chattr: free flag_perms if mkdir fails
* stress-sock: fix fd leak if stress_set_sockaddr_if fails
* stress-swap: add check for mincore failure
* stress-mcontend: fix double close on fd
* stress-chmod: add zero check on mode_count to avoid % by zero warning
* stress-bad-ioctl: fix calloc allocation failure, add a null check
* stress-gpu: check for calloc failure on configs
* stress-msync: use page_size for data size rather than sizeof(data)
* stress-resources: remove tab in empty line
* stress-mmapfork: voidify return from mmap, ignore it
* Manual: clean up zlib options, add table formatting
* stress-ng: disble warnings for vfork references
* stress-exec: add vfork build time check, make stressor generic
* stress-exec: add HAVE_CLONE checks to ensure clone is available
* core-helper: deconstify getexecname pointer with strlcpy
* core-helper: add stress_proc_self_exe to get path of executable
* stress-getrandom: exerise libc getentropy() for more exercising
* stress-mmapfixed: remove shim_msync ENOMEM check
* stress-bad-altstack: add SIGILL handling and add #if defined checks
* stress-ng: ensure checksum padding is zero and run_ok is set
* stress-set: use shim_getdomainname
* core-shim: add shim for setgroups to workaround size_t/int size arg
* stress-ng.h: ensure futexes are aligned to 4 byte alignment
* stress-str: voidify unused args for strcpy and strcat tests
* stress-set: use INT_MIN for -ve setgroups size for EINVAL test
* core-shim: fix 2nd arg to get/setdomainname enosys calls
* stress-madvise: write out page sized data per write not pointer sized
writes
* stress-vecshuf: add missing __int128_t type check
* stress-mmap: remove #if defined checks from retry label
* stress-file-ioctl: move #endif to correct place
* stress-exec: move linux #ifdef'd #endif to fix non-Linux build issues
* core-helper: voidify unused paramater on stress_low_memory
* stress-vecshuf: vector shuffling and permute stressor
* Manual: add missing --oom-avoid option
* stress-rdrand: scale rdrand rates to millions from billions
* core-vmstat: fix swap and cache stats, now matches vmstat output
* Add --oom-avoid option to try and avoid low-memory OOM killing
* README.md: Add another resarch paper link
* stress-madvise: Add MADV_COLLAPSE introduced in Linux 6.0
* README.md: Add another white paper URL
* stress-sigrt: allocate pids array on heap rather than use stack
* stress-sysinval: use macro for array size of stress_syscall_args
* stress-switch: allocate pipe read/write buffer on heap
* stress-fds: allocate file descriptors on heap before forking child
* stress-sigpipe: replace variable length array with mmap'd memory
* stress-seal: replace variable length array with mmap'd memory
* stress-ping-sock: make ping packet sized a fixed size
* stress-madvise: replace variable length arrays with allocated
heap/mmap'd memory
* stress-tmpfs: replace two variable length arrays with heap
allocated struct
* stress-ipsec-mb: add --ipsec-mb-jobs option, default to 256
* stress-ipsec-mb: attempt to use various aligned memory allocators
* stress-ipsec-mb: replace viarable length arrays with heap allocated
arrays
* stress-sigsuspend: remove unused macro CACHE_STRIDE_SHIFT
* stress-signest: cast size to intptr_t to clean up clang warning
* stress-plugin: clean up some clang pedantic implicit type cast
warnings
* stress-cacheline: clean up some implicit casting warnings
* stress-close: close a newly dup'd fd of stdout
* stress-open: use dup to open a new file descriptor
* stress-vecfp: initialize and store results using same type as vectors
* stress-usersyscall: cast syscall return to long
* stress-misaligned: make uint8_t * buffer ptr a uintptr_t to relax
pedantic -Wcast-align warnings
* stress-memthrash: put thread information in a heap allocated struct
array
* stress-memthrash: perform pointer arithmetic on uintptr_t value
* stress-malloc: use size_t for malloc size and use MAX_MALLOC_BYTES
macro
* stress-apparmor: make array pids a fixed sized array
* stress-vm-splice: mmap data array rather than use variable length
array on stack
* stress-enosys: allow int $80 to be called on clang builds
* stress-dirmany: cast ptr diff to size_t to clear up pedantic clang
warning
* stress-dev: mmap buffer rather than using variable length page sized
buffer on stack
* stress-idct: make idct arrays fixed size of 8 x 8
* stress-inode-flags: use correct size_t for variable inode_flag_count
* stress-icmp-flood: make array pkt a fixed sized
* stress-dynlib: replace variable length array with fixed size
* stress-set: don't use variable length arrays on the stack for
hostname and longname
* stress-set: cast size argument to size_t for setgroups call
* stress-revio: remove unused macro REVIO_OPT_O_MASK
* stress-resourced: don't mix declarations and code
* stress-open: make open_count a size_t to clean up type conversion
warning
* stress-matrix: use DEFAULT_MATRIX_SIZE as the default matrix size
* stress-matrix-3d: use DEFAULT_MATRIX3D_SIZE as default matrix size
* stress-clock: make timer_fail and timer_id fixed sized arrays
* core-arch: introduce STRESS_ARCH_X86_64 and STRESS_ARCH_X86_32 macros
* stress-reboot: add NORETURN annotation and cast reboot params to int
* stress-nop: add NORETURN annotation on stress_sigill_nop_handler
* stress-vm: use stress-mwc32() for 32 bit random values, not the 64
bit version
* stress-personality: replace variable length array with heap allocated
memory
* stress-msyncmany: mappings should be a uint64_t double ptr type
* stress-randlist: remove unused macro
* stress-quota: remove unused macros DO_*
* stress-memrate: remove cast of variable i, not required
* stress-pci: make variable length array a constant size of 4K
* stress-mcontend: remove redundant array buffer
* stress-str: replace variable sized arrays with pre-allocated buffer.
Clean up type casting on funcs
* stress-wcstr: replace variable sized arrays with pre-allocated buffer.
Clean up type casting on funcs
* stress-copy-file: add data filling and reduce copy-file chunks to
128 KB
* stress-copy-file: replace seek/read with pread where possible
* Makefile.config: add pread and pwrite build-time detection
* stress-copy-file: replace variable length arrays with fixed sized
buffers
* stress-msync: replace a variable length array with mmap'd 1 page buffer
* stress-mmap: cast return from syscall to uintptr_t before void * cast
* stress-getdent: use getdent types for ptr and buf, fix inverted .
filename check
* stress-tlb-shootdown: use mmap'd buffer instead of variable length
array
* stress-get: use correct voidification type for syscall
* stress-funccall: use inlined helpers for complex types, remove type
conversion on put
* stress-file-ioctl: make dedup buffer a fixed size
* stress-file-ioctl: add explicit cast to struct field assignments
* stress-sigio: declare variables first before executable statements
* stress-af-alg: use size_t for sizes as these are used in array
indexing and allocations
* core-job: remove use of variable length array
* stress-udp-flood: make udp buffer fixed size to remove need for
variable length array
* stress-userfaultfd: use MAX_USERFAULT_BYTES as the maximum limit for
the size
* core-shim: use #defined buffer size rather than const int
* stress-ng: fix rusage and CPU consumed metrics
* stress-ng: use double precision for u_time and s_time stats
* stress-matrix-3d: move voidification after variable declarations
* stress-memthrash: move voidifications after variable declarations
* stress-mmapmany: declare max so not to assign max before other
declarations
* stress-prctl: declare page_anon before calling stress_set_proc_state
* stress-resources: put sem code in local block
* stress-sigpipe: assign s_args after buf is declared
* stress-switch: declare prio before calling inc_counter
* stress-udp: move ret declaration before statements
* stress-urandom: assign ret after all the variables are declared
* stress-loadavg: assign buf after all variables are declared
* stress-inotify: move voidification to avoid mixing declaration
and code
* stress-file-ioctl: move declarations to avoid mixing declarations
and code
* stress-dnotify: move voidification after declarations
* stress-crypt: move statement salt[1] = id to after delcarations
* stress-close: move statement fd = -1 to after delcarations
* stress-bad-altstack: move statement after delcarations
* stress-mcontend: move statement after delcarations
* stress-matrix-3d: move voidifications after declarations for strict
C99 compliance
* stress-matrix: move voidifications after declarations for strict C99
compliance
* stress-cacheline: remove extraneous ;
* stress-ng.c: Clean up some type casting and remove some extraneous ;
* core-helper: move SUID_DUMP_* macros to where they are required
* kernel-coverage.sh: add more exec stressor options
* stress-exec: update --exec-max documentation
* stress-sock: Fix memory leak on ctrls
* stress-icache: need to keep PROT_EXEC when modifying the page
* stress-vecfp: align vectors to 2048 byte boundary
* stress-exec: add spawn fork method to use posix_spawn
* stress-zlib: remove redundant final shift of v, it is not used
* core-numa: Free nodemask, fix memory leak
* core-cache: add shim_mfence implementations for ppc64 and sparc
* README.md: add make clean to musl-gcc make example
* core-shim: handle syscall to nice failing and retry with libc nice
* core-klog: voidify return from snprintf
* core-helper: constify stress_size_info_t fields
* core-cache: use coding style for if/else code blocks
* Makefile: should be removing core-perf-event.h not perf-event.h
* debian/tests: add --metrics to fast-test-all
* Makefile.config: fix typo: atomic_sto -> atomic_store_double
* Makefile.config: fix typo: atomic_loa -> atomic_load_double
* Manual: update contributors list
* Manual: remove trailing whitespace
* stress-exec: add parenthesis around expression to keep to stress-ng
coding style
* Manual: minor re-ordering of exec options, remove duplicated
exec-method option
* stress-exec: add an option to not call pthread
* stress-vecfp: add vector floating point stressor --vecfp
* stress-memthrash: remove HOT annotation from functions with
TARGET_CLONES
* Makefile: use ld-gold if it is available
* stress-ng.h: Add parenthesis around constants
* core-helper: move PAGE_4K* macros to core-helper.c
* core-helper: move exit_status to core-helper, rename to
stress_exit_status
* stress-ng.h: remove stress_pstressor_info_t typedef
* stress-ng.h: remove __sun__ externs, use shim wrappers for
{get|set}domainname
* stress-ng: replace switch statement with mapping table on exit
status lookup
* stress-ng: constify the pointer description
* stress-cacheline: move val8 to inner loop scope
* stress-cache: move variable declaration to inner scope
* stress-ng: don't emit metrics on tests that don't have any
* stress-ng.c: Add maximum RSS stats to --metrics output
* stress-cpu: fix spelling mistake "const" -> "constant"
* core-stressors.h: move STRESSOR macro and stressor names into
core-stressors.h
* stress-exec: re-work per-process context and stack allocation, add vfork
* stress-exec: add fork method option to select the fork call to use
* stress-vm: crank up optimization on read64 and write64 methods
* stress-memthrash: rename swap32 to swap64 as it's swapping 64 byte hunks
* stress-memthrash: add 128 byte chunk copying using 128 bit read/writes
* stress-memthrash: add memory chunk swapping swap32 method
* stress-ng.c: move stress_class_info_t from stress-ng.h
* core-syslog.h: move syslog shims to new header, remove from stress-ng.h
* core-cache.h: move cache specific structs and helper definitions to
core-cache.h
* core-pthread.h: move stress_pthread_args_t from stress-ng.h to
core-pthread.h
* core-pthread.h: move pthread shims from stress-ng.h to core-pthread.h
* stress-bad-ioctl: use abstracted stress-ng locking
* core-hash.h: move hash typedefs from stress-ng.h to core-hash.h
* core-vmstat: move vmstat and iostat structs from stress-ng.h to
core-vmstat.c
* stress-ng.h: correct verification flag meaning in comment
* stress-dev: move shim'd termios struct from stress-ng.h to stress-dev.c
* stress-vm: move PRIME_64 from stress-ng.h to stress-vm
* stress-ng.h: remove ppid field from per-stressor args struct
* core-setting: add stress_set_setting_true helper to set bool settings
to true
* stress-malloc: add --malloc-zerofree option to zero memory before
free'ing
* stress-regs: bump gcc version to 8.0, on 7.5.x it runs out of spill
space
* stress-regs: bump gcc version to 6.0, on 5.x it runs out of spill
space
* stress-regs: only declare stash vars for required builds
* stress-regs: rename cpu_regs to x86_cpu_regs and declare it only when
required
* stress-zombie: cater for systems that don't have getpgid
* stress-regs: i386: don't check on v << 1, check ecx on v instead
* stress-regs: add xmm8..xmm15 for SSE enabled CPUs
* stress-regs: move mmx register code into helper function
* stress-regs: add x86 mmx register exercising
* stress-regs: Don't clobber frame pointer on ARM32
* stress-epoll: make minimum events zero rather than -ve
* core-helper: remove include of sys/mount.h
* core-shim: remove include of sys/mount.h
* core-shim: add include of sys/pidfd.h if it exists
* stress-reg: add yield point to bail out early of register checks fail
* stress-regs: add register value sanity checks
* stress-regs: add i386 verification, move stash to stash32 and stash64
* stress-regs: add verification, x86-64 and generic cases
* stress-regs: fix stressor help information, was cut-n-pasted
* stress-regs: cast v to 32 bit value before use for MIPS324R2
* stress-regs: add ARM (32 bit) implementation
* stress-regs: add ARM64 (aarch64) implementation
* stress-regs: add MIPS32R2 implementation
* stress-udp: fix build failure when UDP_GRO is not defined
* stress-regs: sh4: include all the registers for final sum
* stress-regs: add 32 bit register sh4 implementation
* stress-regs: ensure i386 is using 32 bit registers
* stress-regs: ensure m68000 is using 32 bit registers
* stress-regs: add hppa PA RISC implementation
* stress-regs: add MIPS64R2 implementation
* stress-regs: add sparc implementation
* stress-regs: add ppc64 implementation
* stress-regs: add alpha implementation
* stress-regs: add RISC-V implementation
* stress-regs: add m68000 implementation
* stress-regs: add i386 implementation of regs shuffling
* stress-regs: remove trailing \ in macro to fix build error
* stress-regs: add register exercising stressor (gcc only)
* stress-exec: force large environment E2BIG exercising
* stress-*: Enable target clones for clang-14
* stress-vm: fix ptr128 increment error, should stide by +4 rather
than +1
* stress-vm: make wrrd64 into a 128 bit variant, rename method
* stress-exec: add execve method option to select the execve call to use
* stress-icache: break out common code into helper functions
* stress-vm: rename nt-write to wrrd64nt and try to use non-temporal
reads
* core-nt-load: load arg should be addr, fix it.
* stress-malloc: declare variable n at the correct place
* Add clang non-temporal load shims
* stress-vm: add non-temporal memory hammering method nt-write
* stress-vm: add in a missing mb between writes
* stress-malloc: add posix_memalign, aligned_alloc, memalign allocators
* stress-userfaultfd: check if posix_memalign is available
* stress-ng: remove g_pgrp, replace with main_pid
* stress-*, core-*: remove use of setpgid, it doesn't do anything useful
* stress-udp-flood: add error checking on stress_set_sockaddr_if call
* stress-udp: break client/server code into helper functions
* core-net: update stress_set_sockaddr_if to return error and use
stressor pid
* stress-vm: remove unused variables
* stress-hdd: fix missing baddata check to see if data is correct
* stress-ng: remove unused variable cpu
* core-smart: remove unused variable n
* stress-ng: move pid field into stats struct, removes need for pids
array
* stress-udp: use unique port for each instance
* stress-sctp: use unique port for each instance
* stress-rawpkt: use unique port for each instance
* stress-dccp: use unique port for each instance
* stress-sock: use unique port for each instance
* stress-sock: ignore ECONNRESET as reportable failure on sends
* stress-sock: add SO_RESERVE_MEM socket option
* stress-fanotify: Add Linux 5.18 FAN_REPORT_TARGET_FID flag
* stress-prctl: exercise PR_SET_VMA
* stress-fanotify: add Linux 5.17 FAN_RENAME flag
* stress-close: handle failed close_range correctly, add open on fd 0
* stress-open: open /proc/self/fd/0 on linux systems
* stress-open: optimize open flags and fix close_range close error check
* Avoid redefining _FORTIFY_SOURCE
* stress-plugin: remove DONE debug message
* stress-plugin: add --plugin stressor to allow user code stressing via
shared libs
* stress-open: add a --open-max N maximum limit of open files
* stress-quota: Fix wrong arguments order in shim_quotactl_fd()
-- Colin Ian King <colin.i.king@gmail.com> Tue, 13 Sep 2022 22:22:22 +0100
stress-ng (0.14.03-1) unstable; urgency=medium
[Colin Ian King]
* Makefile: bump version and update code name
* stress-sctp: voidify sctp_sched param for systems that don't use it
* stress-rtc: declare timeout if select is supported
* stress-rtc: declare rfds if select is supported
* core-shim: handle punch hole fallocate ops on unsupported systems as
a no-op
* stress-cacheline: only declare affinity changing helper if affinity
is available
* stress-pipeherd: add O_DIRECT build time detection
* Fix build failure on systems w/o O_DIRECT defined
* stress-zlib: disable TARGET CLONES for bcd, it segfaults gcc 8.3.0
x86-64
* stress-smi: enable SMI register clobbering for x86-64 only
* stress-tun: cast to correct type on bind call
* README.md: Add another citation
* stress-ng: remove extraneous fflush call
* stress-dev: initialize try_failed to clear up stupid cppcheck warning
* stress-close: only declare fd_rnd if is is required
* core-helper: move scope of variable i to inner scope
* stress-vm: alias array of uint64_t vars with vector, clean up cppcheck
warning
* core-numa: sscanf for unsigned int, use correct type for val
* stress-pipeherd: enable packet mode on pipe for more context switching
* kernel-coverage: add a few more mount options for more kernel test
coverage
* README.md: rename libgcrypt11-dev to libgcrypt-dev
* stress-io-uring: report ENOMEM failure on io-uring setup
* stress-cache: clear up cppcheck style warning
* kernel-coverage.sh: Fix truncated xfs invocation
* stress-apparmor: remove unused variable ret
* stress-*: introduce inc_counter_locked; locked counter read and
optional increment
* stress-ng.h: Add missing space in VOID_RET macro
* stress-epoll: ignore SIGPIPE signals
* stress-epoll: remove get/set counter calls
* stress-epoll: add child alarm handler to exit child immediately
* stress-epoll: send SIGALRM to inform processes to terminate
* stress-epoll: add --epoll-sockets N option to set maximum number of
open sockets
* stress-epoll: limit number of open socket fds to 4096
* stress-oom-pipe: allocate page sized buffers with mmap and fds with
calloc
* stress-oom-pipe: fix out of bounds access on buffer on write
* Manual: use x symbol rather than x for multiply, fix typos
* Manual: use up-arrow symbol instead of ^
* stress-ng.h: Add stress_set_mbind prototype
* Add NUMA --mbind option
* stress-memcpy: declare builtin wrappers if builtin functions are
available
* stress-gpu: add --gpu-devnode DEVNAME option to specify device node
* README.md: clarify stress-ng name, add sh4 and Serenity OS to notes
* stress-rmap: remove shared counters, optimize memory filling
* stress-sigsuspend: use lock protected counter rather than per-child
counters
* stress-iomix: use lock protected counter rather than per-child
counters
* stress-memcpy: add methods naive_o1, naive_o2 for -O1, -O2
optimization levels
* stress-apparmor: return EXIT_SUCCESS on successful completion
* stress-dirdeep: handle cases where number of free inodes is reported
as zero
* stress-apparmor: keep retrying with corrupted apparmor data
* stress-apparmor: removed shared memory for counters, use lock
protected counter
* kernel-coverage: add overlayfs
* kernel-coverage: add exfat
* kernel-coverage: add cacheline + affinity changing
* stress-cacheline: add cacheline-affinity option
* stress-mcontend: cache align buffer for minor performance improvement
* stress-zero: exercise FIONBIO on /dev/zero
* stress-dirmany: autoexpand filename to maximum allowed length
* stress-handle: break allocatiom/open assign and check into multiple
statements
* stress-zlib: make some vars registers and clean up some white spaces
* kernel-coverage: fix typo with stream index option, should be 3 and
not 3A
* stress-io-uring: fix build failures
* stress-io-uring: add an xattr opcode for more test coverage
* stress-kvm: handle EINTR more gracefully on ioctl calls
* TODO: remove cacheline todo item
* stress-io-uring: fix stressor: make ring 256 elements, memset output
and using O_DSYNC
* stress-chattr: sync chattr metadata to disk
* stress-cacheline: clean up some cppcheck style warnings
* stress-inode-flags: add fsync on file to force inode metadata updates
* stress-open: add periodic syncs to force metadata to disk
* stress-dirmany: force sync of metadata to disk for more I/O activity
* stress-chmod: add sync call to ensure meta data is flushed to disk
* stress-link: force sync to ensure metadat is written
* stress-dirdeep: add sync to force metadata writes
* stress-dentry: add sync call to ensure meta data is flushed to disk
* kernel-coverage: add sync'ing on utime stressor
* stress-chown: sync fd metadata to force more inode updates
* stress-resched: clean up warnings for systems that don't support
sched_setsceduler
* Add build time detection for the syscall interface
* stress-sysbadaddr: add itimer itimerval built time detection
* stress-fanotify: add select build time detection
* stress-resched: add detection of sched_setscheduler
* Add select build time detection
* test/test-pselect: disable pselect false positive for Serenity OS
* stress-cpu/zlib: add drand, lrand and srand build time checks
* stress-cacheline: set default cacheline size correctly
* stress-*search: add build time check for searching functions
* Add build-time check for key_t type for system V semaphores
* stress-sysbadaddr: add get/setitimer build timer detection
* stress-itimer: add get/setitimer build time detection
* stress-dev: define O_DELAY as 0 if it is not defined
* stress-iomix: cater for systems that don't support O_SYNC open flags
* stress-sigsegv: don't check SEGV_ACCERR if it is not defined
* stress-ng.h: undef ALWAYS_INLINE before redefining it
* core-sched: stress-schedpolicy: add Serenity OS workarounds
* kernel-coverage: taskset to CPU 0, run many instances on it
* kernel-coverage: add iostat to get I/O stats during test run
* stress-epoll: silently ignore EINVAL for sh4
* stress-fork: ensure vfork exits immediately and deprecate --vfork-vm
option
* stress-cacheline: add adjacent byte read exercising and byte copying
methods
* stress-cacheline: l1_cacheline_size is now size_t, so use %zd format
specifier
* stress-cacheline: add an atomic increment method
* stress-cacheline: break cacheline exercising code into methods
* core-vmstat: add missing colon after name of stat info name
* stress-*: add missing colon after stressor name for "using stressor"
method info
* stress-cacheline: share cache data among all stressors
* stress-cacheline: add a mix of different read/write patterns
* stress-cacheline: add more store/read contention across cache line
* stress-open: fix spelling in a comment, the the -> the
* Manual: replace "the the" with "the"
* stress-cacheline: add verify always tag since this does verifcation by
default
* stress-dirdeep: Fix incorrect indexing into directory array
* stress-cacheline: change class to cache class since it exercises cache
* stress-ng: rename duration to run_duration to avoid name shadowing
* stress-cacheline: exercise a cacheline between processes
* core-vmstat: resolve block stats device for /dev/xxNNN by removing
N digits
* stress-syncload: truncate sleeps to microsecond accuracy
* stress-syncload: remove jitter and use one sleep for delay
* docs: Fix a few typos
* stress-cpu: add deinit settings in return paths of stressor
* Manual: use multiply sign instread of x for multiply
* stress-peterson: remove empty line
* core-vmstat: remove debug.
* core-vmstat: add auto sleep adjustment to ensure we don't skew sleeps
* core-log: always report warnings, and warn if test succeeded but
terminated early
* debian/tests/fast-test-all: add klog checking
* stress-sigfpe: define and check STRESS_CHECK_SIGINFO for SA_SIGINFO test
* stress-sigfpe: silently ignore invalid error codes for HPPA
* stress-zlib: rename xsum -> checksum
* stress-copy-file: remove debug
* stress-copy-file: handle EOF reads correctly
* stress-ng: make start time for duration measurement start at fork time
* stress-ng: make premature time slop a bit longer
* stress-ng: add zero bogo-ops sanity checks for runs > 30 seconds
* core-log: add warn message type PR_WARN
* stress-ng: add some slop to duration of run
* stress-ng: add a warning if a stressor finishes prematurely
* core-target-clones.h: add Intel cooperlake target clones directive
* stress-zlib: fix brown noise unrolled loop
* stress-fork: add more madvise random options for --fork-vm option
* TODO: add caching item to todo list
* stress-ng: metrics: split out misc. metrics from bogo/ops metrics
* stress-zlib: pass buffer as uint64_t start/end pointers, add some
optimizations
* stress-swap: initialize swap_info.last_page more efficiently
* stress-mq: fix counter initialization, should be outside of loop
* stress-vm-segv: remove redundant check if pid == 0
* stress-sysfs: remove redundant check if pid == 0
* stress-stackmmap: remove redundant check if pid == 0
* stress-shm: remove redundant check if pid == 0
* stress-shm-sysv: remove redundant check if pid == 0
* stress-ramfs: remove redundant check if pid == 0
* stress-filename: remove redundant check if pid == 0
* stress-enosys: remove redundant check if pid == 0
* stress-efivar: remove redundant check if pid == 0
* stress-bad-altstack: remove redundant check if pid == 0
* core-out-of-memory: remove redundant check if pid == 0
* stress-open: initialize open flags with open default flag values
* TODO: remove inode consumer, this is performed in dir* stressors
* Makefile.config: clean up SYSV config annotations
* stress-dccp: add protocol not supported socket error check on server
* stress-dccp: add protocol not supported socket error
* stress-set: move pid to local scope
* stress-aio-linux: ensure iov is nullified on allocation failure
* stress-fault: remove redundant assignment to fd
* core-helper: voidify filename in stress_fs_type
* stress-sctp: clean up some warnings on OS X
* README.md: add another kernel issue found by stress-ng
* core-helper: fix build failure
* stress-file-ioctl: exercise FICLONERANGE with invalid parameters
* stress-file-ioctl: exercise FICLONERANGE with random offset and sizes
* stress-sock: move ALIGN64 hint to correct place in declaration
* stress-memcpy: use wrapper on builtins to avoid passing them as a
function ptr
* stress-*: report file system type in file based failure messages
* core-helper: add functions to determine underlying file system type
name
* stress-futex: silently ignore EINTR on a wait
* stress-zlib: cache align buffers
* stress-vecwide: cache align vector variables
* stress-tee: align data buffers to cache boundary
* stress-sockmany: make data cache aligned
* stress-sock: cache align recv/send structures
* stress-sctp: make data cache aligned
* stress-rawsock: make raw packet cache aligned
* stress-pipe: allocate pipe buffer with mmap, keep it page aligned
* stress-ping-sock: align data to cache boundary
* stress-null: align data to cache boundary
* stress-mutex: align futex to cache boundary
* stress-key: align data to cache boundary
* stress-icmp-flood: align packet to cache boundary
* stress-full: align data buffer to cache boundary
* stress-udp-flood: align data buffer to cache boundary
* Manual: use lB2 format specifier rather than lBw(8n)
* stress-memcpy: workaround gcc 8.3.0 segfault on memmove
* stress-ng: ensure all stressors get SIGALRM on terminate signals
* stress-memcpy: enable verification on each memcpy/memmove operation
* stress-get: move pid_t variable pid to more local context, clean up
icc warning
* stress-smi: add register clobber checks for SMI calls
* core-ignite-cpu: keep minimum freq same as max freq, crank to C0 via
/dev/cpu_dma_latency
* stress-fcntl: define F_GETOWNER_UIDS for linux if not defined
* stress-pty: fix HAVE_TCGETATTR check, remove extraneous D
* stress-pty: add some mission ptr ioctls for more kernel coverage
* stress-rtc: toggle on/off RTC_AIE_*, RTC_PIE_*, RTC_UIE* ioctls
* stress-dev: add block ioctl BLKGETDISKSEQ
* stress-rawpkt: exercise setsockopt options for more kernel coverage
* stress-rawpacket: issue invalid sockopt option for more kernel test
coverage
* stress-rawpkt: cater for different TPACKET hdr versions
* kernel-coverage: use udp lite for ipv4 and ipv6
* stress-dirmany: print "0 bytes" rather than "0.0 bytes" for file size
* kernel-coverage: add sctp scheduler options for more test coverage
* stress-sctp: add sctp-sched option to specify SCTP scheduler
* stress-sctp: add more socket options, add build time checks for sctp
types
* stress-procfs: add ppoll for more kernel testing
* stress-aio-linux: add async preadv and pwritev commands
-- Colin Ian King <colin.i.king@gmail.com> Wed, 20 Jul 2022 18:13:23 +0100
stress-ng (0.14.02-1) unstable; urgency=medium
[Aleksandar N. Kostadinov]
* README.md: alpine and container instructions
* build container image
[Dorinda Bassey]
* stress-gpu: Add GPU stressor
[Iyán Méndez Veiga]
* Enable getrandom test on FreeBSD
[Mayuresh Chitale]
* stress-malloc: Fix for issue #201
[Colin Ian King]
* Makefile: bump version and drop O3 to O2
* README.md: Add another paper citation
* core-log: use VOID_RET on fwrite returns to clean up warning on
Oracle Linux
* stress-splice: voidify unused arg fd
* stress-mlock: handle EPERM failure on Solaris
* stress-get: voidify pid to clear up Nixos build warning
* stress-memfd: cater for EINVAL on some BSD flavours
* stress-sem-sysv: remove size_t cast on semop arg -1
* stress-fork: don't touch VM in vfork mode
* stress-schedpolicy: undo voidify on schedpolicy call
* test/test-builtin-bitreverse: access variables to clean up cppcheck
warning
* stress-swap: move variable ret to a deeper scope
* stress-shm-sysv: move variable ret to a deeper scope
* stress-dentry: move variable ret to deeper scope
* stress-copyfile: move variables n, bytes_in, bytes_out to deeper scope
* stress-binderfs: move ret to deeper scope
* core-helper: add little endian check and 32 bit endian swapping
* stress-rdrand: fix missing __ before volatile
* Makefile.config: add extra check for compilation and linking
* snapcraft: add in more dependencies
* Makefile: define header variables for required dependencies
* stress-fiemap: declare counter_lock only when it is required
* stress-affinity: declare counter_lock only when it is required
* stress-set: setgroups size arg maybe int or size_t, use int as type
* core-*: use VOID_RET for return voidifications
* stress-*: use VOID_RET for return voidifications
* debian/control: add gpu stressor debian library dependencies
* core-shim: constify stime prototype argument
* stress-ng.h: move VOID_RET from stress-sockabuse to main header
* Makefile: redirect apparmor parser output to /dev/null
* stress-sigpipe: remove return from no-return function
* core-out-of-memory: clean up name shadowing warning on variable ret
* Clean up some more tcc warnings, minor changes
* core-io-priority: return int from stress_get_opt_ionice_class on
exit()
* stress-ng: disable fortified source #define for tcc
* stress-quota: minor type conversion clean ups
* stress-splice: make flags unsigned int, clean up type warnings
* stress-zlib: clean up some implicit type cast warnings
* stress-zlib: annotate non-return function with NORETURN
* stress-tree: fix for-loop initializer for i, replace ; with ,
* stress-timerfd: clean up some implicit type cast warnings
* stress-tee: clean up some implicit type cast warnings
* stress-syncload: clean up some implicit type cast warnings, make a
bool static
* stress-sockdiag: clean up some implicit type cast warnings
* stress-set: clean up some implicit type cast warnings
* stress-sem-sysv: clean up some implicit cast warnings
* stress-seccomp: clean up implicit cast warnings, remove unused macro
* stress-resources: cast size to off_t, add some struct padding
* stress-fanotify: add Linux 5.19 FAN_MARK_EVICTABLE
* core-out-of-memory: pass the error status back to parent
* stress-switch: ensure sem_id is initialized to -1
* stress-swap: use uint32_t for swap size as this is the max limit
* stress-rtc: clean up implicit type cast warning
* stress-sparsematrix: clean up implicit type casts, optimize struct
packing
* stress-softlockup: add parentheses to mark code as explicitly dead
* stress-sock: cast -1 to socklen_t in setsockopt call
* stress-sigsegv: use uintptr_t cast for pointer math
* stress-secretmem: make offset variable sz an off_t
* stress-resched: clean up type cast warnings
* stress-randlist: clean up casting issues, use mwc random numbers
* stress-prefetch: clean up implicit cast warnings
* stress-opcode: clean up unused macro warnings
* stress-wait: rename _ prefixed function, prefix it with syscall
* stress-vm-rw: use macro MAX_VM_RW_BYTES, cast pointers to void *
* stress-vforkmany: remove redundant goto after exit call
* stress-vecwide: clean up implicit type cast warnings
* stress-usersyscall: clean up implicit type cast warnings
* stress-unshare: fix type of clone_flag_count, it should be size_t
* stress-zlib: use __asm__ __volatile__ instead of asm volatile
* stress-smi: clean up implicit type cast warnings
* stress-clone: remove macro CLONE_STACK_SIZE and break statement
* stress-ptrace: clean up implicit type cast warnings
* stress-prctl: fix implicit type conversion warnings
* stress-physpage: clean up implicit type cast warnings
* stress-pageswap: clean up pedantic build warnings
* stress-null: cast uint32_t from random value to int
* stress-mutex: make mutex variable static
* stress-msyncmany: clean up some implicit type casts
* stress-exec: don't use execve for absolute path without full path
prefix
* stress-ng: make --exec-exit exit with success
* Makefile: don't limit inlining max sizes for ICC toolchain
* stress-open: remove inline from two helper functions
* stress-aio: remove inline from aio_fill_buffer
* stress-bad-altstack: remove inline from
stress_bad_altstack_force_fault
* stress-numa: remove inline from single use helper function
* stress-open: remove duplicated declaration of variable i, cleans
up name shadowing
* stress-touch: rename array touch_method to touch_methods
* stress-x86syscall: clean up implicit cast warnings
* stress-x86syscall: rename ___ prefixed array
* stress-x86syscall: rename variables to remove _ prefix
* stress-vm: use MAX_VM_BYTES for maximum VM limit size
* stress-verity: remove __ prefix off reserved
* stress-usersyscall: user __asm__ __volatile__ instead of asm volatile
* stress-tsc: use __asm__ __volatile__ instead of asm volatile
* stress-syncload: use __asm__ __volatile__ instead of asm volatile
* stress-sigtrap: use __asm__ __volatile__ instead of asm
* stress-reboot: exercise SHIM_LINUX_REBOOT_CMD_SW_SUSPEND with
incorrect magic
* stress-rdrand: clean up some implicit cast warnings
* stress-rdrand: use __asm__ __volatile__ instead of asm volatile
* stress-peterson: make peterson object static, move bools in struct
to remove struct hole
* stress-pci: add NORETURN attribute to handler that does not return
* stress-nop: make some objects static, remove extraneous ; after macro
* stress-msync: use MAX_MSYNC_BYTES for the maximum limit
* stress-msg: cast size -1 to size_t
* stress-mremap: use MAX_MREMAP_BYTES for limit, remove duplicated
DEFAULT_MREMAP_BYTES
* stress-mq: add explicit type cast for max_prio
* stress-mprotect: clean up some integer type warnings on implicit casts
* stress-mmapmany: cast ptr to void * for printing address
* stress-mmaphuge: make size size_t to match mmap size argument
* stress-mmapfixed: cast len to ssize_t to clean up implicit cast
warning
* stress-mmap: cast size parameter to off_t, clean up implicit cast
* stress-mmap: use MAX_MMAP_BYTES for the maximum mapping size
* stress-mmap: clean up shadowing of variable rnd
* stress-mmap: clean up variable shadowing of variable ret
* stress-mincore: remove redundant macro VEC_MAX_SIZE
* README.md: Add another kernel optimization reference
* Makefle: disable pedantic build warning
* stress-memrate: cast i to int to clean up implicit cast warning
* stress-memfd: clean up implicit cast on size and remove unused macro
MAX_MEMFD_BYTES
* stress-mcontend: use __asm__ __volatile__ for asm volatile
* stress-memcontend: use shim_mb inline function for memory barrier
* stress-malloc: cast addr to void * for printf %p format
* stress-madvise: clean up some implicit cast warnings
* stress-loop: rename __reserved to reserved to remove __ prefix
* stress-lockofd: remove redundant macro LOCK_SIZE
* stress-locka: remove redundant macro LOCK_SIZE
* stress-loadavg: make instances same type as args->instances
* stress-link: clean up implicit cast warnings
* stress-itimer: clean up implicit cast warning
* stress-iomix: clean up a handful of implicit cast warnings
* stress-hrtimes: clean up some implicit cast warnings
* stress-hdd: use uint64_t for offset rather than size_t
* stress-hash: make hash_stats static, clear up implicit cast warning
* stress-gpu: clean up some implicit casting warnings
* stress-get: cast pid to id_t for getpriority call
* stress-futex: use long type for nanoseconds to match timespec struct
* stress-fstat: ensure unsigned flag parameter is correct type
* stress-fpunch: clear up implicit cast warnings
* stress-fpunch: add NORETURN annotation to handler that calls _exit
* stress-fcntl: use size_t type for setfl_flag_count
* stress-fanotify: use correct type for flags
* stress-fallocate: use correct type for i and remove shadowed variable
* stress-enosys: clean up syscall arg types and use __asm__
__volatile__
* stress-dirmany: remove unused macro DEFAULT_DIRMANY_BYTES
* stress-dirmany: fix type of i_start parameter, should be uint64_t
* stress-dirdeep: remove unused macro and cast int to a char
* stress-dev: cast -1 to unsigned int
* stress-dev: fix BLKROSET ioctl, missing fd and pass by ref
* stress-cpu: clean up some implicit type casting warnings with
explicit casting
* core-builtin: case complex arg in shim'd csin/ccos to double
* stress-cpu: rename _ prefixed macro with STRESS_ prefix
* stress-copy-file: clean up some implicit type cast warnings
* stress-clone: clean up some implicit type cast warnings
* stress-chmod: make mode_count and mode_perms non-static
* stress-chattr: clean up some type casting warnings
* stress-cache: clean up some implicit type casts
* stress-bad-ioctl: cast int to uint16_t to clean up implicit casting
* stress-alarm: add explicit type casts to avoid any type conversion
warnings
* stress-aio-linux: add explicit type casts to avoid any type
conversion warnings
* stress-ng: include core-put.h for global put storage
* stress-ng: use size_t for string pointer length
* stress-ng: explicitly cast pid_t to pid arg in kill call
* stress-ng.h: forgot to check in changes in statx and pkey_alloc shims
* stress-affinity: move bools in struct for better packing
* core-thrash: clean up some type warning issues
* core-smart: add explicit type casts to avoid any type conversion
warnings
* core-shim/stress-pkey: add explicit type casts to avoid any type
conversion warnings
* stress-ng.h: make stats a flexible array rather than a zero length
array
* core-module: use correct type for flags parameter
* core-locks: add ( ) around 0 to silence clang pedantic warning
* core-helper: add explicit type casts to avoid any type conversion
warnings
* core-hash: add explicit type casts to avoid any type conversion
warnings
* stress-ng: use __asm__ __volatile__ instead of asm volatile
* stress-ng.h: add some more struct padding
* stress-landlock: add in some missing type casts
* core-perf: replace _SNG_ macro prefix with STRESS_
* core-cache: remove need for variable sized arrays on stack
* Makefile.config: add memory barrier asm build time support check
* stress-ng.h: add struct padding to keep alignments naturally aligned
* stress-ng: move two bools together to pack stress_stats_t more
efficiently
* stress-jpeg: tidy up some type conversion casting
* stress-ng.h: add all args to deprecated function prototypes
* stress-futex: zero futex with memset rather than set all fields
* stress-ng.h: rename __ prefixed variables as these are reserved
prefix chars
* Manual: remove racy counter notes now that these are fixed
* stress-malloc: clean up racy comment
* stress-fiemap: replace racy counters with fast locking counters
* stress-affinity: replace racy counters with fast locking counters
* stress-malloc: replace racy counters with fast locking counters
* stress-zlib: add a ror32 random data generator
* core-helper: use register vars in stress_flag_permutation
* core-helper: use builtin sqrt shim for prime computation
* core-helper: optimize stress_uint8rnd4 a little more
* stress-oom-pipe: fill pages so kernel page compaction works harder
* stress-memfd: fill pages so kernel page compaction works harder
* stress-dev: voidify function args for non-x86 builds
* core-thrash: make fpmap non-clobberable by longjmp
* stress-mprotect: cast ptr to void * to clean up OpenHipster warnings
* stress-mmap: cast mmap return to uint8_t * to clean up OpenHipster
warnings
* stress-touch: remove the need for pthreads
* stress-touch: use generic stress-ng locks rather than spinlock
* core-lock: add more pthread mutex build time checks
* stress-rawsock: remove PTHREAD dependency, move rawsock_lock
* stress-mprotect: handle SIGBUS for OS X
* core-thrash: implement no-op stress_pagein_self for non-Linux systems
* stress-touch: use shim version of unlink
* stress-open: use shim version of unlink and rmdir
* stress-open: use open_arg2/3 helpers, remove debug
* stress-ng: only destroy perf.lock if perf stats are enabled
* README.md: Add NUMA performance regression link
* core-helper: replace whitespaces with tabs
* stress-memfd: allocate file space with fallocate
* stress-resources: allocate memory using fallocate on memory fd
* core-lock: add generic locking API
* stress-inode-flags: clear all inode flags to enable tmp file deletion
* stress-timerfd: add linux check to ioctl #define, use uint64_t as type
* stress-dentry: remove empty line
* stress-clock: move random seed setting to match stress-ng coding style
* Manual: update contributors list
* stress-zlib: add 5 bit GCR encoded random data method
* stress-gpu: remove empty line
* stress-gpu: use stress-ng variable declaration style
* stress-gpu: minor formatting tweaks to match stress-ng coding style
* stress-gpu: update copyright text
* stress-gpu: some more failure checking clean-ups
* stress-gpu: make egl_config_attribs static const
* stress-gpu: re-work error handling messages to keep with stress-ng
style
* stress-gpu: constify some function args and make functions and
objects static
* stress-gpu: remove trailing space
* stress-gpu: remove break in while loop for successful GPU bogo ops
* stress-mmap: disable mmap random flags using mask
* stress-sem-sysv: fix spelling mistake in comment
* stress-xattr: exercise empty xattr value
* stress-open: fix __NR_futimes syscall type, exercise more illegal
tv values
* stress-timerfd: exercise TFD_IOC_SET_TICKS ioctl
* stress-dev: perform write of zero to page zero on /dev/mem
* stress-splice: set randomly pipe sizes where possible
* stress-splice: add random flag SPLICE_F_MORE, SPLICE_F_MOVE
* stress-efivar: constify function arguments
* stress-dev: constify function argument
* stress-quota: constify function arguments
* stress-pidfd: constify function arguments
* stress-open: constify arguments
* stress-netlink-proc: constify arguments
* stress-l1cache: constify arguments
* stress-touch: correct the copyright information
* stress-ng: constify argument instance
* stress-smi: Fix spelling mistake "MSI" -> "MSR"
* stress-fallocator: remove debug printf
* stress-nanosleep: clean up missing tab in table formatting
* stress-icmp-flood: minor buffer + offset changes with const pointers
* README.md: Add URL to Linux Foundation presentation
* stress-touch: use shared memory for spinlock, fix locking issue;
add all opts
* stress-touch: handle EINTR on waitpid gracefully
* stress-touch: remove empty line
* stress-touch: add concurrency to exercise parallel touching in
directory
* Add touch stressor that open/create/closes/unlinks files rapidly
* stress-mmap: handle SIGBUS for hugepage mappings
* Add Linux Foundation Webinar slide deck (PDF)
* stress-tlb-shootdown: add page writes to increase DTLB write misses
* stress-zombie: move pid scope, re-use pid rather than head dereference
* stress-zombie: use pid to check for process
* core-thrash: add helper to pagein pages in a process, use this in
fork stressor
* stress-physpage: write to mmap'ing of the physical page if possible
* README.md: use --stdout instead of stderr redirection
* stress-chattr: exercise chattr flag permutations for more coverage
* stress-sysinval: add more flag bits to flag arguments
* stress-fcntl: exercise all SETFL flag permutations for more coverage
* stress-unshare: remove tabs from empty line
* stress-unshare: exercise all permutations of unshare clone flags
* stress-shm-sysv: add some more shm mode flags
* stress-fallocate: exercise all the permutations of fallocate
mode flags
* stress-clone: add check for zero clone permutations
* stress-clone: exercise permutations of clone flags
* core-helper: use unsigned int for flag shifting to avoid sign bit
propagation
* README.md: Add another issue found with stress-ng
* stress-mmap: exercise all permutations of mmap flags for more coverage
* stress-chmod: exercise all mode permutations for more coverage
* stress-open: add *BSD and Solaris open flags for wider testing
* stress-inode-flags: work through all permutations of inode flags
* stress-open: exercise every open flag permutation
* stress-mmap: ensure context.mmap_prot_perms is free'd if used
* stress-mmap: exercise random protection flags
* Usage rusage stats if they are available rather than times
* stress-cpu: Fix comment, remove non-ASCII character
* stress-cpu: normalized method cpu bogo ops for more consistent metrics
* Manual: update contributors list
* README.md: add libseccomp-dev for Alpine Linux
* stress-schedpolicy: check for ENOSYS when setting policy
* stress-sysfs: forceful kill using SIGKILL and not SIGHUP
* core-shim: handle non punch fallocate workarounds
* Add helper to generate bit flag permutations, use it in mprotect
* README.md: update number of stressors
* stress-mprotect: add mprotect stressor
-- Colin Ian King <colin.i.king@gmail.com> Sun, 12 Jun 2022 12:09:02 +0100
stress-ng (0.14.01-1) unstable; urgency=medium
[Alexander Kanavin]
* Makefile: quote CC
[Thinh Tran]
* stress-rawsock: close recv socket once sender is closed
[Colin Ian King]
* Makefile: bump version
* stress-jpeg: don't allocate row_pointer array on stack, use heap
instead
* stress-msyncmany: sanity check for null ptr
* stress-sctp: remove shadowed variable ret
* stress-zlib: fall back to stress_mwc64 if rdrand is not supported
* stress-msync: cast address to void * to clean up build warning on
OpenHipster
* Add check for pthread_np.h as required for DragonFlyBSD
* test-setmntent: clean up cppcheck style warning
* test/test-endmntent: remove unused variable mount
* stress-utime: use correct defines to check for verify
* stress-utime: only declare variable verify when it is required
* README.md: update Linux distro flavours
* stress-mmapfixed: clean up build warning on unused variable page_mask
* stress-madavise: voidify addr and size args
* Makefile: add in Makefile.comfig build dependency
* Makefile.config: disable FAST_MATH as this causes fp-error to regress
* README.md: Add some more references to papers that use stress-ng
* README.md: reference another academic paper
* README.md: reference https://dl.acm.org/doi/10.1145/3519601
* README.md: remove extranous ]
* README.md: add another kernel bug found with stress-ng
* stress-sockmany: fix double "" build failure
* stress-sockmany: add in missing --sockmany-if short help
* stress-udp-flood: add in missing --udp-flood-if help
* stress-rawudp: add --rawudp-if interface option to specify desired
network interface
* stress-udp-flood: add --udp-flood-if interface option to specify
desired network interface
* stress-udp: fix missing interface on socket setup
* stress-sockmany: add --sockmany-if interface option to specify
desired network interface
* stress-sockabuse: fix help information, replace cut-n-paste help
* stress-sctp: add --sctp-if interface option to specify desired
network interface
* stress-sock: return setting error status for --sock-if
* stress-udp: return setting error status for --udp-if
* stress-dccp: add --dccp-if interface option to specify desired
network interface
* core-net: remove deprecated helper stress_set_sockif
* stress-sock: add --sock-if interface option to specify desired
network interface
* stress-udp: add --udp-if interface option to specify desired network
interface
* stress-rawsock: start recv only once all senders are up and running
* stress-vm: add forward and reverse memory exercising, fwdrev method
* stress-resources: add mutex create/destroy resource usage
* stress-ng.h, stress-version.h: Add ICC support for alignment hinting
* stress-jpeg: fix bitwise & on bits of RGB brown noise
* Add clang builtin bit reversal build time checks
* core-bitops.h: Add reverse64/32/16/8 integer reversal functions
* Manual: update mmapfixed manual to reflect the new range mremappings
* stress-mmapfixed: walk through a large address range based on random
start
* Makefile: remove trailing space
* stress-jpeg: add brown noise source image type
* stress-utime: add check for struct utimbuf and utime()
* Add build-time checks for endmntent and setmntent
* Makefile.config: re-format dependencies
* stress-jpeg: use builtin shim wrappers for math functions
* stress-cpu: use builtin roundl where possible
* stress-cpu: use shim_exp and shim_log in stress_cpu_explog()
* stress-cpu: use builtin cexp if it exists
* Add FAST_MATH check for -ffast-math compiler option
* stress-jpeg: clean up some spacing/table formatting
* stress-zero: remove some empty lines
* core-vmstat: run vmstats with real time deadline scheduling where
possible
* stress-rawsock: check keep stressing state before each send/recv
* stress-rawsock: stagger start time of instances to reduce lockup
races
* stress-rawsock: make client wait for server to start
* Makefile: rename verbose V and quiet Q prefix variables to PRE_V
and PRE_Q
* Update copyright on various source files
* stress-zlib: add fast Lehmer random number generator
* stress-mutex: swap order of options help around
* stress-mutex: add --mutex-affinity option to enable random CPU
affinity setting
* stress-cpu: add div8 and div128 division cpu stressor methods
* stress-signest: only dump out signal stats on instance 0
* stress-zlib: remove duplicated table of random data generators
* stress-zlib: add a rdrand random data generator method
* stress-madvise: don't poison zero pages that are in-core
* stress-ng: log how stress-ng was invoked with -v verbose mode
* stress-loop: constify loop_attr
* stress-jpeg: make quality parameter const
* stress-jpeg: make constants double, make row_stride const
* stress-jpeg: rename 2 * pi as tau, use M_PI for pi constant
* stress-usersyscall: make libc_path larger to avoid potiential
overflows
* stress-pthread: use && instead of & bit-wise operator
* stress-klog: use || instead of bitwise operator
* stress-loadavg: use && instead of bitwise & operator
* core-thrash: make prot array larger to avoid sscanf overflow
* stress-af-alg: ignore deprecated skciper ecb(arc4)
* Add the msyncmany stressor
* stress-cache: add --cache-clwb (cache line writeback) option
* core-vmstat: call _exit() on vmstat termination
* stress-mutex: add priority inheritence on mutex
* Add a pthread mutex stressor --mutex, --mutex-ops and --mutex-procs
options
-- Colin Ian King <colin.i.king@gmail.com> Thu, 5 May 2022 23:45:24 +0100
stress-ng (0.14.00-1) unstable; urgency=medium
[Mike Koreneff]
* fix ipsec avx feature selection
[Colin Ian King]
* Makefile: bump version and update codename
* stress-jpeg: add build time detection for open_memstream()
* test/test-libjpeg: remove variable row_stride
* stress-jpeg: reduce scope of variables t1 and t2
* stress-funcret: add a helper function to set variable data
* stress-vm: clean up some static analysis pedantic warnings
* stress-sockfd: clean up pedantic cppcheck warning
* stress-jpeg: add --jpeg-image option to select source image type
* README.md: Update library dependencies, add libjpeg
* stress-jpeg: clean up some whitespace/tab indentations
* Add more compiler version detection smarts.
* stress-jpeg: make jpeg stats debug only
* Makefile.config: fix typos in function names
* stress-jpeg: Add jpeg compression stressor
* stress-cpu: Replace another unicode char in comment with -
* Add two more CPU loading mechanisms
* stress-open: ensure openat/openat2 open file in the temp path
* stress-inode-flags: remove empty line
* stress-env: remove blank line
* stress-dnotify: add in empty line
* stress-tsearch: clean up conditional formatting
* stress-chroot: clean up formatting of test_chroot_test_funcs
* stress-apparmor: remove some blank lines
* REAME.md: add another kernel fix to issues found by stress-ng
* stress-cpu: add some branch optimization hints with LIKELY()
* stress-dekker: add LIKELY hints
* stress-cache: add LIKELY annotation on loop bounds check
* stress-cache: add --cache-enable-all to enable all cache exercising
options
* stress-cpu: Replace unicode char in comment with -
* stress-physpage: make functions static
* stress-peterson: make functions static
* stress-dekker: make functions static
* stress-urandom: exercise off-page reads of /dev/random
* stress-netlink-task: cast pointer to char * for pointer arithmetic
warning fix
* stress-landlock: cast argument to enum landlock_rule_type
* Add build time check and a shim for enum __rusage_who_t
* Add build time check and a shim for enum __ptrace_request
* Add build time check and a shim for enum __pid_type
* Add build time check and a shim for __itimer_which_t
* Add build time check and a shim for __priority_which_t
* Add build time check and a shim for __rlimit_resource_t
* stress-sparsematrix: workaround clang warnings on JLFA macro
* stress-peterson: cast return from mmap to clean up Solaris build
warning
* stress-dekker: cast return from mmap to clean up Solaris build warning
* stress-ng: add workaround for setdomainname on Solaris
* stress-ng: add workaround for getdomainname on Solaris
* stress-madvise: cast buf to void * to clear up solaris build warnings
* core-klog: fix build warning on unused variable for non-Linux builds
* Makefile.config: check for sys/capability.h with test-cap test
* stress-madvise: only print raced frees if MADV_FREE is defined
* Makefile.config: fix tpause and pause instruction checks
* Makefile.config: use makefile targets for each config check, speeds
up config checking
* stress-dev: avoid tty ioctls on /dev/ndctl devices
* stress-utime: fix build failure; missing ;
* stress-dev: avoid tty ioctls on /dev/nmem devices
* stress-dev: pass size by reference for BLKBSZSET ioctl
* stress-dev: fix misuse of TCOOFF, TCOON, TCOIOFF, TCION args
* Makefile.config: add more CPU specific information for specific target
clones
* stress-utime: use system call for utime in preference to libc call
* stress-quota: skip stressor if no quota enabled filesystems are found
* stress-peterson: don't inc counter in p0
* stress-dekker: don't inc counter in p0
* stress-dekker: fix grammer in the short help information
* Add the Peterson Algorithm stressor, --peterson, --peterson-ops
* Add Dekker Algorithm stressor, --dekker, --dekker-ops
* stress-lockf: remove some empty lines
* stress-ng: add YAML open/close helper functions
* kernel-coverage: add --klog check to sanity check for kernel splats
* Makefile: add --klog-check to make slow-test-all rule
* stress-ng: rename stress_get_pagesize to stress_get_page_size
* stress-ng: call stress_get_pagesize just once
* stress-ng: break overly long message into a few lines
* stress-ng: move successful run message to later in termination phase
* core-klog: use global shared flag so child can indicate error to main
parent
* core-klog: flag an error for stress-ng exit() when klog errors are
detected
* core-klog: prefix messages with klog-check: so they can be easily found
* core-klog: make Out of memory message a warning
* stress-madvise: move goto label to start of a statment
* core-klog: use continues instead of gotos
* Add --klog-check, a simple kernel log error checker
* stress-madvise: add racy madvise/read checks
* core-helper: bump minimum stack size for signal handlers to 64K
* Manual: remove extraneous word, no major change
* stress-tmp: exercise minimal xattr set/remove on tmp file system
* stress-ng: silently ignore SIGALRM terminations in debug
* README.md: Add ClearLinux library dependencies
* Remove mtrr from TODO now that this is covered
* stress-physpage: Add mtrr add/del on physical page for x86
* stress-dirdeep: don't print 2^64-1 inodes when we don't know how many
are available
* TODO: Remove floppy disk ioctls
* stress-dev: reorder device entry checking, keep cdroms together
* test/test-libxxhash: return hash value, clean up clang scan warning
* stress-dirdeep: remove duplicated shadow'd declaration of variable ret
* stress-pipe: fix name shadowing on variable pid
* stress-dirdeep: add --dirdeep-files and --dirdeep-bytes options
* stress-dirmany: add a file size option --dirmany-bytes
* stress-dev: add in block device BLKBSZSET ioctl
* stress-dev: add block ioctls BLKRASET, BLKFRAGET, BLKFRASET, BLKROSET
* README.md: update commit sha for minix file system bug report
* core-ignite-cpu: try to maximize intel-pstate cpu freqs
* core-ignite-cpu: add energy_perf_bias setting
* stress-longjmp: remove { } brackets
* stress-ng: Fix SIGINT sending alarm signal to all stressors
* stress-rawpkt: zero sadr to ensure struct is completely initialized
* stress-rawpkt: add recv size sanity check before processing pkt data
* stress-dev: remove duplicate floppy ioctls, add a couple more floppy
ioctls
* stress-prefetch: remove blank line
* stress-dev: remove debug message
* stress-dev: add first cut of simple floppy IOCTLS
* core-target-clones: Add tigerlake, sapphirerapids and rocketlake
target clones
* Manual: update copyright for Colin Ian King
* Manual: clean up grammar for the sparse matrix options
* Manual: spell naive with nroff formatted double dotted i.
* core-helper: add stress_get_open_count to find number of open files
* Manual: fix missing comma between contributor names
* Fix typo: smarg -> smart
* Makefile: add uninstall make rule
* stress-bind-mount: don't call _exit on SIGALRM
* stress-resources: add yield point on dcache open resource for-loop
* stress-pci: add more yield points for systems with many PCI devices
* stress-fanotify: add out of file descriptor and out of memory failures
* stress-bind-mount: add tmp directory removal
* Update TODO list, add floppy disk ioctls to items to do
* stress-dev: add two more CDROM ioctls
* kernel-coverage: update copyright
* stress-rtc: exercise illegal RTC ioctl
* Manual: update contributors
* kernel-coverage: increase sysfs coverage to 10 minutes
* stress-sysfs: increase rate of sysfs files being exercised
* stress-*: ensure boolean is assigned a boolean value
* stress-pipe: exercise child's fd info for the opened pipe
* stress-dev: exercise child's fd info for the opened device file
* stress-efivar: exercise child's fd info for the opened file
* stress-filename: exercise child's fd info for the opened file
* stress-rtc: exercise RTC_PARAM_GET and RTC_PARAM_SET
* kernel-coverage: enable memory thrasher for vm and brk stressors
* stress-pci: remove white space and empty line
* stress-file-ioctl: add FS_IOC_FSGETXATTR/FS_IOC_FSSETXATTR ioctls
* stress-procfs: exercise invalid /proc/pci ioctl
* stress-pci: attempt to read pci ROM via mmap
* kernel-coveage: exercise UDP-GRO
* stress-upd: add --upd-gro to enable Generic Receive Offload if
supported
* stress-shm-sysv: mlock/munlock 1st page of each mapping for more shm
work
* stress-shm: mlock/munlock 1st page of each mapping for more shm work
* stress-kvm: add some more instructions into vm code
* Makefile.config: remove debug make rules
* stress-skiplist: add a level check to avoid static analysis false
warning
* core-ftrace: free object if RB_INSERT finds an existing matching node
* stress-sparsematrix: free a new node if RB_INSERT finds existing value
* stress-sparsematrix: reference object size by the actual type
* stress-quota: replace memset with explicit setting of name and valid
* stress-usersyscall: voidify return from syscall
* stress-bind-mount: use shim wrapper for rmdir
* Makefile: pass CC down to Makefile.config to allow clang scan build to
work
* stress-tree: replace spaces with tab in indentation
* stress-dev: add some more CD-ROM ioctls for more coverage
* stress-tree: add some more optimizations, ~8-15% faster btree
* stress-tree: make btree functions static, manually inline node
allocation
* stress-tree: add a 31 node btree to the tree mix
* stress-hsearch: add DragonFlyBSD notes on hdestroy semantics
* README.md: move bug report to correct place in README
* README.md: Add a Minix kernel bug found by stress-ng
* README.md: Add a few more kernel fixes to bugs found by stress-ng
* README.md: replace bug report URL with kernel commit SHA link
* stress-madvise: add MADV_POPULATE_READ MADV_POPULATE_WRITE
-- Colin Ian King <colin.i.king@gmail.com> Wed, 13 Apr 2022 08:41:14 +0100
stress-ng (0.13.12-1) unstable; urgency=medium
[Maya Rashish]
* stress-sysinval: correct typo timerfd_settime
[Colin Ian King]
* Makefile: add in core-vecmath.h to make dist rule
* Manual: update date
* Makefile: update version
* Makefile: update code name to "refulgent coruscating seadragon"
* core-shim: use system call for getcpu for S390x
* stress-cpu: disable decimal math on s390x to avoid SIGILL
* stress-usersyscall: check if user syscall mechanism is implemented
* stress-sysbadaddr: include ptrace header
* stress-sigsegv: only declare has_sse2 when it is required
* stress-sysinval: cast return from mmap to clean up OpenHipster
warning
* stress-mmapmany: cast return from mmap to uint64_t * to clean up
OpenHipster warning
* core-vmstat: fix build warning in stress_find_mount_dev
* core-vmstat: check for makedev/major macro include file
* stress-dirdeep: check for null scanlist items
* stress-dirdeep: don't exercise more inodes than those available
* stress-zombie: voidify pid argument for non-linux builds
* stress-sysinval: remove closed comment */ for getdtablesize
* stress-radixsort: add in missing const in strcmp casts
* stress-env: rename variable sz to env_sz to avoid name shadowing
* stress-timer: remove blank line
* stress-zombie: add zombie state check when --verify is enabled
* stress-vm-segv: add simple test validation check
* stress-usersyscall: add verify always flag since the inteface is
being checked
* stress-tee: add counter check to verify data is sane over pipes
* stress-swap: add simple page check value to ensure swap works
* stress-swap: add swap retries and measure swapped pages
* stress-sparsematrix: add verify always flag
* stress-sockpair: report system errors with pr_err rather than pr_fail
* stress-sockmany: report system errors with pr_err rather than pr_fail
* stress-sockfd: report system errors with pr_err rather than pr_fail
* stress-sock: report system errors with pr_err rather than pr_fail
* stress-sendfile: add verify flag, don't report system errors as
failures
* stress-sigsuspend: report system errors with pr_err rather than
pr_fail
* stress-sigrt: report system errors with pr_err rather than pr_fail
* stress-sigq: report system errors with pr_err rather than pr_fail
* stress-sigpipe: report system errors with pr_err rather than pr_fail
* stress-sigio: report system errors with pr_err rather than pr_fail
* stress-sigfpe: report system errors with pr_err rather than pr_fail
* stress-sigfd: report system errors with pr_err rather than pr_fail
* stress-sigchld: report system errors with pr_err rather than pr_fail
* stress-shellsort: report system errors with pr_err rather than pr_fail
* stress-sendfile: add verify flag, don't report system errors as
failures
* stress-rmap: report system errors with pr_err rather than pr_fail
* stress-rlimit: remove a blank line
* stress-radixsort: add optional sort order verification
* stress-qsort: replace fail message on calloc failure with error
message
* stress-pidfd: add verify flag and replace a fail with an error
message
* stress-nanosleep: report error as an error not as a test failure
* stress-mmapmany: add memory contents verification
* stress-mmapaddr: indicate that verification is always on
* stress-longjump: add a simple longjmp failure detection for
verification
* stress-lockofd: report system errors with pr_err rather than pr_fail
* stress-lockf: report system errors with pr_err rather than pr_fail
* stress-locka: report system errors with pr_err rather than pr_fail
* stress-list: add verify flag since the lists are being santity
checked
* stress-lease: add one verification point on lease UNLOCK
* stress-itimer: add verification of itimer signal handling
* stress-iosync: add more verification checks on sync'ing calls
* stress-hrtimers: add hrtimer interrupt detection for verification
* stress-goto: fix cut-n-paste error in --goto-direction error message
* stress-filename: add verify VERIFY_ALWAYS since stressor does
validation
* stress-exit-group: add simple check to see if exit_group exits
* stress-env: make verify optional based on --verify setting
* stress-env: add low memory checking and env var value checking
* stress-ipsec-mb: add in missing core-cpu.h include
* TOOD: add a couple more ideas of stress cases that could be added
* test-v2di: reference variable __v2di to clean up cppcheck style
warning
* test-timerfd-settime: remove unused variable timerid
* test-timerfd-gettime: remove unused variable timerid
* test-sendfile.c: use variable count
* stress-ng.h: move core-cpu prototypes into core-cpu.h
* stress-vm: clean up pedantic volatile discard warning on prefetch
* stress-sysinval: no need to make stress_syscall_exercised volatile
* stress-pthread: rename pthreads to pthread_info
* stress-memrate: clean up pedantic volatile discard warning on
prefetch
* stress-vm: replace aliased pointer with direct cast
* stress-bind-mount: use umount2 to umount, check for files in bind
mount
* stress-cpu: add logistical map chaotic data computation method logmap
* Manual: update bug filing URL
* stress-alarm: move #defines to start of code
* stress-aio: constify pattern argument
* stress-aio: align macro constants
* stress-aio-linux: constify some more function arguments
* stress-aio-linux: align #define constants
* stress-af-alg: add extra ( ) around comparison expressions
* stress-access: use stress_check_capability to check if root
* core-helper: inline helper function stress_check_root
* stress-vm-rw: fix cut-n-paste error on PROCESS_VM_WRITEV check
* stress-usersyscall: constify syscall argument
* stress-uprobe: constify a flags function argument
* stress-dirdeep: allow 36 directories per level
* stress-dirdeep: enable inode estimation
* stress-rseq: fix error message, fix spelling mistake
* stress-*: use pr_fail to log stressor failure errors
* stress-fifo: use pr_fail for stressor test failure cases
* stress-memrate: include 64 bit prefetched read streaming
* stress-vm: add 1K prefetch on read64 to get some more read performance
* README.md: add another citation
* Change verify boolean to a type, differentiate between optional and
always verification
* stress-utime: enable --verify time checking for one of the utime
settings
* stress-tree: add support for --verify option
* stress-pageswap: add verification that checks start address contains
stashed data
* stress-ng: add help info for --verifiable option
* stress-malloc: add verification that start address contains stashed
data
* stress-l1cache: add comments, remove trailing tabs
* stress-l1cache: enable simple checking with --verify option
* stress-copy-file: enable --verify check
* Add sendfile system call autobuild detection
* stress-iomix: add sendfile I/O file data copying mechanism
* stress-iomix: add copy_file_range I/O copies for systems that
support this
* bash-completion: update copyright
* Add the --verifiable option
* README.md: add another kernel bug citation
* stress-sysinval: use locking around multiple debug messages
* stress-sysinval: use pre-allocated pool for hash items
* stress-sysinval: use uint64_t for counters
* stress-sysinval: fix typo in system call io_pgetevents*
* stress-sysinval: disable stack clobbering check for child process
* stress-einval: fix incorrect crash and timeout tracking
* stress-enosys: add in more missing system calls
* stress-sysinval: add more missing system calls
* stress-clone: re-order CLONE_* flags in line with the linux header
* stress-enosys: add in missing prlimit
* stress-sysinval: Add in some missing system calls
* stress-stream: only declare has_sse2 when HAVE_NT_STORE_DOUBLE is
defined
* stress-enosys: add a few missing system calls
* Fix various spelling mistakes
* stress-dentry: remove linux check around stress_dentry_state call
* stress-dentry: fix incorrect position if #endif
* Add xxhash library to build notes for Debian/Fedora/SUSE
* stress-hash: add xxhash support
* stress-revio: add more yield point checking
* Manual: add in new vm stressor method --cache-lines
* stress-dentry: log the number of new dentries created in cache
* stress-seek: add lseek64 call if it is available
* stress-memrate: fix memrate rate speed
* Add vm stressor method --cache-lines to walk through memory in cache
line steps
* stress-vm: add cache block forward/reverse memory writes
* stress-vm: fix typo in comment, remove extraneous word at
* stress-physpage: add notes about why /dev/mem -EPERM errors
* stress-vm: add 32 x 64 non-temporal write method
* stress-vm: add 1028 bit vector write
* stress-stream: cater for non-sse2 x86 cpus
* stress-pthread: set process name to include thread instance number
* stress-oom-pipe: bail out early on pipe creation when we hit an error
* core-log: move #endif to re-enable locking
* core-out-of-memory.c: fix oom adjustment for older kernel OOM
interface
* stress-stream: only use non-temporal stores for index0 writes
* core-nt-store: fix up gcc macro check for double nt stores
* stress-stream: use non-temporal stores to optimize streaming writes
* stress-memrate: add 1024 bit read/write, use vectors for 128 bits if
supported
* stress-madvise: add more MADV_ options supported by other kernels
* stress-mmap: add MAP_LOW32 Solaris mmap option
* stress-mmapfork: rename macros, add MMAPFORK prefix
* stress-dev: exercise various open options on device
* stress-dev: cleanup UNEXPECTED macro indentation
* stress-udp: remove some extraneous lines
* stress-loadavg: add timeout poll for extra yielding detection
* core-vmstat: implement non-linux method for stress_find_mount_dev
* stress-usersyscall: move help, fixes build on non-Linux systems
* stress-ng.h: forgot to add the stress_find_mount_dev prototype
to stress-ng.h
* stress-rawdev: determine underlying device using stress_find_mount_dev
* stress-mmapfork: add #if defined checks for specific MADV flags
* stress-pageswap: exercise page mapping, swap out, swap in and
unmapping
* Use intmax_t type and PRIdMAX to print format pid_t pids
* stress-madvise: exercise /proc/$PID/smaps file
* stress-daemon: make backoff a macro value
* stress-sparsematrix: move blank line, it is in the wrong place
* stress-memrate: use two variants of each reader/writer and unroll
loops more
* stress-vecwide: use core-vecmath.h to check for vector capability
* stress-usesyscall: exercise non-libc bounded calls
* stress-ng: make g_unsupported a local variable
* stress-schedpolicy: run just stressor as DEADLINE
* stress-sigsegv: generate SIGSEGV on x86 using msr read and
misaligned reads
* stress-fifo: Fix spelling mistake "stessors" -> "stressors"
* stress-sysbadaddr: Fix spelling mistake "excute" -> "execute"
* stress-chroot: fix spelling mistake in chroot help "chhroot" -> "chroot"
* stress-ng: fix typo: untrustyworthy -> untrustworthy
* stress-usersyscall: add user space system call stressing
* stress-enosys: simplify expression
* stress-dentry: move rdfds fd_set to code block
* stress-dentry: move timeout to specific code block
* stress-affinity: constify a pointer argument
* README.md: Add another citation
* stress-loop: add sync to avoid loop_set_block_size warning messages
* stress-swap: disable CoW for swap, madvise pages to be swapped out
* Move _ARCH_ macros into core-arch.h
* stress-ng.h: remove EXIT_SUCCESS, EXIT_FAILURE macro checks/defines
* stress-malloc: add heap trimming with malloc_trim
* core-log: add ( ) to clarify operator precedence
* cleanup: voidify some function returns
* stress-misaligned: add 32 and 64 bit non-temporal writes
* stress-misaligned: remove keep stressing check in results
* stress-memthrash: use core-nt-temporal.h helper functions
* core-nt-store.h: put non-temporal store helpers into header file
* stress-enosys: remove REDO debug
* stress-enosys: limit hash'd calls to less than 65536
* stress-enosys: hash on unsigned syscall number
* stress-ng: clear /sys/kernel/debug/clear_warn_once where possible
* stress-nop: add tpause wait
* core-cpu: add in more x86 feature flag bits
* stress-enosys: add more linux system calls
* Manual: remove extraneous word "good"
* stress-syncload: remove #if 0 debug
* stress-syncload: add yield point in busy loop
* Add core-vecmath for vector math op checking, add vector ops to
syncload
* stress-sparsematrix: zero pvalue only when pvalue is non-null
-- Colin Ian King <colin.i.king@gmail.com> Sun, 6 Mar 2022 22:01:02 +0100
stress-ng (0.13.11-1) unstable; urgency=medium
[Aboorva Devarajan]
* stress-sem: fix macro definition
[Jules Maselbas]
* stress-rseq: inline the nop instruction and add Kalray VLIW nop
* stress-nop: Fix nop asm instruction for KVX
[Colin Ian King]
* Debian: update changelog
* debian: update copyright year
* Makefile: bump version
* Makefile: add two missing header files from make dist rule
* Manual: update contributors list
* core-log: forgot to check-in the --stdout changes
* Add --stdout option to send run time messages to --stdout
* stress-kvm: only allow on x86-64 for now.
* stress-hash: set correct big endian checksum for mulxror64
* core-shim: fix build error on Minix, replace __NR_unlinkat with 0
* core-shim: fully implement shim_unlinkat
* stress-clock: don't build shim_clock_adjtime if it is not required
* stress-clock: fix build issue on BSD for shim_clock_adjtime
* stress-dev: only define stress_dev_tty if TCGETS is available
* stress-dir: include libgen.h for basename definition
* stress-dev: include libgen.h for basename definition
* core-shim: include core-pragma.h to fix OS X build failure
* Manual: update contributors and date
* Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
* core-*, stress-*: update copyright
* stress-ng.h: Disable fortified build for PCC
* stress-clock: move shim_clock_adjtime to stress-clock
* core-*: add UNEXPECTED #ifdef checking
* stress-*: add UNEXPECTED #ifdef checking
* stress-dev: add unexpected build failure #else path detection
* core-shim: move include linux/futex.h to core
* stress-sysfs: move include linux/fs.h to stressor
* core-helper: move include linux/fs.h to core
* stress-udp: move include linux/udp.h to stressor
* core-helper: move HAVE_PRCTL_TIMER_SLACK to core
* stress-prctl: move include sys/capability.h to stressor
* stress-sockmany: move include netinet/tcp.h to stressor
* stress-sock: netinet/in.h and arpa/inet.h to stressor
* stress-*: move include netinet/in.h and arpa/inet.h to stressors
* stress-*: move include net/if.h to stressors
* stress-*: move include netinet/ip.h to stressors
* stress-dev: move include sound/asound.h to stressors
* stress-dev, stress-pty: move include termio.h to stressors
* stress-*: move include poll.h to stressors
* core-log, stress-ng: move include syslog.h to core
* core-perf: move include local.h to core
* stress-fp-error, stress-sigfpe: move include float.h to stressor
* stress-set: move include grp.h to stressor
* core-mounts, core-vmstat: move include mntent.h to core
* stress-resources, stress-sem: move include semaphore.h to stressors
* stress-vdso: move include link.h to stressor
* stress-*: move include utime.h to stressors
* stress-mq, stress-resources, stress-switch: move include mqueue.h
to stressors
* stress-malloc: move include malloc.h to stressor
* core-*, stress-*: move xattr includes to core and stressors
* stress-sock: move include netinet/tcp.h to stressor
* stress-icmp-flood, stress-ping-sock: move include netinet/ip_icmp.h
to stressors
* core-*, stress-*: move include sys/capability.h to core and
stressors
* stress-*: move include sys/select.h to stressors
* stress-msg, stress-resource, stress-shmsysv: move include
sys/ipc.h to core and stressors
* core-*, stress-*: move include sys/sysmacros.h to core and stressors
* core-*, stress-*: move include sys/statfs.h to core and stressors
* core-*, stress-*: move include sys/swap.h to core and stressors
* stress-swap: move include sys/swap.h to stressor
* core-*, stress-*: include sys/un.h to core and stressors
* core-shim: move include sys/random.h to core
* stress-msg, stress-resources: move include sys/msg.h to stressor
* stress-resources, stress-sem-sysv, stress-switch: move include
sys/sem.h to stressor
* stress-shm-sysv: move include sys/shm.h to stressor
* core-*, stress-*: move include sys/mount.h to core and stressors
* stress-*: move include sys/utsname.h to stressors
* stress-get: move include sys/vfs.h to stressor
* stress-ptrace, stress-vm-segv: move include sys/ptrace.h to
stressors
* stress-*: move include sys/statvfs.h to stressors
* stress-*: move include sys/prctl.h to stressors
* stress-*: move include sys/inotify.h to stressors
* stress-ioport, stress-smi: move include sys/io.h to stressors
* stress-fp-error, stress-sigfpe: move include fenv.h to stressors
* stress-close, stress-fanotify: move include sys/fanotify.h
to stressors
* stress-*: move include sys/eventfd.h to stressors
* stress-prctl: move include asm/prctl.h to stressor
* stress-*: move include libgen.h to stressors
* stress-sctp: move include netinet/sctp.h to stressor
* core-shim: move HAVE_PKEY_GET/HAVE_PKEY_SET to core
* stress-*: move HAVE_USERFAULTFD to stressors
* stress-netlink-proc: move include linux/version.h to stressor
* stress-key: move include keyutils.h to stressor
* stress-dev, stress-getrandom, stress-urandom: move include
linux/random.h to stressors
* stress-af-alg: move include linux/socket.h to stressor
* stress-*: move include linux/netlink.h to stressors
* stress-*: move include linux/sockios.h to stressors
* stress-get: move include linux/sysctl.h to stressor
* stress-numa, stress-shm-sysv: move include linux/mempolicy.h
to stressor
* stress-opcode, stress-seccomp: move include linux/filter.h
to stressor
* stress-sockdiag: move include linux/rtnetlink.h to stressor
* stress-rawpkt, stress-udp: move include linux/udp.h to stressor
* stress-dev: move include linux/ppdev.h to stressor
* stress-rawpkt: move include linux/if_packet.h to stressor
* core-perf: move include linux/perf_event.h to corew
* stress-membarrier: move include linux/membarrier.h to stressor
* stress-*: move include linux/secccomp.h to stressors
* stress-*: move include sys/epoll.h to stressors
* stress-*: move include ucontext.h to stressors
* core-*, stress-*: move include sys/auxv.h to core and stressors
* stress-memrate, stress-memthrash: move include xmmintrin.h
to stressors
* core-helper: move include sys/mount.h to core
* core-shim: move include sys/ustat.h to core
* stress-fiemap: forgot to add in linux/fs.h
* core-mounts: move include sys/ucred.h to core
* stress-wcstr: move include bsd/wchar.h to stressort
* stress-dynlib: move dynlib includes to stressor
* stress-*: move include linux/fs.h to stressor
* core-vmstat: move include sys/sysctl.h to stressor
* core-vmstat: move include sys/vmmeter.h to stressor
* stress-sockdiag: move include linux/sock_diag.h to stressor
* stress-sockdiag: move include linux/unix_diag.h to stressor
* stress-netlink-{proc|task}: move include linux/connector.h
to stressor
* stress-netlink-{proc|task}: move include linux/cn_proc.h
to stressor
* stress-dev: add in some missing scsi includes
* stress-dev: move include scsi/scsi.h to stressor
* stress-dev: move include linux/media.h to stressor
* stress-dev: move include linux/hdreg.h to stressor
* stress-dev: move include linux/ptp_clock.h to stressor
* stress-procfs: move include linux/pci.h to stressor
* stress-futex, stress-pthread: move include linux/futex.h to
stressors
* stress-dev: move include linux/hpet.h to stressor
* stress-dev: move include linux/cdrom.h to stressor
* stress-sockpair: call sockpair stressor from OOMable restart
handler
* stress-sockpair: try to make parent more OOM friendly
* stress-sockpair: add EPIPE checking and EPIPE signal handler
* stress-alarm: use the no-op signal handler
* stress-loop: move include linux/loop.h to stressor
* stress-opcode, stress-seccomp: move include linux/audit.h to
stressors
* stress-dev: move include linux/dm-ioctl.h to stressor
* stress-dev: move include linux/kd.h to stressor
* stress-landlock: move include linux/landlock.h to stressor
* stress-kvm: move include linux/kvm.h to stressor
* stress-open: move include linux/openat2.h to stressor
* coreftrace, stress-*, move tree includes into core and stressors
* stress-resources, stress-timerfd: move include sys/timerfd.h
to stressors
* stress-procfs: move include asm/mtrr.h to stressor
* stress-*, core-shim: move include asm/ldt.h to stressor
* stress-dev: move include linux/usbdevice_fs.h to stressor
* Revert "stress-ng.h: remove usbdevice_fs.h"
* core-smart: move include scsi/scsi_sg.h to core
* stress-rtc: move include linux/rtc.h to stressor
* core-shim: move include scsi/scsi_ioctl.h to core
* stress-list: move include sys/queue.h to stressor
* core-shim: move include asm/cachectl.h to core
* stress-set: move include sys/fsuid.h to stressor
* stress-tsc: move include sys/platform/ppc.h to stressor
* stress-*.c: move include sys/uio.h to some stressors
* stress-ng.h: remove usbdevice_fs.h
* stress-dev: move include videodev2.h to stressor
* stress-dev: move include vt.h to stressor
* stress-rawpkt, stress-tun: move include if_tun.h to stressors
* stress-af-alg: move include if_alg.h to stressor
* stress-netlink-task: move include genetlink.h to stressor
* stress-fiemap, core-helper: move include fiemap.h to stressor
and core
* stress-netlink-task: move include taskstats.h to stressor
* stress-io-uring: move include io-uring.h to stressor
* stress-binderfs: move include binderfs headers to stressor
* stress-personality: move include personality.h to stressor
* stress-rseq: move include rseq.h to stressor
* stress-sigfd, stress-close: move include wchar.h to stressors
* stress-wcstr: move include wchar.h to stressor
* stress-sendfile: move include sendfile.h to stressor
* stress-verity: move include fsverity.h to stressor
* stress-userfaultfd: move include userfaultfd.h to stressor
* stress-quota: move include quota.h to stressor
* stress-watchog: move include watchdog.h to stressor
* stress-spawn.c: move include spawn.h to stressor
* core-module: move include libkmod.h into core-module
* stress-apparmor: move include sys/apparmor.h to stressor
* stress-aio-linux: move libaio.h include to the stressor
* stress-ipsec-mb: update copyright
* stress-ipsec-mb: move intel-ipsec-mb.h into the stressor
* stress-judy, stress-sparsematrix: move Judy.h into stressors
* stress-cpu, stress-funccall: move complex.h into stressors
* stress-crypt: move crypt.h include into stress-crypt.h
* stress-aio: move aio.h include into stress-aio.h
* stress-ng.h: remove ioprio macros
* core-io-priority.h: add include file with io priority macros
* core-sched.c: move sched related macros to core-sched.c
* stress-getdent.c: move getdent system call macros to
stress-getdent.c
* core-cache.h: move two more cache macros to core-cache.h
* stress-ioprio: move ioprio related syscall macros to stress-ioprio
* stress-mmap: move mmap2 related syscall macro to stress-mmmap
* stress-schedpolicy: move sched attr related syscall macros to
stress-schedpolicy
* stress-ng.h: remove HAVE_SET_THREAD_AREA, it is not used
* stress-membarrier: move syslog related syscall macro to
stress-membarrier
* stress-klog: move syslog related syscall macro to stress-klog
* stress-pthread: move thread area related syscall macro to
stress-pthread
* stress-pthread: move robust list related syscall macros to
stress-pthread
* stress-kcmp: move kcmp related syscall macro to stress-kcmp
* stress-key: move key related syscall macros to stress-key
* core-perf: include core-perf.h
* stress-fp-error: relax checks for icc compiler
* core-ftrace: include core-ftrace.h
* core-thrash: include core-thrash.h
* core-thermal-zone: include core-thermal-zone.h
* core-smart: include core-smart.h
* core-hash: include core-hash.h
* stress-misaligned: include core-target-clones.h
* core-helper: fix stress_get_prime64, value should be different
on each call
* README.md: Add another kernel improvement where stress-ng was used
* stress-ng.h: remove debug macro pr_dbg_v
* core-cache.h: move shim_mfence to core-cache.h from stress-ng.h
* core-cache.h: move shim_builtin_prefetch to core-cache.h from
stress-ng.h
* core-cache.h: move cache helper functions/macros to core-cache.h
from stress-ng.h
* stress-ng.h: remove macro STRESS_PAGE_IN, it it no longer used
* core-net.h: move some network macros from stress-ng.h
to core-net.h
* stress-rawudp: add in missing core-net.h include
* core-ftrace.h: move ftrace helper definitions to core-ftrace.h
from stress-ng.h
* core-net.h: move net helper definitions to core-net.h from
stress-ng.h
* core-thrash.h: move thrash helper definitions to core-trash.h
from stress-ng.h
* core-smart.h: more SMART helper definitions to core-smart.h
from stress-ng.h
* core-thermal-zone.h: more helper definitions to
core-thermal-zone.h from stress-ng.h
* core-perf.h: more perf helper definitions to core-perf.h from
stress-ng.h
* core-helper: add a no-operation signal handler
stress_sighandler_nop
* core-hash: fix verify checksum for hash mulxror64
* stress-apparmor: update copyright boilerplate message
* stress-apparmor: include core-capabilities.h
* core-mwc: move STRESS_MWC* macros to stress-mwc.c
* stress-cpu.h: move FORCE_DO_NOTHING macro to stress-cpu.c
* core-pragma: move pragma related macros to new header
* Makefile: Add core*h as part of obj build dependencies
* Makefile: add new core-*h files to make dist rule
* core-capabilities: move *CAP* capability macros to new header
* core-target-clones: move TARGET_CLONES macros to new header
* core-put: fix copyright
* core-put: move put helpers to core-put.h
* stress-cache: make helper asm functions inline
* core-mwc: move mwc struct typedef to core-mwc.c
* stress-affinity: constify a couple of variables
* stress-ng.h: Add in some spaces between #includes
* stress-atomic: update copyright
* stress-af-alg: constify some string pointers
* stress-atomic: clean up macros
* stress-switch: use the set_default callback to set the default
method
* stress-ng.h: cleanup, re-ordering, comment updates
* core-perf: add NMI perf metric
* stress-ng.h: move per-stressor macros to stressors
* stress-fault: move initialization of i, update copyright
* stress-fanotify: comment struct fields, update copyright
* core-cpu: update copyright year
* core-cache: add TiB and clear up some minor space formatting
* stress-vecwide: limit to 2K wide
* stress-switch: update copyright
* stress-switch: add mq and sem-sysv methods
* stress-null: exercise more with fcntl and ioctl
* stress-null: add lseeks to /dev/null for more kernel exercising
* stress-memthrash: add check for SSE2 for non-temporal writes
* stress-memthrash: update copyright
* stress-memthrash: add a 8 x 64 bit memset using non-temporal
stores if possible
* stress-memrate: only use non-temporal stores for SSE2 enabled CPUs
* core-cpu: add sse and sse2 CPUID checks for x86
* stress-hash: add mulxror64 hash
* Manual: move kvm options to correct place in manual
* stress-hash: add 3 more hash functions to the mix
* stress-str: remove assignment after typedef
* README.md: Add Intel icc compiler notes
* README.md: Add alpha to architectures validated with stress-ng
* stress-str: fix index() test, remove code that got incorrectly
merged in
* stress-sparsematrix: deprecate judy arrays for 32 bit systems
* stress-str,wcstr: deconsitify void * func pointer
* README.md: add another linux commit that used stress-ng to
improve performance
* Various changes to make stress-ng build with the Intel
compiler icc
* core-cache: use correct type for value
* Fix pcc and tcc build issues, add pcc + tcc version information
* stress-ng.h: don't used deprecated attribute for non-gcc/clang
toolchains
* stress-enosys: disable x86 syscall exercising for tcc builds
* stress-hash: make functions static
* Disable deprecated warnings for pedantic builds
* core-hash: Add in missing const to pointers
* stress-hash: add 32 bit fetch optimized coffin hash
* core-hash: add HOT attribute to hash functions
* stress-hash: remove md5crc32c, it is way too slow
* stress-hash: remove debug
* stress-hash: check for error return string marker in md5 crypt
result
* stress-hash: don't exercise md5 if it fails
* core-hash: add more hash methods
* core-hash: Move adler, muladd32 and mullad64 from stress-hash
to core-hash
* stress-mwc: rename stress_mwc_seed and add stress_mwc_get_seed
* stress-hash: add OPTIMIZE3 -O3 hint on adler hash function
* stress-cache: constify bucket parameter
* stress-hash: fix --verfiy checksum values
* stress-hash: align buffer to 64 byte boundary
* stress-hash: add the adler32 hash
* stress-hash: add 3 more simple hash methods and a goodness score
* Add --keep-files option
* core-helper: unlink should be rmdir for failed stress_temp_dir_mk
* stress-hash: remove empty line
* stress-hash: use variable rate for hashing rate calculation
* stress-hash: correct the big endian murmur3_32 hash checksum
* stress-prctl: use linux uapi defined names for prctl
* stress-sigsegv: add int instruction to trigger SIGSEGV on x86
* stress-sparsematrix: clean up variable name shadowing
* stress-hash: constify a parameter
* Move cpu hash stressors into a new hash test stressor
* stress-chattr: add more yield points during chattr exercising
* stress-fpunch: update copyright
* stress-aio: update copyright
* stress-aio: don't warn if cancelled is OK or EINTR
* stress-fpunch: make children more yielding
* stress-ng: ensure checksum region is large enough
* stress-sparsematrix: use shim'd strlcpy to fix build issues (#170)
* stress-cpu: fix crc32c checksum verification check
* stress-sparsematrix: clean up some tab/whitespaces
* stress-sparsematrix: add non-sparse mmap and sparse qhash methods
* stress-cpu: add CRC32C to hash random strings
* stress-sparsematrix: remove SIGALRM handling, replace with yield
points
* stress-sparsematrix: bail out early if put fails
* stress-sparsematrix: make sparse destroy a void return func
* stress-sparsematrix: add error checking in put failures
* stress-sparsematrix: make del() void since the error return is
ignored
* stress-sparsematrix: optimize get(), return value rather than by
pointer arg
* stress-sparsematrix: add implementation using judy arrays
* stress-sparsematrix: Add a sparse matrix memory/cache stressor
* stress-crypt: add yield point per crypto iteration
* stress-dev: add yield point while scanning for available devs
* stress-misaligned: add yield point when scanning through list
of functions
* stress-misaligned: add more yield points for slower emulated
systems
* stress-pipeherd: add yield check on startup
-- Colin Ian King <colin.i.king@gmail.com> Sat, 29 Jan 2022 23:24:25 +0100
stress-ng (0.13.10-1) unstable; urgency=medium
* Makefile: bump date and update copyright year
* Manual: update date
* stress-kvm: rename regs to kregs to avoid name shadowing
* core-shim: typedef statx buf to simplify different statx sizes
* stress-set: only #define some macros if they are not already defined
* stress-get: only #define some macros if they are not already defined
* stress-memfd: only use MAP_POPULATE if it is defined
* core-shim: make shim_cacheflush use builtin gcc variant where
applicable
* stress-ng.h: Add MIPS arch macro
* stress-cache: disable cache flags one by one if SIGILL occurs
* stress-cache: add cldemote instruction runtime and build time checks
* core-shim: fix typo in cacheflush wrapper on bytes/nbytes arg
* core-shim: use shim statx struct for __NR_statx call
* stress-ng.h: don't define HAVE_GETCPU and HAVE_GETTID
* stress-ng: voidify return from write
* stress-syncload: remove need for atomic reads of start time
* stress-syncload: remove stress_syncload_settime
* core-shim: fix statx shim for non-Linux systems
* stress-shm: zero msg struct to clean up valgrind warning
* stress-schedpolicy: zero structs on get calls to silence valgrind
warnings
* stress-numa: memset nodemask to keep valgrind happy
* stress-tmpfs: only define TMPFS_MAGIC if it is not already defined
* stress-inode-flags: flags argument should be long int rather than int
* stress-syncload: fix atomic load arg order reversal
* stress-context: zero all context bytes to keep valgrind happy
* stress-dev: add usb core device ioctl exerciser
* stress-ng: improve error clean-up paths in main
* stress-mcontent: update copyright year
* stress-mcontend: add check for pause instruction
* stress-cache: update copyright year
* stress-ng.c: use static buffer to format message, write to stderr
* stress-cache: remove space between arguments in function call
* stress-dev: use invalid keycode to stop ESC being remapped
* stress-sleep: update copyright
* stress-sleep: add nanosecond sleep delays using pselect
* stress-dev: remove debug continue statement
* stress-dev: add yield point check while traversing devices
* stress-fiemap: remove blank line
* stress-dev: remove hashing, replace with device list and device state
* stress-kill: kill unused pid for -ESRCH error
* stress-fallocate: remove empty line
* stress-eventfd: remove empty line
* stress-procfs: rework procfs reverse read to force misaligned reads
* Forgot to commit changes to stress-ng.h
* core-shim: add missing comment blocks
* core-shim: add statx system call autobuild detection
* core-shim: Add mlock2 system call autobuild detection
* core-shim: Add unshare system call autobuild detection
* core-shim: Add memfd_create system call autobuild detection
* core-shim: Add getrandom system call autobuild detection
* core-shim: Add getcpu system call autobuild detection
* core-shim: Add gettid system call autobuild detection
* core-shim: Add cacheflush system call autobuild detection
* stress-nop: add a random nop option
* stress-nop: add S390 nopr nop variant
* stress-nop: add mdoio, mdoom and yield nops for PPC64
* stress-kvm: re-word kvm help text, remove CLASS_MEMORY flag
* stress-kvm: Fix GPL comment boilerplate
* stress-kvm: don't treat EINTR on KVM_RUN as an error
* Add Linux kvm stressor, initially just supporting x86
* stress-memfd: remove some blank lines
* stress-memfd: clean up some minor white space issues
* core-hash: remove UNLIKELY macro, it confusing cppcheck
* core-cpu: update copyright and add more comment blocks
* stress-softlockup: update copyright
* stress-softlockup: remove redundant unset global timeout check
* stress-softlockup: print some messages only from 1st instance
* stress-procfs: fix pr_* messages, use correct stressor name and
path name
-- Colin Ian King <colin.i.king@gmail.com> Tue, 4 Jan 2022 22:20:02 +0100
stress-ng (0.13.09-1) unstable; urgency=medium
* stress-syncload: add build time check that atomic ops on doubles
is supported
* stress-ng.h: Make start_time naturally aligned for improved
atomic performance
* stress-syncload: Remove sched yield
* stress-ng.h: no need for start_time to be volatile
* stress-syncload: use atomic load/store in preference to spinlock
* stress-synload: add yield points for OS X builds
* stress-x86syscall: reduce the scope of variable str
* stress-x86syscall: reduce the scope of variable str
* stress-randlist: reduce the scope of variable i
* stress-aio: reduce the scope of variable ret
* stress-cache: ensure variable cpu is not clobbered
* stress-syncload: only declare ret if it is required
* core-vmstat: only build stress_find_mount_dev for linux
* core-vmstat: make stress_find_mount_dev static
* stress-vforkmany, fork: use indirect vfork call
* stress-nop: inline each nop instruction and add Kalray VLIW nop
* stress-cache: ensure variable masked_flags is not clobbered
* stress-bad-altstack: use valid smallest alternative stack
* stress-skiplist: zero allocated list items and free list on
alloc failure
* stress-*fork: use vfork shim wrapper macro to use syscall or vfork
* stress-memthrash: define stress_memthrash_flush only for x86
* stress-pthread: use calloc'd stack in preference to mmap'd one
* Add hppa architecture and disable sigaltstack
* stress-cache: move on to next round if SIGSEGV occurs w/o timeout
* stress-cache: add more SIGSEGV detection and fix ret return
* test-fanonify: remove include of stress-ng.h
* core-cache: only perform sparc cache checks for sparc builds
* stress-fp-error: workaround 1 / PI inexact fp error issue
* core-cache: add Linux arch Alpha cache size detection
* stress-ng.h: ensure ARCH specific #defines are defined to a value
* Rename ARM asm macros and tests with ARM in name, part #1, ARM
* Rename ppc64 asm macros and tests with ppc64 in name, part #1, ppc64
* Rename x86 asm macros and tests with x86 in name, part #1, x86
* Add autocheck of clflush x86 instruction and check if it is
available at run time
* Rename STRESS_ARCH_RISC_V to STRESS_ARCH_RISCV
* Add RISC-V memory fence shim helper
* core-vmstat: update copyright
* stress-readahead: Update copyright
* stress-iomix: update copyright
* stress-iomix: try to drop cached data after sync'd to file
* stress-iomix: add in missing comment
* stress-iomix: add madvise calls to make reads more effort
* stress-readahead: add fadvise call to try and drop cached data
* core-vmstat: remove some trailing white spaces
* core-vmstat: improve device name lookup for iostat
* stress-ng: Fix --temp-path directory checking (#163)
-- Colin Ian King <colin.i.king@gmail.com> Sun, 19 Dec 2021 20:42:44 +0100
stress-ng (0.13.08-1) unstable; urgency=medium
[Alexander Kanavin]
* Do not preserve ownership when installing example jobs
[John Kacur]
* stress-ng: Fix potential overrun in msgsnd
[Colin Ian King]
* Makefile: bump version
* Manual: update date and update contributors
* stress-misaligned: disable atomic ops for SH4
* stress-randlist: ensure memory pointed to by ptrs is free'd
* debian/control: update standards version to 4.6.0
* stress-randlist: clear up gcc warning on openhipster
* stress-cache: make loop variable j a register volatile
* stress-sigfpe: add work around for M68K linux devices
* stress-sigfpe: annotate expected use of specific fpe flags
* stress-sigfpe: Add comment regarding floating point division by zero
* Add syncload synchronized bursty load stressor
* stress-ng: reformat long_options, align 2nd value
* stress-randlist: fix the class type
* stress-stackmmap: stash non-stack address to clean up scan-build warning
* test/test-pthread-attr-setstack.c: remove redundant assignment to ret
* stress-secretmem: fix memory leak on object mappings
* test/test-getmntent: exercise mount struct
* test/test-libkmod: voidify variable module_name
* test/test-timer-create: remove redundant variable t
* stress-dev: remove redundant assignment to variable claimed
* stress-prctl: voidify return from prctl calls
* stress-x86syscall: fix --x86syscall-func segfault
* test/test-__restrict: use src dst names for ptr2, ptr1 and fix eos check
* stress-mincore: unmap before closing fd, fixes a hidden file issue on fuse
* stress-mcontend: unmap before closing fd, fixes a hidden file issue on fuse
* stress-rmap: unmap before closing fd, fixes a hidden file issue on fuse
* stress-ng: make pr_inf stat error message a verbose debug error message
* stress-mincore: close fd before removing directory
* stress-mcontend: close file early, ensure directory is deleted on error
* stress-verity: add ENOSYS error return check for non-implemented verity functionality
* stress-timer: set timer on each timer duration update
* README.md: Add one more project citation
* stress-goto: add a new stressor to exercise heavy goto branching
* core-cpu: annotate cpuid registers that need to be set and values returned
* stress-hrtimers: update copyright
* stress-hrtimers: add --hrtimers-adjust for automatic rate adjustment
* Rename stress_check_value to stress_check_max_stressors
* stress-smi: use no-op command instant of 1 to trigger SMI
* stress-cache: fix build issue
* stress-cache: remove some white spaces
* stress-cache: add --cldemote option
* stress-cache: use random cache flags if none are provided
* core-cpu: remove unnecessary inner #ifdef'd code
* stress-cache: add --clflushopt option
* Replace char *str = "text" with char str[] = "text"
* core-cpu: declare stress_cpu_x86_extended_features only for x86 arches
* stress-rdrand: only allow --rdrand-seed if rdseed instruction is available
* Remove need for HAVE_CPUID_H and HAVE_CPUID checks
* Remove __get_cpuid usage and build checking
* stress-smi: use stress_cpu_x86_has_msr helper
* stress-x86syscall: use stress_cpu_x86_has_syscall helper
* stress-tsc: use stress_cpu_x86_has_tsc helper
* stress-rdrand: use stress_cpu_x86_has_rdrand helper
* stress-enosys: don't use __cpuid and check for SIGILL on syscalls
* stress-cpu: use stress-ng cpuid rather than gcc __cpuid
* core-cpu: add stress-ng x86 cpuid implementation
* stress-lockbus: add sync_bool_compare_and_swap
* stress-ng: make a couple of the inline helpers always inline
* Fix some spelling mistakes in comments
* core-perf: Add Cgroup Switches and add missing tab in CPU Migrations
* stress-ng.h: implement shim_clflush as a cacheflush call
* stress-memrate: use clang __builtin_nontemporal_store
* stress-numa: exercise invalid MPOL_F_NUMA_BALANCING | MPOL_LOCAL mbind options
* stress-memrate: add non-temporal (cacheless) writes for x86
* stress-fanotify: add FAN_FS_ERROR flag
-- Colin Ian King <colin.i.king@gmail.com> Tue, 7 Dec 2021 13:19:23 +0100
stress-ng (0.13.07-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: update copyright
* manual: update date, author email and copyright
* debian/copyright: update copyright
* debian/control: update email address
* stress-resched: move declaration of j, clean up build warning
* stress-resched: fix build error on systems without sched_setscheduler
* stress-sigq: exercise invalid signal on rt_sigqueueinfo call
* core-log: don't open/close stdout, use fileno on stdout instead
* stress-ng: remove commented out stress_set_proc_name call
* stress-vecwide: add a wide vector math stressor
* Makefile.config: add alderlake optimization target clones
* stress-filename: stat file before creation, during and after unlink
* stress-prctl: exercise Linux 5.15 ARCH_GET_XCOMP_ arch_prctl calls
* stress-vm: add grayflip method.
* debian/control: update standards version
* stress-hdd: ensure offset is aligned to 512 byte boundary
* Refine target-clones attribute to determine attributes at build time
* stress-prctl: fix typo in comment: fine -> find
* stress-futex: add Linux 5.16 futex_waitv call
* Make one thousanth, one millionth and one billionth constants
* core-vmstat: remove tabs and spaces
* stress-atomic: add more contention by running 4 processes per stressor
* stress-atomic: use lower optimization level on sh gcc
* core-time: scale by multiplying by one millions
* Add --resched rescheduling stressor
-- Colin Ian King <colin.i.king@gmail.com> Mon, 16 Nov 2021 00:01:02 +0000
stress-ng (0.13.06-1) unstable; urgency=medium
[Alexander Kanavin]
* Makefile: do not write the timestamp into compressed manpage.
[John Kacur]
* stress-ng: Conscientious Language effort
[Colin Ian King]
* Makefile: bump version
* Debian: update control - use ubuntu email
* Add autobuild detection of sys/loadavg.h
* stress-rdrand: add missing 2x32 read variant of rdseed
* stress-dev: optimization: cache all dev entries in a hash table
* debian/watch: update to use github tarball name mangling
* debian/copyright: Fix URLs to project and email contact
* Rename HAVE_STRLCPY and HAVE_STRLCAT to fix Nixos libbsd macro clash
* stress-bad-ioctl: optimization: cache a copy of all dev names
* voidify returns from fflush and fprintf calls
* stress-mmap: exercise OpenBSD mquery system call on mapped pages
* stress-madvise: add OS X MADV_ZERO_WIRED_PAGES madvise advise
* stress-madvise: Add OpenBSD MADV_SPACEAVAIL madvise option
* stress-mmap: Add some missing NetBSD and OpenBSD mmap flag types
* Add stress_killpid helper to kill and fast reap memory
* stress-bad-altstack: make stack write-only to cause double trap
* stress-prefetch: stash pre_ptr to force compiler to use it in
the benchmark loop
* stress-kill: fix incorrect voidification of return value from kill
* stress-vm-splice: break open statement into two statements
* stress-branch: update copyright
* stress-branch: remove empty line
* stress-branch: shrink branch code, increase branches from 256 to 1024
* README.md Add another link to a performance regression found by
stress-ng
* stress-rdrand: add option to exercise rdseed x86 instruction
* core-thermal-zone: replace non-alpha/digits in type name with _
* core-vmstat: disable iostat for non-linux systems
* stress-atomic: don't perform atomic 64 bit ops on 32 bit platforms
* core-vmstat: ensure all fields in vmstat_current are zero'd
* stress-ng.h: Don't include sys/sysctl.h in Linux, it has been
deprecated
* Makefile.config: Fix sys/vmmeter.h autodetection
* stress-atomic: Add finder build time detection of atomic intrinsics
* core-vmstat: Add FreeBSD implementation to system statistics
* core-helper.c: fix typo, GETLOADAVG should be HAVE_GETLOADAVG
* core-vmstat: fix buffer overrun on therms
* Add build time detection for getloadavg
* Debian control: update homepage URL
* README.md: Add tarball version information
* Add build time pragma support detection
* stress-bad-altstack: move pragmas to be around the function
stress_bad_altstack_force_fault
* stress-smi: make not being able to load a module non-fatal
* core-vmstat: don't build in iostat metrics if major/minor macros
aren't available
* REAME.md: Fix typo, 650 -> 260
-- Colin King <colin.king@ubuntu.com> Thu, 28 Oct 2021 09:36:17 +0100
stress-ng (0.13.05-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: rename README to README.md in the make dist rule
* Manual: update date
* README.md: Add note to run make clean after git fetch
* README.md: add some examples
* README.md: Clean up white spaces in markup
* README.md: add citations
* README: Rename to README.me and add github style markdown
* Revert "stress-aio-linux: clean up valgrind uninitialized memory
warnings"
* stress-dev: only define PPGETTIME{32|64} if PP_IOCT is defined
* stress-ng.h: Fix missing \ in STRESS_PRAGMA_WARN_OFF macro
* Revert "stress-cache: add clobbering warning pragma workaround"
* stress-cache: add clobbering warning pragma workaround
* stress-dev: don't declare stress_dev_scsi_generic_linux for
non-linux targets
* stress-dev: remove EMU debug message
* stress-aio: clean async io cancel, check status with aio_error
* stress-vm: clear up volatile discards warning with pedantic build
* stress-kill: send signals to a child process to add more stress
* stress-branch: double number of branch points, makes prediction
harder for CPU
* stress-vm: add mscan vm memory exercising method
* stress-malloc: add yield point in stress_malloc_page_touch
* stress-link: make reandom number index size_t
* stress-get: initialize some objects to keep valgrind happy
* stress-dirdeep: fix cleanup of dirent objects
* stress-aio: add polled wait for completion
* stress-aio-linux: clean up valgrind uninitialized memory warnings
* stress-context: memset context requires and more sigaltstack
* stress-hsearch: free hash items
* core-smart: re-write begin/end checks
* stress-thermal-zone: don't pass a null type to stress_tz_type_instance
* Manual: clarify the semantics of the --timeout, -t option
* stress-uprobe: ensure libc.so is also matched as a valid libc so name
* Manual: remove GNU tbl extensions for table widths
* stress-dev: exercise Linux scsi generic ioctls
* stress-io-uring: keep track of unsupported opcodes
* stress-fpunch: add yield check while populating test file
* stress-io-uring: print opcode name to help decode opcode to human
readable text
* stress-dev: add parallel port ioctl device exercising
* stress-io-uring: add statx and sync_file_range io-uring ops
* stress-crypt: add some more crypto methods to exercise
* stress-cpu-online: just limit to maximum of 65536 cpus
* stress-context: rename __ prefix with suitable name
* stress-context: remove empty line
* core-thrash: add more slab work by attempting to shrink slabs
* stress-dev: add hwrng exercising for linux
* stress-dev: shuffle dev names rather than mixup sort
* stress-dev: add Linux floppy disk ioctls to dev stressor
* stress-iomix: add sync'ing on written data at most every second
* Add new --no-oom-adjust option to disable all oom adjustments
* core-out-of-memory: fix inverted check on oomable process
* stress-ng: add missing ftrace and oomable options from --help output
* snapcraft: change project repo URL
-- Colin King <colin.king@canonical.com> Mon, 11 Oct 2021 18:18:18 +0100
stress-ng (0.13.04-1) unstable; urgency=medium
* Makefile: bump version
* stress-fallocate: Fix ENOENT failure messages
* stress-sock: remove redundant variable msg_len
* stress-dccp: remove redundant variable msg_len
* stress-prefetch: add missing volatile in pointer cast
* core-vmstat: optimization: remove check for non-null
* core-vmstat: reduce scope of variable ret
* stress-mergesort: don't jmp out of mergesort on NetBSD
* stress-vm-segv: Fix weird hangs on DragonFlyBSD
* stress-chmod: add EPERM check to systems that also support EFTYPE
* stress-rmap: fix rmap bogo-ops threshold
* Fix typo: HAVE_LOFF_T -> HAVE_OFF_T
* Add off_t type detection and use it if loff_t is not defined
* stress-prefetch: prefix macros with STRESS_ to avoid FreeBSD
macro conflict
* stress-prefetch: fix mmap/munmap type warnings on OpenHipster
* stress-prefetch: use correct format specifier for size_t variable
l3_data_mmap_size
* stress-prefetch: add stress_void_ptr_put and use it to stash pointers
* stress-prefetch: Add a L3 prefetch read benchmarking stressor
* stress-fifo: exercise invalid mmap on fifo fd
* stress-fifo: periodically exercise FIONREAD on read end of pipe
* stress-fifo: periodically perform invalid lseek on pipe fd
* stress-pthread: use phread_mutexattr calls to use priority
inheritance
* stress-misaligned: perform misaligned read/writes on page and cache
boundaries
-- Colin King <colin.king@canonical.com> Tue, 28 Sep 2021 11:02:11 +0100
stress-ng (0.13.03-1) unstable; urgency=medium
* Makefile: bump version
* stress-remap: Fix build failure on systems without MAP_POPULATE
-- Colin King <colin.king@canonical.com> Fri, 17 Sep 2021 12:33:12 +0100
stress-ng (0.13.02-1) unstable; urgency=medium
[Fabien Malfoy]
* core-helper: Quote the system-info.version value in YAML metrics
[Danilo Krummrich]
* core-vmstat: fix trim of devnames for nvme devices
[Colin Ian King]
* Makefile: bump version
* Manual: update update contributors list and date
* Signed-off-by: Colin Ian King <colin.king@canonical.com>
* core-vmstat: make helper function static and constify arg
* stress-opcode: clean up clang-11 pedantic build warning
* stress-aio: perform retry if EBUSY occurs
* stress-vm: constify end pointers
* stress-stream: constify pointers idx1, idx2, idx3
* stress-opcode: make pointer ops_end const
* stress-msync: make pointer buf const
* stress-mcontend: constify pointer vdata
* stress-malloc: move scope of ptr and end, constify end
* stress-malloc: make parameters counters const
* Treewide: fix spelling mistakes and typos
* stress-cpu: use the __builtin_parity function if it is available
* core-vmstat: fix assignment that should be a comparison
* stress-io-uring: silently ignore ENOSPC failures
* stress-io-uring: fix typo in comment
* stress-prctl: move } around #endif
* stress-procfs: add reverse seek/reads on non fifo procfs entries
* stress-swap: periodically create invalid swap header
* stress-loop: exercise invalid ioctl on loop control device
* stress-loop: exercise invalid block sizes
* stress-loop: perform invalid removal of device -1
* core-vmstat: use '\0' end of string rather than 0
* snapcraft: move to core20 and add some extra build dependencies in
* Manual: update contributors list
* stress-fanotify: add Linux 5.15 FAN_REPORT_PIDFD option
* stress-ng: --thrash: drop caches at random periodical intervals
* stress-prctl: remove tabs
* core-vmstat: use shim_strlcpy instead of strcpy
* stress-prctl: add Linux 5.15 PR_SPEC_L1D_FLUSH operation
* core-vmstat: trim from dev name not the stat file
* core-vmstat: handle devices such as /dev/sda1 -> /dev/sda
* core-helper: handle SIGSTKSZ being potentially a sysconf call
* Add --iostat option to periodically dump out I/O stats
* stress-ng: fix dynlib-ops command, typo in dynlib
* stress-loadavg: Fix spelling mistake "averge" -> "average"
* stress-vm-rw: remove extraneous space in error message
* stress-numa: add new MPOL_PREFERRED_MANY option
* kerne-coverage: add more file system options and stressor test scenarios
* Manual: fix context switch --switch-freq option
-- Colin King <colin.king@canonical.com> Tue, 14 Sep 2021 14:14:14 +0100
stress-ng (0.13.01-1) unstable; urgency=medium
[Maxime Chevallier]
* stress-ng: Fix random stressor assignment
[Colin Ian King]
* Makefile: bump version
* Manual: update date
* stress-kcmp: move close to avoid fd1 leak on exit
* stress-set: no need to initialize fsgid, remove assignment
* stress-hdd: fill write/read buffer with random data
* stress-set: initialize uid/gid variables
* Add yielding check and success exit if we timeout
* stress-fork: don't use getpgid if it is not available
* stress-dir: only use mkdirat if it is available.
* stress-hdd: voidify fd to clean up Minix build warnings
* stress-wait: fix build warning on Minix
* stress-pkey: add pkey_set build time detection
* stress-pkey: add pkey_get build time detection
* test: use pkey_mprotect call rather than system call
* test: use pkey_alloc call rather than system call
* stress-pkey: use pkey call if it is available
* stress-xattr: fix build error when XATTR_SIZE_MAX is not defined
* stress-sockpair: fix name shadowing of variable ret
* stress-seccomp: unconstify seccomp_actions, clean up build warning
* stress-malloc: rename malloc_touch to avoid name shadowing
* stress-exit-group: remove duplicated declaration of ret
* stress-set: exercise getresgid with valid and invalid arguments
* stress-sem: exercise semop and semtimedop with invalid arguments
* stress-sem-sysv: exercise semget with some invalid arguments
* stress-sem-sysv: exercise semctl with invalid cmd parameter
* stress-mq: cast UINT_MAX to long to clean up pedantic build warning
* stress-seccomp: add more seccomp operation tests
* core-try-open: voidify return from alarm, we are ignoring it
* stress-madvise: only used MADV_* flags if they are defined (part 2)
* stress-madvise: only used MADV_* flags if they are defined
* stress-ramfd: exercise umount2 with and without illegal flags
* Add build time check for umount2 system call
* stress-userfaultfd: exercise userfaultfd with invalid flags
* stress-swap: exercise invalid swapon flags
* stress-swap: exercise invalid swapoff filename
* stress-sock: exercise setsockopt invalid arguments
* stress-set: exercise setresuid more thoroughly
* stress-set: exercise setresgid more thoroughly
* stress-fork: exercise invalid setpgid calls before child dies
* stress-set: add missing voidified ret
* stress-numa: exercise set_mempolicy with incompatible mode flags
* stress-sigpending: exercise sigprocmask with some more options
* stress-rseq: add a couple more invalid rseq calls
* stress-key: exercise request_key with invalid arguments
* stress-remap-file-pages: exercise with illegal prot flags
* stress-quota: exercise quotactl Q_SYNC flush all NULL device name
* stress-ptrace: exercise invalid ptrace calls
* Makefile: force V to be undefined to avoid make V=1 build failures
* stress-msg: remove empty line
* stress-fstat: exercise statx with invalid arguments
* stress-madvise: exercise process_madvise with invalid arguments
* stress-hdd: add invalid read/write family calls
* stress-sockpair: exercise invalid socketpair calls
* stress-sock: exercise invalid sock calls
* stress-numa: exercise move_pages with NULL nodes argument
* stress-msg: exercise msgrcv with invalid arguments
* stress-mq: exercise msgctl IPC_SET for more kernel coverage
* stress-mq: exercise invalid mq_timedreceive and mq_receive calls
* stress-mq: exercise invalid mq_unlink calls
* stress-mq: exercise mq_close with invalid mq descriptor
* stress-mq: exercise invalid mq_send* calls
* stress-mq: exercise mq_open with various invalid arguments
* stress-mq: exercise invalid mq descriptor on mq_notify
* stress-mq: exercise invalid mq descriptor on mq_getattr/mq_setattr
* stress-mremap: workaround pedantic static analysis warnings
* stress-mremap: exercise invalid flags and new size
* stress-mmap: call with invalid offset
* stress-open: exercise openat2 with invalid usize argument
* stress-handle: exercise open_by_handle_at with another bad fd
* stress-pkey: exercise pkey_free with invalid pkey id
* stress-pkey: exercise pkey_alloc with invalid access_rights
* stress-aio-linux: exercise invalid io_submit calls
* stress-aio-linux: exercise invalid io_setup calls
* stress-aio-linux: exercise invalid io_getevents calls
* stress-aio-linux: exercise invalid io_destroy calls
* stress-aio-linux: exercise invalid io_cancel calls
* stress-sigio: add yield checking while consuming data from SIGIO event
* stress-sigio: don't report EINTR as errors on selects
* stress-xattr: fix incorrect voidification of variable
* stress-xattr: exercise invalid filename on listxattr calls
* stress-xattr: remove overly long attribute to force ERANGE
* Add stress_redo_fork helper to check errno and keep stressing flag
* stress-bad-altstack: add altstack usage inside signal handler
* stress-clone: exercise invalid modify_ldt arguments
* stress-mknod: exercise invalid fd in mknodat call
* stress-dir: exercise invalid fd on mkdirat call
* stress-copy-file: exercise copy_file_range with invalid fds and flags
* stress-membarrier: add build time check for MEMBARRIER_CMD_FLAG_CPU
* stress-loadavg: voidify function return values
* stress-fallocate: Add one more invalid mode combo
* stress-dirdeep: exercise linkat with invalid flags
* stress-readahead: exercise invalid offset and lengths for
posix_fadvise
* stress-close: exercise invalid flags in fchownat call
* stress-sock: use invalid flags for accept4 call
* stress-readahead: replace whitespace with tabs.
* stress-sigio: drain as much as possible in SIGIO handler
* stress-readahead: exercise illegal readahead on write-only file
* stress-handle: exercise EOVERFLOW on small buffer
* stress-msync: exercise invalid flags field in msync
* stress-memfd: add some more invalid memfd pathnames
* stress-kcmp: exercise kcmp with invalid PIDs
* stress-membarrier: add missing cpu_id arg to membarrier call
* stress-fpunch: add more yield points
* stress-cap: exercise capset with invalid version and PID
* stress-cap: exercise capget with invalid version and PID
* stress-utime: exercise utimensat with illegal flags
* stress-wait: exercise wait4 with various alternative options
* stress-klog: exercise some invalid syslog read operations
* stress-dev: avoid any actions on owner's tty
* stress-cache: Add NOCLOBBER hints to pinned clean up build warnings
* stress-alarm: Add alarm(2) and sleep(3) stressor
* stress-kill: exercise illegal signal numbers and PID
* stress-exit-group: fix mutex cleanup on exit
* stress-cache: add NOCLOBBER hints to total and r to clean up build
warnings
* stress-key: only use KEYCTL_INVALIDATE if it is defined
* Add new exit_group stress test.
* stress-pidfd: use the new process_mrelease call on pre-waited
process pidfd
* core-shim: add wrapper to process_release
* stress-cache: remove shim_clflush on bad_addr, breaks OS X
* stress-malloc: move initialization of malloc_threshold to #ifdef block
* stress-cache: remove __builtin___clear_cache call on
bad_addr (LP: #1940593)
* stress-get: exercise invalid rusage who fields
* stress-key: exercise add_key with a range in invalid arguments
* stress-sigfd: exercise signalfd4 with invalid mask pointer size
* stress-sigq: add invalid SI_TKILL rt_sigqueueinfo call
* stress-remap-file-pages: disable for SPARC
* stress-ng.h: Add STRESS_ARCH_SPARC sparc arch macro
* stress-cache: add in periodic invalid cache flush operations
* stress-ng: disable SIGLARM alarm once child stressor has returned
* stress-get: add a couple more test cases for ugetrlimit
* stress-chroot: fix use-after-free error when free'ing path
* stress-timer: add commented out invalid timer_delete call
* stress-brk: add mergeable page hint with madvise
* core-shim: use brk system call in preference to libc wrapper
* stress-chroot: add two more corner test cases, add more comments
* stress-cpu: add 16 bit division method div16
* stress-hdd: remove tab on empty line
* stress-fpunch: fix typo in comment
* stress-malloc: add --malloc-touch option to aggressively force pages
into memory
* stress-zlib: add some missing constifications
* stress-vdso: make static array wrap_funcs const
* stress-tun: make string buffer static const
* stress-sysfs: make static string signum_path const
* core-sched: constify static array sched_types
* stress-nop: Fix opt_set_funcs undeclared
* Manual: update contributors list
* Manual: minor corrections in the cpu methods documentation
* stress-l1cache: add a missing newline in the source
* stress-fpunch: create temp file with holes and multiple extents
* stress-affinity: add --affinity-sleep nanosleep delay option
* stress-affinity: whitespace and comment clean-up
* stress-revio: use stress_get_extents helper
* Add file hole punching (and filling) stressor, --fpunch
* stress-wait: constify pid_arg argument
* stress-cpu: make variable solutions const, add some line spacing
* stress-cpu: move queens_solutions into function
* stress-cpu: make array factorials const
* core-helper: remove some blank lines and add a missing comment block
* stress-pidfd: fix comment, add missing "don't"
* voidify return from various sleep calls
* Clean up kill calls, voidify returns and remove unwanted debug kill
-- Colin King <colin.king@canonical.com> Mon, 1 Sep 2021 17:57:59 +0100
stress-ng (0.13.00-1) unstable; urgency=medium
* Makefile: bump version
* stress-userfaultfd: constify a couple of function arguments
* stress-timerfd: move label to inside if #ifdef
* stress-pci: reduce the scope of pci_path
* stress-pci: use unsigned int for %x sscanf format specifier
* Manual: update date
* core-helper: declare extern __stack_chk_fail
* stress-loadavg: Fix build warning on unused pthread flags
* stress-loadavg: fix build error on systems without pthreads
* stress-mmaphuge: fix info name, copy-n-paste error
* stress-mmaphuge: define HUGE macros only if MAP_HUGE_SHIFT is
defined
* stress-ng.h: remove toolchain check for NOCLOBBER macro
* Add asm("") and builtin_expect() built time checks
* stress-funccall: only define complex types if complex is supported
* stress-ng.h: use HAVE_BUILTIN_MEMMOVE for __builtin_memmove usage
* stress-io-uring: rename variable iov_len to iov_length to fix pcc
failure
* stress-funccall: only define complex types if complex is supported
* Add __restrict keyword build time check
* stress-shm-sysv: remove some commented out debug cruft
* stress-shm-sysv: fix random key generation
* stress-shm: fix comment, it is a POSIX shm stessor not SYS V
* stress-shm-sysv: exercise shmat with RND option a little more
* stress-hdd: ensure read is sync'd to the same random offsets as
write
* stress-hdd: fix --verify option
* stress-opcode: allow child to die badly silently
* Add new line between declaration and first executable statement
* Add a huge page memory mapping stressor --mmaphuge
* stress-mlockmany: add --mlockmany-procs option
* help: wrap overly wide help text to tty width
* core-helper: add stress_tty_width to get column width of terminal
* stress-rawdev: fix typo in help
* stress-list: add spaced between list options in help
* stress-nop: add missing INSTR arg to nop-instr help
* stress-rdrand: add rdrand instruction asm check
* Break wide macro line into multi-line #define
* Add stress-ng specific stack smashing error message
* stress-nop: fix typo in --nop-instr help
* Rename macro HAVE_DARN to HAVE_ASM_DARN
* stress-nop: add --nop-instr option to specify nop instruction
* stress-timerfd: add --timerfd-fds option to specify max fds to use
* stress-bad-altstack: disable warnings on known illegal null ptr
dereference
* stress-dirmany: Add a stressor to rapidly create/remove empty files
* Skip error messages on no resource skip stressor terminations
* Add load average stressor, try to create insane load averages
* stress-pthread: report strerror of correct error return value
* stress-resources: Add timerfd_create/close
* stress-timerfd: Add build time checks for timerfd_* calls
* stress-resources: exercise pidfd_open, waste more fds
* stress-open: use O_NDELAY open flag
* stress-resources: reap pthread only if it was started
* Add build time checks for complex creal and cimag libm functions
* stress-funccall: re-organize to reduce #ifdef checking
* stress-funccall: add some more types to pass
* stress-physpage: exercise /dev/mem mmap'ing
* stress-pci: update some comments, fix date
* Add new PCI sysfs stressor to read/mmap PCI config and resources
* Remove trailing tabs from various sources
* stress-prtcl: use shim'd enum for PIDTYPE values
* Determine minimal stack size via sysconf, then PTHREAD_STACK_MIN
then guess
* stress-memcpy: add naive_o0 and naive_o3 options
* stress-af-alg: no need to report zero unused algorithms
* core-madvise: Add MADV_POPULATE_READ and MADV_POPULATE_WRITE flags
* stress-madvise: add MADV_POPULATE_READ and MADV_POPULATE_WRITE flags
* core-mincore: use MADV_POPULATE_READ to fault pages in
* Manual: update contributors list
* stress-io-uring: fix typo in comment
* stress-affinity: add new --affinity-pin and --affinity-delay options
* core-helper: don't emit not implemented messages with --skip-silent
* Manual: minor cleanups
-- Colin King <colin.king@canonical.com> Mon, 2 Aug 2021 18:58:47 +0100
stress-ng (0.12.12-1) unstable; urgency=medium
* Makefile: bump version
* stress-smi: move "us" time closer to the time
* stress-sock: Add return at end of stressor, cleans up cppcheck warning
* core-setting: remove commented out line
* stress-sockabuse: Add return at end of stressor, cleans up cppcheck
warning
* tests: add missing return at end of main
* Add build time check for __get_cpuid()
* stress-smi: remove tsc helper function, it is not required
* stress-madvise: add NOCLOBBER annotation on ret
* stress-mmapfixed: move unmap label inside #ifdef block
* core-madvise: voidify function args for systems that don't support
madvise
* Add new munmap stressor, exercises munmap and fault handling
* core-out-of-memory: rename signal to signal_idx to avoid name
shadowing
* core-helper: rename dirname to directoryname to avoid name shadowing
* core-cache: rename index to idx to avoid name shadowing
* stress-syscall: rename syscall to syscall_num avoid name shadowing
* stress-rawudp: rename sin to s_in avoid name shadowing
* stress-open: rename times to tv avoid name shadowing
* stress-link: rename tmpfile to tmpfilename avoid name shadowing
* stress-judy: rename index to idx to avoid name shadowing
* stress-*: rename dirfd to dir_fd to avoid name shadowing
* stress-branch: rename index to idx to avoid name shadowing
* kernel-coverage: add vm option variations of fork, vfork and
vforkmany
* stress-fork: add --fork-vm and --vfork-vm options to exercise VM more
* core-smart: ensure devs pointer is null
* stress-vforkmany: add --vforkmany-vm to exercise VM more
* stress-mmapfixes: use STRESS_OOMABLE_QUIET to silence faults
* stress-mmapfixed: only perform fixed mapping on unmapped pages
* core-helper: make static char array b36 const
* core-hash: make primes array const
* core-cache: format struct initialization in the coding style
* Manual: update date and fix smi formatting
* stress-smi: add smi entry in manual, make bogo-ops more frequent
* stress-smi: use SHIM_CAP_SYS_RAWIO instead on CAP_SYS_RAWIO
* test/test-libkmod: clean up test code
* core-smart: only define helpers for stress_smart_read_devs if
HAVE_SMART is defined
* core-shim: fix shim_modify_ldt no system call build issue
* README: Add kmod library package info
* core-smart: only define stress_smart_read_devs if HAVE_SMART is
defined
* core-module: return -1 for no-op module unload helper
* Add SMI stressor, trigger SMM calls and benchmark SMI duration
* stress-ng: remove space at end of the line
* Depluralize the options error warning
* Add Unicode minus check on invalid options
* core-cache: clean up parsing of cache size
* core-smart: use scandir to read devices and sort the devices too
* Add --smart option to dump S.M.A.R.T. device statistics changes
* stress-af-alg: expand crypto failure message
* Fix duration output missing when sequential mode
* stress-ng: fix typo "filed" -> "file"
* Move OPT_skip_silent to the non-arg lookup table
* arg parsing: print out unrecognized options
* Add bit shift helpers and use them for stress-ng mask flags
* stress-prctl: re-order PR_* macro check by #define value
* stress-prctl: add Linux 5.14 PR_SCHED_CORE prctl
* Add --skip-silent option to silent skip stress tests that can't
be invoked
* stress-clone: move shim wrapper of modify_ldt to core-shim
* stress-xattr: fix compare/assignment typo
* stress-maxtrix: ensure matrix_method_name is initialized to NULL
* stress-io-uring: perform 64 bit multiply to avoid 32 bit overflow
-- Colin King <colin.king@canonical.com> Fri, 9 Jul 2021 09:32:15 +0100
stress-ng (0.12.11-1) unstable; urgency=medium
[John Kacur]
* stress-ng: Add tags to the makefile
[Colin Ian King]
* Makefile: bump version
* Makefile: remove git-commit-id.h from dist rule
* Manual: update date
* stress-af-alg: make stress_af_alg_cmp_crypto static
* stress-af-alg: clean up pedantic clang-12 build warning
* stress-sock: voidify unused arg opt for stress_set_socket_zerocopy
* stress-sock: clean up warnings when MSG_ZEROCOPY is not defined
* stress-af-alg: set rc to EXIT_SUCCESS for ignore algos
* stress-af-alg: don't re-try to use algos that are marked as internal
* stress-af-alg: fix typo in skcipher
* kernel-coverage: add --sock-zerocopy option to sock stressor
* stress-sock: add a --sock-zerocopy option to use MSG_ZEROCOPY
* stress-sock: fix recvmmsg infinite loop
* kernel-coverage: add sock mptcp protocol to coverage testing
* stress-sock: add --sock-protocol option (tcp or mptcp allowed)
* stress-af-alg: sort af-alg algos based on type then name
* stress-af-alg-defconfigs.h: update crypto defconfigs table
* stress-mmap: add more invalid mmap and munmap calls
* stress-mmap: add some invalid mmappings to exercise kernel more
* stress-mincore: add file backed mmap'd page to mincore upon
* Remove trailing space and tabs from end of lines
* stress-enosys: change quotactl_path syscall to quotactl_fd
* stress-inval: change quotactl_path syscall to quotactl_fd
* Add git-commit-id.h to .gitignore
* Add stress-ng version and git id to debug info
* stress-netdev: turn stress_netdev_check into a macro, fix some ioctls
* stress-sysfs: make killed child an error condition
* stress-sysfs: catch killing signals when exercising sysfs
* core-out-of-memory: fix typo in comment
* stress-netdev: fix build time check for SIOCGIFADDR
* stress-quota: change quotactl_path syscall to quotactl_fd
* stress-fanotify: remove unnecessary : from message
* stress-fanotify: clean up error messages
* stress-ramfs: remove ramfs duplicated name in stressor message
* stress-fanotify: add stressor name to information logged message
* Add --seed N option to set the initial random number generate seed
* snapcraft: add architectures remote build info
* stress-ng: move --times check into stress_times_dump
* core-ftrace: add missing void on stress_ftace_stop helper
* core-ftrace: replace int return with void for stop/free functions
* stress-signest: uncomment signals that got disabled during debugging
* stress-signest: cater for systems that don't have alternative signal
stacks
* stress-signest: add stressor name to info on unique signals handled
* stress-signest: add run time check
* stress-signest: don't use SIGINT, it's meant for halting stress-ng
* stress-signest: add more yielding termination
* stress-signest: cast mmap return to uint8_t to clean up warning on
gcc 6.5.0
* stress-mlock: voidify args to avoid warnings
* Add new nested signal handling stressor, sigtest
* stress-mlock: periodically perform misc invalid or unusual mlock
calls
* stress-mlock: remove CAP_IPC_LOCK check, this is not needed since
Linux 2.6.9
* Add build time check for munlockall
* core-helper: cater for ARM64 SVE stack sizes
* stress-userfaultfd: only report insufficient privilege warning on
instance 0
* Makefile: remove -g
* stress-cpu: use more builtin math functions
* core-helper: don't print not implemented message multiple times,
clean up msg
* stress-vforkfmany: silence warnings concerning vfork being deprecated
-- Colin King <colin.king@canonical.com> Thu, 24 Jun 2021 19:11:03 +0100
stress-ng (0.12.10-1) unstable; urgency=medium
[Rosen Penev]
* stress-fp-error: add pre-compiler checks for all floating-point
exceptions
[Colin Ian King]
* Makefile: bump version
* stress-schedpolicy: use new_policy rather than policy
* Manual: update date
* stress-zlib: use sizeof the object rather than the type
* stress-tree: use sizeof the object rather than the type
* stress-sockmany: use sizeof the object rather than the type
* stress-sockfd: use sizeof the object rather than the type
* stress-seccomp: use sizeof the object rather than the type
* stress-rmap: use sizeof the object rather than the type
* stress-open: use sizeof the object rather than the type
* stress-mmapmany: use sizeof the object rather than the type
* stress-memthrash: use sizeof the object rather than the type
* stress-memrate: use sizeof the object rather than the type
* stress-malloc: use sizeof the object rather than the type
* stress-lockbus: use sizeof the object rather than the type
* stress-list: use sizeof the object rather than the type
* stress-hrtimers: use sizeof the object rather than the type
* stress-handle: use sizeof the object rather than the type
* stress-fiemap: use sizeof the object rather than the type
* stress-epoll: use sizeof the object rather than the type
* stress-efivar: use sizeof the object rather than the type
* stress-dev-shm: use sizeof the object rather than the type
* stress-cyclic: use sizeof the object rather than the type
* stress-clone: use sizeof the object rather than the type
* stress-apparmor: use sizeof the object rather than the type
* stress-affinity: use sizeof the object rather than the type
* core-thermal-zone: use sizeof the object rather than the type
* core-mounts: use sizeof the object rather than the type
* core-helper: use correct sizeof for ram_f, ram_s
* core-hash: use sizeof the object rather than the type
* core-cache: use sizeof the object rather than the type
* stress-xattr: fix memory leak of large_tmp on error return path
* stress-fanotify: only declare and use fan_fd2 if required
* stress-dup: voidify return from waitpid
* stress-xattr: allocate large_tmp on the heap rather than the stack
* stress-ng: use shim wrapped strlcpy
* stress-usefaultfd: fix missing \n at end of pr_inf message
* stress-sigabort: move scope of variable ret to deeper scope
* stress-ng: move scope of variable total
* stress-io-uring: return EXIT_NOT_IMPLEMENTED when io-uring is not
implemented
* stress-io-uring: check for ENOSYS on io-uring setup
* stress-mq: move scope of variable ret
* stress-fp-error: clean up build warning on d1, d2 when FE_INEXACT
is not available
* stress-fault: don't use t1, t2, dt if getrusage is not supported
* stress-dev: fix memcpy/memset thinko
* stress-ng.h: remove HOT annotation from keep stressing helpers
* stress-stream: ensure initialized values are in range 0..0.99999
* stress-io-uring: constify stress_io_uring_setups array
* stress-io-uring: don't abort early on close op setup on failed dup
* stress-ng: fix memory leak, call stress_temp_path_free before
stressor exits
* stress-ng: fix memory leak, call stress_temp_path_free in usage
* syscalls: add io_pgetevents to exercised syscalls
* stress-aio-linux: exercise io_pgetevents if it is available
* stress-aio-linux: attempt to call async fsync, don't redo if it fails
* stress-io-uring: add madvise io-uring op
* stress-io-uring: add close op, and zero fields on other ops
* stress-aio: add aio_fsync call for more kernel coverage
* kernel-coverage.sh: add reiserfs to the mix
* kernel-coverage: disable core dump handlers such as apport
* stress-io-uring: add READ and WRITE opcodes
* stress-io-uring: add random block sized seek position for
READV/WRITEV ops
* stress-io-uring: drive opcode calls by a lookup table, add
fallocate + fadvise ops
* stress-io-uring: move completion handling to submit call
* stress-io-uring: bump bogo-op counter for each successful completion
* stress-io-uring: refactor op-code handling, add helper callbacks
* stress-fcntl: exercise some invalid fcntl operations for more coverage
* stress-vforkmany: fix handling on OS X where vfork() fails
* stress-vforkmany: add another yield point after touching pages
* stress-bad-altstack: force child death on recursive signals
* stress-bad-altstack: Fix hang on OS X
* stress-ng.h: disable MLOCKED macro on OS X as it clashes with NORETURN
* stress-xattr: pass oversized xattr using a larger buffer
* stress-urandom: pass entropy count in variable rather than by value
* stress-urandom: initialize val to clean up valgrind warning
* stress-sockabuse: call futimens with valid time
* stress-sock: zero ifc to avoid valgrind warning
* stress-shm: memset msg to zero, cleans up valgrind warning
* stress-set: ensure array groups is zero'd, clean up valgrind warning
* stress-sem-sysv: make the array more than large enough
* stress-schedpolicy: memset attr to zero to clean up warnings
from valgrind
* stress-schedpolicy: memset large_attr to zero to clean up
valgrind warning
* stress-prctl: set arg2 in PR_GET_KEEPCAPS to zero
* stress-prctl: set arg2 in PR_SET_CHILD_SUBREAPER zero
* stress-eventfd: ensure buffer is zero'd before writing it
* stress-dev: zero filename array, cleans up valgrind warnings
* stress-clock: ensure initialized t1 is used to set the time
* stress-procfs: remove debug printf
* stress-procfs: ensure entire buffer is zero'd before scanning it
* stress-procfs: fix negative index into dlist[] array
* stress-fork: fix fork not being called
* stress-fanotify: exercise fanotify FAN_CLASS_NOTIF |
FAN_REPORT_DFID_NAME
* Add per-stressor metrics to metrics output
* kernel-coverage: add sysinfo for mounted fs coverage
* kernel-coverage: use -1 to specify number of CPUS online
-- Colin King <colin.king@canonical.com> Mon, 2 Jun 2021 13:12:11 +0100
stress-ng (0.12.09-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* stress-iomix: cast full expression to off_t instead of 64 bit mwc value
* stress-misaligned: only use target clones attribute if compiler
supports it
* stress-misaligned: fix build error on Hiaku-r1beta8 gcc 7.3.0
* stress-ng.h: enable attribute features for versions of clang
* stress-ng.h: remove unused PACKED macro
* core-ftrace: add ; after RB_* macros
* test/test-mq-sysv.c: memset msg to clean up cppcheck warning
* stress-misaligned: only use atomics if HAVE_ATOMIC is defined
* stress-sigfpe: remove SA_SIGINFO check on err_code
* stress-set: don't cast setgroups size to size_t for DragonFlyBSD
* stress-sigpipe: declare function pipe_child if clone is available
* stress-tree: fix build on DragonFlyBSD 6.0
* stress-null: only declare variable off on linux builds
* stress-pthread: only declare lret if is required
* stress-memthrash: fix SEGV due to incorrect offset based on uintptr_r
cast
* stress-sync-file: fix -ve offset on random sync file location
* stress-ng: clean up implicit type warnings from pedantic clang build
* stress-zlib: fix incorrect buffer size on compression
* stress-zlib: fix --zlib-method option
* stress-zero: clean up implicit cast warnings with pedantic clang builds
* stress-yield: clean up implicit cast warnings with pedantic clang builds
* stress-xattr: clean up implicit cast warnings with pedantic clang builds
* stress-wait: clean up implicit cast warnings with pedantic clang builds
* stress-vm-rw: clean up implicit cast warnings with pedantic clang builds
* stress-udp: cast non-int instance to int for int math
* stress-tmpfs: clean up implicit cast warnings with pedantic clang builds
* stress-timerfd: remove an extra ; and clean up some type casting
* stress-timer: clean up implicit cast warnings with pedantic clang builds
* stress-tee: clean up 2 minor casts for function call arguments
* stress-sysfs: clean up implicit cast warnings with pedantic clang builds
* stress-bad-addr: cast procs to rlim_t on rlim_cur/max assignments
* stress-sync-file: fix casting and sync loop
* stress-switch: stress-schedpolicy: clean up implicit cast warnings
with pedantic clang builds
* stress-sockpair: cast val++ arg to uint8_t to match type
* stress-schedpolicy: clean up implicit cast warnings with pedantic
clang builds
* stress-swap: cast lseek offset to off_t type
* stress-stream: clean up implicit cast warnings with pedantic clang
builds
* stress-stack: clean up implicit cast warnings with pedantic clang
builds
* stress-splice: clean up implicit cast warnings with pedantic clang
builds
* stress-sockmany: cast non-int instance to int for int math
* stress-sockfd: add NORETURN hint to child func, clean up type cast
warnings
* stress-sockabuse: clean up pedantic clang warnings
* stress-shellsort: assign data the correctly typed values
* stress-scpt: cast non-int instance to int for int math
* stress-sock: cast non-int instance to int for int math
* stress-shm-sysv: clean up various pedantic clang warnings
* stress-shm: clean up a few off_t fallocate/ftruncate arg warnings
* stress-set: clean up implicit cast warnings with pedantic clang
builds
* stress-sendfile: clean up implicit cast warnings with pedantic
clang builds
* stress-seccomp: add NORETURN to exiting signal handler
* stress-seal: clean up implicit cast warnings with pedantic clang
builds
* stress-rmap: add NORETURN hint, clean up implicit cast warnings
* stress-resources: clean up implicit cast warnings with pedantic
clang builds
* stress-rename: explicitly cast flags arg to renameat2 to unsigned int
* stress-remap-file-pages: cast i to the same data type of data[]
* stress-reboot: clean up implicit cast warnings with pedantic
clang builds
* stress-rawudp: clean up implicit cast warnings with pedantic
clang builds
* stress-sysinval: clean up implicit cast warnings with pedantic
clang builds
* stress-tsearch: assign data the correctly typed values
* stress-tun: cast port to same type as addr.sin_port
* stress-unshare: remove ; from macro UNSHARE definition
* stress-rawsock: use correct ssize_t return variable for sendto
* stress-rawpkt: add NORETURN hint on child, clean up implicit
cast warning
* stress-rawdev: clean up implicit cast warnings with pedantic
clang builds
* stress-radixsort: reduce n from size_t to n
* stress-pthread: clean up implicit cast warnings with pedantic
clang builds
* stress-procfs: clean up implicit cast warnings with pedantic
clang builds
* stress-prtctl: cast args->page_size to intptr_t to match mask type
* stress-poll: forgot to add int cast to buf comparison on sanity check
* stress-poll: clean up implicit cast warnings with pedantic clang
builds
* stress-pkey: clean up implicit cast warnings with pedantic clang builds
* stress-pipeherd: fix implicit type cast warnings, make float math
double
* stress-pipeherd: fix type of counter, it should be uint64_t
* stress-netdev: fix type of n, it should be int, cast divisor instead
* stress-pipe: clean up implicit cast warnings with pedantic clang
builds
* stress-pidfd: clean up implicit cast warnings with pedantic clang
builds
* stress-physpage: clean up implicit cast warnings with pedantic
clang builds
* stress-opcode: clean up implicit cast warnings with pedantic
clang builds
* stress-null: clean up implicit clang type warnings on mmapo
offset arg
* stress-nice: clean up implicit cast warnings with pedantic clang
builds
* stress-netlink-task: clean up implicit cast warnings with pedantic
clang builds
* stress-netlink-proc: clean up implicit cast warnings with pedantic
clang builds
* stress-opcode: add NORETURN on signal handler
* stress-numa: clean up implicit cast warnings with pedantic clang
builds
* stress-netdev: clean up implicit cast warnings with pedantic
clang builds
* stress-mq: stress-msync: clean up some implicit type casting warnings
* stress-msync: clean up some implicit type casting warnings
* stress-msg: fix too long a constant or operand, clean up misc warnings
* stress-mmapaddr: clean up some implicit type casting warnings
* stress-mmap: clean up some implicit type casting warnings
* stress-mknod: use mode_t for mknod mode type in stress_do_mknod
* stress-misaligned: clean up some implicit type casting warnings
* stress-idle-page: clean up implicit cast warnings with pedantic
clang builds
* stress-misaligned: add NORETURN on signal handler
* stress-mincore: clean up some implicit type casting warnings
* stress-mergesort: cast return from stress_mwc32 to int32_t
* stress-memthrash: clean up some implicit type casting warnings
* stress-memrate: clean up some implicit type casting warnings
* stress-memfd: clean up implicit cast warnings with pedantic
clang builds
* stress-membarrier: ensure the cmd type to membarrier call is int
* stress-matrix-3d: clean up some implicit type casting warnings
* stress-matrix: clean up some implicit type casting warnings
* stress-malloc: fix never reached memory reaping and clean up warnings
* stress-lsearch: clean up implicit cast warnings with pedantic
clang builds
* stress-loop: clean up implicit cast warnings with pedantic
clang builds
* stress-longjmp: cast uint64_t to double to avoid precision loss
* stress-lockofd: cast return from stress_mwc64 to off_t
* stress-locka: cast return from stress_mwc64 to off_t
* stress-link: clean up implicit cast warnings with pedantic
clang builds
* stress-l1cache: clean up implicit cast warnings with pedantic
clang builds
* stress-klog: cast uint32_t math to int to clean up implicit
cast warning
* stress-itimer: cast itimer_freq to double to clean up implicit
cast warning
* stress-ipsec-mb: clean up implicit cast warnings with pedantic
clang builds
* stress-io-uring: clean up implicit cast warnings with pedantic
clang builds
* stress-ioprio: cast ioprio_get who arg to int
* stress-ioport: cast ioport from arg to unsigned long
* stress-iomix: clean up implicit cast warnings with pedantic clang
builds
* stress-inotify: clean up implicit cast warnings with pedantic
clang builds
* stress-aio-linux: assign invalid value to offset and nbytes in a
portable way
* stress-misaligned: fix i386 built error for 128 bit integers
* stress-icmp-flood: clean up implicit cast warnings with pedantic
clang builds
* stress-bad-altstack: remove void * cast of signal handler function
* stress-hdd: cast ret to size_t to clear up build warning
* stress-cpu-online: clean up build warnings
* stress-af-alg: cast j to ssize_t to compare with send() return
* stress-hdd: clean up implicit cast warnings with pedantic clang
builds
* stress-getdent: clean up implicit cast warnings with pedantic
clang builds
* stress-fanotify: clean up implicit cast warnings with pedantic
clang builds
* stress-fallocate: clean up implicit cast warnings with pedantic
clang builds
* stress-epoll: clean up implicit cast warnings with pedantic clang
builds
* stress-fp-error: clean up implicit cast warnings with pedantic
clang builds
* stress-filename: clean up implicit cast warnings with pedantic
clang builds
* stress-fiemap: clean up implicit cast warnings with pedantic
clang builds
* stress-file-ioctl: cast ~0 to uint16_t
* stress-eventfd: clean up implicit cast warning with pedantic clang
builds
* stress-efivar: clean up implicit cast warnings with pedantic clang
builds
* stress-bad-altstack: add NORETURN on stress_signal_handler
* stress-dup: clean up implicit cast warnings with pedantic clang
builds
* stress-dnotify: clean up implicit cast warnings with pedantic
clang builds
* stress-dev-shm: clean up implicit cast warnings with pedantic
clang builds
* stress-dev: clean up implicit cast warnings with pedantic clang
builds
* stress-dccp: clean up implicit cast warning with pedantic clang
builds
* stress-ioctl: clean up implicit cast warnings with pedantic clang
builds
* stress-aio: clean up implicit cast warnings with pedantic clang
builds
* stress-af-alg: clean up implicit cast warnings with pedantic clang
builds
* stress-verity: clean up pedantic build warnings
* stress-utime: clean up pedantic clang warning
* stress-cyclic: clean up some implicit type warnings
* stress-cpu: clean up some implicit type cast warnings
* stress-cpu: clean up type warnings
* stress-sysbadaddr: clean up implicit type warnings, remove
stress_badhandler
* core-shim: fix get_mempolicy shim, 4th arg should be void *
* stress-rtc: clean up int and ssize_t type conversions
* stress-cache: add some minor int type cast conversion
* core-perf: explicitly cast return from tolower to char
* stress-softlockup: add NORETURN to signal handler, silence
SIZEOF_ARRAY warning
* stress-qsort: cast return from stress_mwc32() to match assigned type
* stress-ping-sock: cast return from getpid() to match type of echo.id
* stress-mmapfixed: use the stress_sig_handler_exit helper
* stress-key: make variable len ssize_t to match return from system_read
* stress-heapsort: cast return from stress_mwc32() to match assigned
type
* stress-getrandom: ensure flag is unsigned int to match getrandom
flag arg
* stress-full: make ptr a uint8_t to remove need for casting on put call
* stress-flock: use ssize_t var for system_read return
* stress-exec: clang in pedantic mode suggests pthread_dummy is zero'd
* stress-bad-altstack: remove NORETURN
* stress-apparmor: size arg of read should be size_t, cast it so
* stress-bad-altstack: clean up pedantic clang build warnings.
* Add autobuild detection of __attribute__((fallthrough))
* Use the stress_sig_handler_exit helper
* core-helper: add stress_sig_handler_exit to exit on a signal
* stress-bind-mount: add NORETURN MLOCKED_TEXT annotations to signal
handler
* stress-aio-linux: clean up gcc build warning
* stress-apparmor: clean up gcc build warning
* stress-get: add missing cast to clean up gcc build warning
* stress-get: fix various pedantic clang build warnings
* stress-crypt: remove _XOPEN_SOURCE define
* stress-apparmor: clean up pedantic build warnings
* stress-aio-linux: clean up multiple implicit type conversions
* core-ignite-cpu: pass cpu as a int32_t argument
* stress-fcntl: fix hint assignment, use UL not ULL
* stress-mmapmany: fix format specifier for max
* stress-madvise: make ~0ULL portable to 32 bit arches
* stress-io-uring: mmap buffers with MAP_POPULATE
* stress-io-uring: add more yield points in main loop
* core-io-uring: include config.h
* core-personality.c: include config.h
* core-perf-event: include config.h
* core-ignite-cpu: fix build warning, make cpu an int32_t
* stress-sigpipe: use ssize_t for read return assignments, clean up
child call
* stress-sigio: use ssize_t for read return assignments
* stress-sigfpe: add NORETURN to signal handler and clean up type
warnings
* stress-sigfd: use ssize_t for read return assignments
* stress-sigsegv: add NORETURN to handler, fix cast on %p
* stress-tree: remove extraneous ; after RB_* and SPLAY_* macros
* stress-vdso: clean up some pedantic implicit type warnings
* stress-userfaultfd: clean up pedantic warnings, add NORETURN to
handler, fix cast
* stress-ng: clean up some pedantic clang warnings
* stress-ng: add OPT_undefined for undefined non-option
* core-cache: clean up implicit type conversion warnings
* core-vmstat: add appropriate type casts to clean up pedantic
clang warnings
* core-parse-opts: cast int values to double for mixed type
math * operation
* core-thrash: clean up type warnings
* core-ignite-cpu: clean up type conversion warnings
* core-perf: clean up various type conversion warnings
* core-try-open: ensure status is zero, cleans up pedantic clang
warning
* stress-ng.h: make thermal zone type_instance a uint32_t
* core-sched: clean up implicit type conversions
* core-out-of-memory: initialize save_errno to zero, clean up
clang warning
* core-net: clean up type warnings and add wrap around check on
port overflow
* stress-skiplist: use unsigned long as value to save/fetch
* stress-seek: clean up off_t implicit type conversion warnings
* stress-lockbus: add NORETURN hint on stress_sigbus_handler
* stress-lockbus: wrap macros with while .. do (0) wrapper
* stress-enosys: add NORETURN hint on stress_badhandler
* stress-enosys: clean up implicit type conversion changes
* stress-bsearch: fix type warnings with a couple of changes
* stress-mmapmany: clean up warnings, make max a long
* stress-open: clean up missing int casts on fd comparison
* core-helper: clean up various implicit type warnings
* stress-open: clean up various implicit type conversions warning
* stress-oom-pipe: use size_t for max pipe fd array size
* stress-mmapmany: use size_t for max mappings rather then ssize_t
* stress-mmapfork: clean pedantic %p warning
* stress-mmapfork: add NORETURN hint on stress_segvhandler
* stress-chmod: fix incorrect type in 3rd arg in do_fchmod
* stress-cap: make constant unsigned
* stress-fcntl: clean up implicit type casts
* stress-fault: remove stray redundant ;
* stress-env: fix implicit type conversion warning
* stress-dirdeep: add explicit cast to char on int expression
* stress-dir: add check for mode_t, use it or int
* stress-ng: make g_unsupported static
* stress-funccall: clean up implicit type cast warnings
* stress-copy-file: clean up some implicit cast warnings
* stress-clone: clean up some implicit type warnings
* core-shim: fix extraneous ) build failure
* stress-mcontend: clean up implicit type conversion warnings
* stress-kcmp: cast to types of fields of kcmp_epoll_slot
* stress-kcmp: clean up implicit type conversion warnings on kcmp call
* stress-kcmp: wrap macros with while .. do (0) wrapper
* stress-vecmath: fix int/uint type casting pedantic clang warnings
* stress-vecmath: wrap macro OPS with while .. do (0) wrapper
* stress-dev: move CDROMVOLCTRL check to around the IOCTL_TIMEOUT macro
* stress-dev: wrap IOCTL_TIMEOUT with while .. do (0) wrapper
* stress-chown: cast uid_t and gid_t parameters
* stress-branch: simplify LIKELY macro expression to clean up warning
* stress-atomic: add explicit type cast to atomic arguments
* core-shim: clean up implicit cast of tv_nsec result
* core-shim: cast syscall and shim_enosys returns to relevant return type
* stress-sysinfo: replace macro with macro text
* stress-madvise: ensure ~0 is a ULL type
* stress-madvise: check return type for writes need to be ssize_t
* stress-madvise: only define NUM_SOFT_OFFLINE_MAX if MADV_SOFT_OFFLINE
is required
* stress-madvise: add NORETURN hint on stress_sigbus_handler
* stress-bad-ioctl: add NORETURN hint on stress_segv_handler
* core-ftrace: count should be int64_t
* core-ftrace: remove redundant ; after RB_* macros
* stress-dynlib: add NORETURN hint on stress_segvhandler
* stress-dnotify: remove unused macro DIR_FLAGS
* stress-dentry: check return type for reads need to be ssize_t
* stress-daemon: make buf uint8_t to clean up signedness warning on 0xff
* stress-close: fix type conversion warning on float multiplication
* stress-close: ensure final arg of close_range is unsigned int
* stress-urandom: make ret argument in check_eperm call ssize_t
* stress-urandom: make the buffer a uint8_t instead of char
* stress-vforkmany: explicitly cast sleep time
* stress-vforkmany: remove unused macro STACK_SIZE
* stress-vm-splice: use correct types for splice return and iov.iov_len
* stress-watchdog: add NORETURN hint for stress_watchdog_handler
* stress-watchdog: ret should be ssize_t on write() return
* stress-vm: pass buffer end to stress methods and use void *buf pointers
* stress-vm: cast %p args to volatile void *
* stress-vm: fix cast of sleep argument
* stress-vm: remove ROR64 macro, it is no longer used
* stress-vm: clean up some int to uint8_t implicit casts
* stress-vm: explicitly cast int expression to uint8_t in ROR macro
* stress-vm: fix rotate right on 8 bit values
* stress-vm: use uint32_t for mwc seed values
* stress-vm: wrap { } macros with do while (0) to avoid ; warnings
* Move STRESSOR_DECL to stress-ng.h
* core-thrash: warning clean-ups
* core-time: explicitly cast ret to size_t
* core-mounts: cast max to size_t to avoid memset implicit cast
* core-mwc: clean up some implicit casting warnings
* core-log: use size_t for data write lengths
* core-hash: clean up implicit conversions with signedness changes
* core-cache: remove redundant return 0
* core-mlock: use uintptr_t casts with unsigned long
* core-vmstat: make vmstat_delay and thermalstat_delay static
* stress-ng.h: Rename __STRESS_NG_H__ to STRESS_NG_H
* stress-version.h: Rename _VER_ to STRESS_VERSION_NUMBER
* stress-ng.h: Fix incorrect type in stress_long_double_put
* core-cache: use sscanf to parse a uint64_t rather than atoi
* core-cache: replace use of %ms with %c to get size
* stress-dup: unlink info->fifoname before removing the directory
* treewide: add ( ) around expressions in keeping with stress-ng
coding style
* stress-misaligned: user 2/4/8 byte variants of __atomic_fetch_add
* stress-misaligned: allow 128 atomic increments on x86
* stress-misaligned: remove incorrect info increment
* stress-misaligned: add increment and atomic increment methods
* Manual: update --bad-altstack testing description
* stress-bad-altstack: exercise BUS error on stacks
* stress-vforkmany: fix times() info due to SIGKILLing children
* stress-revio: unlink file as soon as possible
* stress-dev: fix incorrect close, it should be removed
* core-helper: add aborting: prefix to error message
* stress-xattr: fix = typo, should be == for a comparison
* stress-link: fix = typo, should be == for a comparison
* stress-dev: report the name of the device that failed on a stat failure
* stress-link: skip stressor on EPERM link errors
* stress-chmod: silently ignore EPERM errors on chmod
* stress-chattr: treat EINVAL on EXT2 ioctls as permissible
* stress-verity: treat EINVAL on FS_IOC_ENABLE_VERITY as verity not
supported
* stress-copy-file: rename ret to copy_ret to avoid name shadowing
* stress-fiemap: don't remove tmp dir if it's not been created
* stress-copy-file: handle initial mkdir failure correctly
* stress-copy-file: check for EINVAL on copy_file_range
* stress-hdd: add workaround to O_DIRECT open failure cleanup
* stress-aio-linux: disable O_DIRECT for filesystems that do not
support it
* stress-chdir: move yield point detection to start of loop
* stress-dentry: add yield point detection before starting iteration
* stress-mknod: add yield point detection before starting iteration
* stress-filename: add probing of maximum filename length
* stress-hdd: cater for read failure on vfat on ENOSPC
* stress-xattr: silently ignore E2BIG error on *setxattr calls
* stress-dup: fix tidy clean up paths for tmp path and mmap'd memory
* stress-copy-file: don't rmdir the test directory if it was not created
* stress-sync-file: treat EINTR as a SIGALRM/SIGINT termination w/o
error
* stress-splice: initialize buffer before writing it down the pipe
* stress-quota: add quotactl_path support introduced in Linux 5.13
* stress-enosys: add quotactl_path system call
* stress-sysinval: fix number of args to quotactl system call
* stress-sysinval: add quotactl_path system call
* Add missing whitespaces in expressions
* stress-splice: add a looped pipe splice to the mix
* stress-landlock: exercise illegal landlock_add_rule arguments
* stress-ng: fix Liunx typo
* stress-dirdeep: add sanity checks for scandir failures
* core-helper: encode hashed filenames into base36 14 char string
* stress-dev: remove debug message on device being processed
* stress-landlock: replace security=landlock to lsm=landlock
* stress-misaligned: work around misaligned segv on 128 bit reads
* Add stress_sighandler_default to restore handler to SIG_DFL
* stress-misaligned: report the misaligned stress methods used
* stress-misaligned: add uint8_t * cast to clean up gcc 6.5.0 build
warning
* stress-fallocate: re-order variable declarations, cleans up clobber
warning
* stress-misaligned: add a new misaligned memory read/write stressor
* stress-list: replace entry with entries
* stress-dev: add TIOCGPTPEER ioctl
* stress-dev: add TIOCSSERIAL ioctl
* stess-splice: add workaround to failed splice from /dev/zero to pipe
* stress-landlock: remove empty line
* kernel-coverage: add more f2fs mkfs options to exercise the fs more
* stress-landlock: fix ENOSYS error return on unimplemented syscalls
* stress-landlock: exercise illegal landlock API arguments
-- Colin King <colin.king@canonical.com> Sat, 22 May 2021 19:54:16 +0100
stress-ng (0.12.08-1) unstable; urgency=medium
[Colin Ian King]
* Makefile: bump version
* stress-landlock: give hint that landlock LSM may need to be enabled
* stress-landlock: voidify unused args in system call wrappers
* stress-sigio: disable SIGIOs and close pipe end as soon as possible
* stress-zlib: clean up clobber warnings
* stress-ng: make us_total a temp variable in local scope
* README: add in architectures and update stats
* stress-iomix: add POSIX_FADV_* advice defined checks
* stress-malloc: clean up void* -> void *
* kernel-coverage: add more file systems and mount options
* stress-sigio: fix segfault (LP: #1918095)
* stress-xattr: add yield points in xattr loops
* stress-inotify: break out of write loop on ENOSPC, update yielding
* stress-dnotify: break out of write loop on ENOSPC, update yielding
* stress-msg: replace tmp return variable rc with ret
* stress-landlock: add Linux 5.13 landlock system call stressor
* kernel-coverage: add more file systems into the coverage tests
* stress-sysinval: add in landlock_add_rule and landlock_restrict_self
* stress-enosys: add in landlock_add_rule and landlock_restrict_self
* stress-sysinval: add landlock_create_ruleset to inval system call table
* stress-enosys: add new Linux 5.13 landlock_create_ruleset syscall
* stress-fallocate: replace space indentation with tab
* stress-fallocate: handle SIGALRM and SIGINT more responsively
* stress-fallocate: add more yield points
* stress-link: add yield point check on each iteration
* stress-membarrier: keep membarrier cmd flags in sync with kernel
* stress-open: add an illegal all-bits set resolve flags setting
* stress-open: work through the openat2 resolve flags for more coverage
* stress-ng: add username if it is fetchable to syslog info
* stress-ng: fix argument dumping from argv[] to syslog
* core-setting: ensure string setting types are free'd
* stress-stackmmap: Fix stack_sig mapping, add missing anonymous flag
* stress-ipsec-mb: ensure all the timing data is set to 0.0
* stress-personality: just make zero sized array a 1 element sized array
* stress-aio-linux: fix the allocation size of cbs
* core-vmstat: ensure tz_info_list is initialized for non
thermalstat_delay cases
* stress-l1cache: add another L1 cache set size sanity check
* stress-personality: make failed array 1 element when n == 0
* stress-sysinval: remove redundant re-assignment of syscalls_exercised
* stress-af-alg: ensure info.name and info.type are free'd on failed add
* stress-affinity: ensure pids array is zero'd before us
* stress-vm: remove incorrect re-setting of counter c in 2nd loop
* stress-vdso: remove redundant assignment to str
* stress-userfaultfd: break assignment and check into two statements
* stress-verity: check ioctl FS_IOC_GETFLAGS flags only if ioctl is OK
* stress-udp: add missing voidifications on ignored return from setsockopt
* stress-run: add missing voidifications on ignored return from ioctl
* stress-sysinfo: don't stat on a null mnts[i]
* stress-sysfs: voidify return from ppoll call
* stress-procfs: only check statbuf.st_mode if fstat returned 0
* stress-fcntl: voidify returns of fcntl calls
* stress-cap: voidify returns of capget calls
* stress-cpu: add div32 cpu stressor method, remove k from div64
* stress-tsc: use clock time rdtime rather than cycles for RISC-V
* stress-msg: cleanup resources on a fork failure
* stress-msg: allocate msgq_ids on the heap, don't use the stack
-- Colin King <colin.king@canonical.com> Thu, 6 May 2021 18:44:22 +0100
stress-ng (0.12.07-1) unstable; urgency=medium
[Colin Ian King]
* Makefile: bump version
* core-helper: uncapitalize SWAP -> swap
* stress-l1cache: only compute cache size if it is not provided
* stress-l1cache: skip stressor if cache size is abnormal
* stress-l1cache: check for correct ways and line_size
* stress-fork: silence warnings concerning vfork being deprecated
* stress-cpu: fix double arg cpow and pow macros
* Fix typo in builtin rint config checking
* Rename test-builtin-cpu-is.c to test/test-builtin-cpu-is-power9.c
* stress-cpu: parameterise workaround math macros
* Add build detection and use builtins for fabs, fabsl, rint, rintl,
sqrt and sqrtl
* stress-sigabrt: fix build warning when built with gcc-11 PEDANTIC
* Use a void * pointer for the mapping to avoid munmap warning
* stress-wcstr: don't exercise wcscmp on M68K
* stress-shm-sysv: don't declare get_bad_shmid for M68K
* stress-shm-sysv: don't declare bad_shmid for M68K
* stress-shm-sysv: don't pass NULL args to shmctl on M68K
* stress-fp-error: disabled full fp error checkking on M68K
* Add M68K (Motorola 68000) family #define
* stress-ng: rename variable exit_status to wexit_status
* Add cppcheck-suppress annotations to silence cppcheck on known
false positives
* stress-sigfpe: don't declare err_code when SA_SIGINFO is not defined
* stress-dev: clean up some cppcheck warnings
* stress-bad-altstack: don't use null vdso address
* stress-cpu: increase number of iterations for omega stressor
* stress-dev: disable play/pause ioctl on CD-ROMs
* core-cache: remove redundant null check on cpu_path
* core-cache: remove some redundant code
* core-cache: rework to make cache detection more robust
* core-cache: cater for offline CPUs
* core-cache: don't use auxvals if non of the AT_* cache defines exist
* stress-prctl: exercise PR_SET_SYSCALL_USER_DISPATCH system call
* emulation
* core-helper: print cache level being used in more informative way
* stress_cache_alloc: use mmap'd shared memory rather than calloc'd
memory
* core-cache: determine cache size via getauxval
* core-cache: add support for linux SPARC 64 cache information
* stress-sigabrt: use handler and non-handler modes of SIGABRT
* Check for both __riscv__ and __riscv macros
* stress-userfaultfd: skip test if EPERM is returned
* stress-ng: translate stressor EXIT_FAILURE to EXIT_NOT_SUCCESS
* stress-rdrand: add some simple 64 bit random data sanity checks
* stress-list: add stress_list_slistt to all methods
* stress-list: check for defined sys/queue.h macros before using them
* stress-list: fix typo, should build if HAVE_SYS_QUEUE_H defined
* stress-list: had hand-crafted slistt method
* Add list stressor to exercise insertion/find/removal of various
list types
* stress-mknod: silently ignore EINVAL on mknod failures
* stress-signal: fall back to libc signal() if syscall returns ENOSYS
* core-helper: Add stress_get_stack_top to determine stack stop
* Makefile: pass LDFLAGS to function test builds, echo configs on
VERBOSE=1
* travis: update with more recent build disto and add more libraries
* stress-chdir: ensure statbuf is initialized
* Revert "stress-chdir: fchmod on recently fetched statbuf st_mode"
* stress-pthread: make pthread stack shared and ensure it's resident
* core-helper: Fix -k option, don't change the process name
* stress-pthead: unmap stack after pthread has joined
* stress-signal: dont call signal syscall directly
* stress-memthrash: fix off-by-one array overflow on swap method
* stress-memthrash: don't perform misaligned read/writes
* stress-memthrash: calculate number of threads based on online CPU
count
* stress-fork: remove residual fork call
* Makefile: Add MAN_COMPRESS to control stress-ng.1 compression on
install rule
* stress-fork: remove syscall(__NR_fork)
* stress-fork: set pid and errno on an unknown fork case
* stress-fork: done use fork shim helper, move code into core stressor
loop
* Add system information in -v debug output
* core-perf: clean up false positive static analysis warning
* test/test-mq-posix: memset msg to clean up static analysis warning
* stress-chdir: fchmod on recently fetched statbuf st_mode
* stress-matrix-3d: ensure maxtrix_3d_method_name is null
* stress-aio-linux: ensure fds is set to null on error
* stress-sysinval: remove extraneous ) in alloc_hugepages syscall info
* stress-sysinval: re-work resource cleanup on error
* stress-sysinval: add system call utilization stats
* stress-ng: prefix functions with stress_
* stress-ng: rename stressors_{init|deinit} to
stress_stressors_{init|deinit}
* Rename stress_{map|unmap}_shared to stress_shared_{map|unmap}
* Rename stress_free_stressors to stress_stressors_free
* Rename stress_free_settings to stress_settings_free
* Rename stress_free_temp_path to stress_temp_path_free
* Break && macro checks into multi-lines to match stress-ng code style
* stress-cpu: add float64 64 bit floating point cpu stress method
* stress-cpu: add a lfsr32 cpu method
-- Colin King <colin.king@canonical.com> Wed, 21 Apr 2021 19:40:15 +0100
stress-ng (0.12.06-1) unstable; urgency=medium
[Helmut Grohne]
* Add VERBOSE build options (Closes: #971719)
[Colin Ian King]
* Makefile: bump version
* Makefile: update code name
* Manual: update date
* Makefile.config: move the HAVE_VLA_ARG
* stress-zlib: add missing , between string literals
* stress-cpu: don't run checksums on zero sized buffers
* Makefile.config: re-order build time checks for pretty output
* Makefile.config: remove extraneous .h from userfaultfd.h text
* Makefile.config: remove leading space before swapcontext text
* Makefile.config: fix missing "struct" test from message
* Makefile.config: emit yes/no answer to config checks
* Manual: clarify the 0 or less than zero number of instances
* Makefile: generate config.h file from Makefile.config
* Replace #if MACRO with #if defined(MACRO)
* stress-sysbadaddr: don't use read/write if readv/writev are not
available
* stress-hdd: fall back to read/write if readv/writev are not
available
* stress-cyclic: rework when to define stress_cyclic_stats
* stress-cyclic: build in stress_cyclic_stats only if it is required
* stress-set: clear up static analysis warning
-- Colin King <colin.king@canonical.com> Thu, 24 Mar 2021 13:14:15 +0000
stress-ng (0.12.05-1) unstable; urgency=medium
[Witold Baryluk]
* stress-cpu.c update proc state to RUN before the main loop
[Colin Ian King]
* Makefile: bump version
* Manual: update date
* stress-l1cache: add pointer casting for mmap/munmap for openhipster
* stress-af-alg-defconfigs.h: minor sort re-ordering
* stress-af-alg: make --af-alg-dump option dump the stringified type
* stress-ioport: fix typo in comment
* stress-l1cache: remove a line
* stress-l1cache: skip stressor if l1cache info is zero
* core-helper: rename __stress_get_stack_direction
* stress-mmapfork: rename __strlcat to notrunc_strlcat
* fast-test-all: omit l1cache as this requires cache info that may
not be available
* stress-l1cache: fix non-Linux build failure
* stress-timer: periodically exercise /proc/self/timers
* stress-cpu: add exim's nhash for one more hashing cpu exercising
method
* stress-ng: report skipped messages only on the first instance
* stress-verity: add FS_IOC_READ_VERITY_METADATA ioctl
* stress-pthread: report the maximum number of concurrent pthreads
* stress-cpu: update short help information
* stress-ng: add CPU % used per processor metrics
* Manual: update contributors list
* core-cache: assume CPU is online if online information not available
* stress-io-uring: remove debug message
* stress-l1cache: handle non-power of 2 alignments
* stress-l1cache: remove unused variable ret
* stress-l1cache: add new level 1 cache stressor
* core-cache: fix fetching of cache ways information
* stress-cyclic: add build time check for clock_gettime in
stress_cyclic_usleep
* stress-dentry: fix build warning of utime when utime is not declared
* stress-rawsock: add build time check for HAVE_ICMPHDR
* stress-dentry: add build time check for struct utimbuf
-- Colin King <colin.king@canonical.com> Fri, 12 Mar 2021 09:44:11 +0000
stress-ng (0.12.04-1) unstable; urgency=medium
[Colin Ian King]
* Makefile: bump version
* Manual: update date
* stress-ng: remove duplicate shadowing statbuf declaration
* core-helper: remove const from stack argument
* stress-vforkmany: cast mmap return to uint8_t *
* stress-sock: voidify unused argument rt
* stress-rlimit: cast mmap return to uint8_t *
* stress-context: cast mmap return to uint8_t *
* core-helper: cast mmap return to uint8_t
* stress-malloc: don't declare keep_thread_running_flag for
non-pthread builds
* stress-ng: use stat method of inode file mode checking
* stack handling: use _SC_SIGSTKSZ and _SC_MINSIGSTKSZ
* stress-sock: avoid some socket ioctls on RT kernels
* core-helper: clean up stress_{read|write}_buffer code style
* core-helper: replace void * pointer math with char *
* stress-fiemap: use light weight racy counting for bogo-ops
* stress-fiemap: add some extra fsync flushes for I/O blocking
* stress-x86syscall: add build time checks for __NR* macros
* stress-utime: fix build failure when O_PATH is not supported
* stress-exec: don't perform exec_garbage if O_PATH is not supported
* stress-exec: add build time check for O_PATH
* stress-cyclic: add hint of how to fix -EBUSY warning
* core-sched: make runtime 90% of deadline
* stress-procfs: add RISC-V /proc/bus/pci/ PCIIOC_CONTROLLER ioctl test
* stress-vm: add mfence to rowhammer method
* core-vmstat: ensure *stat stats have headings dumped out every 25
iterations
* stress-rename: explicitly zero strings, don't unlink if empty
* stress-cache: remove stress_power_of_two
* stress-mlock: rename max to lockmax to avoid name shadowing
* core-helper: initialize info struct
* core-ftrace: initialize statfs buf to zero
* stress-tmpfs: initialize statfs buf to zero
* stress-ng: initialize pointer names to NULL
* stress-mmapfork: initialize info struct
* stress-switch: initialize pipefds to clean up warnings
* stress-dirdeep: initialize pointer namelist to NULL
* stress-bad-altstack: remove redundant continue
* stress-mmapaddr: remove redundant continue statement
* stress-ng: fix incorrect memset size
* core-cache: initialize another namelist to clean up warnings
* core-helper: initialize loadavg array with zeros
* core-cache: initialize namelist to clean up warnings
* stress-wait: initialize siginfo_t info struct to zero
* stress-ipsec-mb: initialize key array to zero
* stress-dirdeep: initialize pointer namelist to NULL
* core-helper: initialize statvfs buf to zero
* stress-pipe: initialize pipefds array to zero
* stress-sigq: initialize siginfo_t info struct to zero
* core-vmstat: initialized cpu_list to clean up warnings
* core-helper: initialize statvfs buf to zero
* stress-ng: initialize sysinfo info to zero
* core-helper: initialize statvfs buf to zero
* stress-filename: initialize statvfs buf to zero
* core-helper: initialize sysinfo struct to zero
* stress-mremap: remove redundant continue
* stress-hrtimers: remove continue statement
* stress-sysfs: remove redundant continue statement
* stress-readahead: remove redundant continue statement
* stress-sigabort: remove redundant continue statement
* stress-mmapaddr: remove redundant continue statement
* stress-io-uring: set submit fields to unused once resources are
released
* stress-memhotplug: remove | operator, assignment will suffice
* stress-sock: clean up indentation
* stress-rawpkt: clean up indentation
* stress-io-ring: fix up io uring buffer cleanups
* stress-mknod: fix array read overflow on array modes[]
* stress-verity: ensure fd is closed on error exit path
* stress-poll: close poll_fds on error return path
* core-mounts: memzero mnts array to be totally safe
* stress-urandom: close fd_rnd_blk if it was open
* core-setting: free setting->name if setting->u.str is null
* stress-timerfd: close file_fd on error exit return
* stress-bad-ioctl: ensure fd is closed on when breaking from loop
* stress-utime: close dir_fd if it is open
* stress-open: check for fd >= 0 and not just > 0
* stress-poll: free pipe_fds on error return, fix memory leak
* stress-timerfd: close file_fd on error return path
* stress-io-uring: don't unmap submit->cq_mmap if it is the same as
sq_map
* stress-zombie: declare head before shim_waitpid call
* stress-ioport: don't seek on -ve offset
* stress-urandom: don't select on fd_rnd_blk if it could not be opened
* stress-stream: avoid a zero 64 bit division (redo)
* stress-sockfd: add missing termination goto on sockopt failure
* stress-mlock: check for -ve sysconf error return
* stress-mremap: don't mlock a null *buf
* Revert "stress-seek: fix potential -ve offset seek"
* stress-close: don't close a -ve file_fd
* core-helper: check sysconf for failure
* stress-mremap: only unmap *buf if it is not null
* stress-seek: fix potential -ve offset seek
* stress-lease: fix double close on fd
* stress-efivar: use len rather than n for mapping size calls
* test/test-inotify: check return from inotify_add_watch
* core-helper: limit stress_get_max_file_limit to SIZE_MAX
* stress-efivar: fix potential -ve mmap size
* stress-rename: only close tmp_fd if it has been opened correctly
* stress-seek: fix potential -ve offset seek
* stress-msg: memset buf to zero to silence static analyzer warning
* stress-verity: ensure fd is close on error exit
* stress-malloc: free addr on error exit return
* stress-malloc: free addr on error exit return
* stress-msg: memset buf to zero to silence static analyzer warning
* stress-schedpolicy: voidify return from sched_getattr call
* test/test-inotify: voidify return from inotify_add_watch
* core-vmstat: check the keep stressing flag for termination
* stress-mq: voidify return from munmap()
* stress-timer: ensure all fields to sev are initialized
* stress-cyclic: ensure all fields to sev are initialized
* core-helper: ensure max_sysconf is assigned just once
* stress-pthread: voidify unused value
* stress-pipe: fix incorrect write size
* stress-dev: voidify return from wait, we can ignore a failure
* stress-timerfd: don't bump count or max_timerfd if create failed
* stress-timerfd: remove redundant initialization of file_fd
* stress-epoll: ensure all fields to sev are initialized
* stress-hrtimes: ensure all fields to sev are initialized
* stress-prctl: add missing voidifications from return from prctl
* stress-loop: voidify return from fsync
* stress-rename: remove stray break that was added during debugging
* stress-utime: don't pass NULL filename, some kernels can't handle this
* stress-io-uring: remove redundant initialization of rc
* core-ftrace: set time_us to zero if sscanf fails
* stress-epoll: indicate that n is to be ignored
* stress-io-uring: check if calloc failed
* stress-resource: don't close a fd if the open failed
* stress-stream: avoid a zero 64 bit division
* stress-ioport: add in missing re-seek before write
* voidify some ignored returns from stress_get_setting calls
* stress-handle: ensure mount_fd is closed on a realloc failure
* stress-pipeherd: avoid division by zero
* stress-verity: ensure fd is close on error exit
* stress-zlib: initialize all fields to stream_inf, stream_def and xsum
* stress-schedpolicy: ensure param is initialized for invalid policy
call
* core-try-open: ensure all fields to sev struct are initialized
* stress-udp: set slen of getsocketopt arg for UDPLITE_RECV_CSCOV
* core-thermal-zone: handle null tz_info->type when calling
stress_tz_type_instance
* stress-ng: remove temporary files if stressors are killed prematurely
* stress-msg: check for msgrcv errors that can occur during termination
* stress-cpu: join two lines, no functional change
* stress-cpu: fix nsqrt method that was actually doing not much
* Add --malloc-pthreads N option to run allocations in N pthreads
* stress-cache: optimize out switch statement and % operators
-- Colin King <colin.king@canonical.com> Thu, 25 Feb 2021 16:08:51 +0100
stress-ng (0.12.03-1) unstable; urgency=medium
[Adrian Ratiu]
* stress-ng.h: fix build-breaking HAVE_USTAT typo
[Colin Ian King]
* Makefile: bump version
* core-vmstat: Add delay time in seconds to vmstat and thermalstat
* stress-cache: use % operator on indexes into cache
* core-try-open: Make pid_t print and scanning more portable
* stress-ng.h: don't include <ustat.h> on OpenIndiana
* core-helper: clean up build warning on unused parameter name
* core-helper: add build time guards for setproctitle
* Manual: update names of contributors
* stress-dccp: add SIOCOUTQ ioctl, added in Linux 5.9
* stress-fanotify: exercise fanotify_init flags using a table
* stress-chmod: make index i a size_t rather than an int
* stress-cache: fix up missing tab in macro
* stress-bad-ioctl: remove extraneous tab in struct definition
* stress-af-alg: make size argument a size_t rather than an int
* stress-zlib: make size argument a size_t rather than an int
* stress-epoll: fix epoll_pwait2 call, add missing sigset size
* stress-rawdev: don't allocate buffers on stack, use mmap
* Add stressor process state information in argv[0]
* README: add static build instructions for RHEL
* stress-wcstr: don't use libbsd wcsl* when building static images
* Disable mlocked regions to avoid linking issues on RHEL static
builds
* stress-str: don't use libbsd strl* when building static images
* core-shim: don't use libbsd strl* when building static images
* stress-dup: force unlink fifo file on cleanup
* core-vmstat: cater for deltas that are negative
* core-shim: fix build warning if sbrk is not defined
* core-vmstat: use shim wrapper of strlcpy to avoid compat linking
issues
* core-shim: fix missing who argument to rusage shim system call
* core-net: fix build warning on ppid on systems that don't use it
* core-vmstat: show n/a for CPU speeds that are zero or less
* core-vmstat: ensure string therms is zero
* stress-pipeherd: move memset of rusage to fix build error on Haiku
* Add buildtime check for rusage.ru_nvcsw field
* Add buildtime check for rusage.ru_minflt field
* core-try-open: fix build error on GNU/HURD
* test/test-sem-sysv.c: touch all fields in arg to silence cppcheck
* stress-utime: add fsync after each utimensat
* stress-sock: break long #if define checks with newline
* stress-sock: clean up cppcheck style warning
* stress-rawdev: no need to declare typedefs for no-op build case
* stress-pthread: clean up cppcheck warning and use coding style for
multiple #defines
* stress-pipeherd: improve guarding and usage of getrusage variables
* stress-poll: enable HAVE_PSELECT code path
* stress-memhotplug: no need to declare typedefs for non-linux cases
* stress-kcmp: need to declare typedefs for specific build case
* stress-fault: remove OS specific guarding to check for getrusage
* stress-exec: no need to declare typedefs for non-linux cases
* stress-clone: no need to declare typedefs if clone is not supported
* core-vmstat: clean up initialization of pointer ptr
* core-vmstat: no need to check for null if we are checking for ' ' too
* core-vmstat: ensure fclose occurs on non-null opend fp
* stress-pipe: fix memory leak of buffer on error return path
* core-vmstat: fix fd leak on cpu scaling frequency
* tests: clean up some pedantic Coverity static analysis warnings
* Add --thermalstat option to dump out CPU and thermal information
* stress-dev: avoid ttyS* lockups on low latency kernels
* stress-dev: avoid blocking lockups on ttys
* Add a STRESS_TRY_AGAIN don't give up flag and simplify try-open
* stress-dev: set argv[0] at more appropriate name change points
* stress-dev: set /proc/$pid/cmdline to contain name of device being
exercised
* stress-dev: handle lockups on ttyS* blocking opens
* Add a new --vmstat option to show info like vmstat(8)
* stress-full: add mmap operations to /dev/full
* Add shim wrapper for the getrusage system call and build time
detection
* stress-poll: add --poll-fds N option to exercise more file descriptors
* stress-nice: add braces around comment and statement
* Replace keep_stressing macro with inlined function, add args param
* stress-longjmp: remove JMP_BUF_MAGIC0, it was never completed
* stress-zero: allocate buffers using mmap rather than on stack
* stress-memrate: add 128 bit read/write option
* stress-af-alg-defconfigs.h: update crypto defconfigs table
* stress-memcpy: use "all" method by default, gets more testing spread
* stress-cache: remove modulo operators, speed up code
* stress-cache: ignore sfence if not available, add missing help
and optimize
* Force keep_stressing_flag to always be inlined
-- Colin King <colin.king@canonical.com> Sat, 13 Feb 2021 22:23:24 +0000
stress-ng (0.12.02-1) unstable; urgency=medium
[Adriand Martin]
* Solved minor issue in README.Android Fixed minor issue related to
CC variable when cross compiling
[Jianshen Liu]
* Fix read of TYPE_ID_STR value from jobfile
[Colin Ian King]
* Makefile: bump version
* simplify allocation and null check to help cppcheck
* Manual: update date
* Fix a couple of spelling mistakes
* README: update stress test count
* stress-cpu: add the Fletcher16 checksum as a new cpu stress method
* stress-vm-rw: uncomment goto failure exit
* stress-vm-rw: write/read in 1G chunks
* Manual: pluralize the word stat.
* Manual: update contributors information
* stress-schedpolicy: fix build warning when building with musl C
library
* stress-cpu: fix const warning from clang pedantic build
* test-stime: pass address of time_t object to stime
* Remove empty source
* Add missing copyright dates and attribution
* Add helper functions to get and free the temporary file path
* kernel-coverage.sh: add f2fs bfs btrfs tmpfs and ramfs
* core-cache: remove some debug messages, they add noise
* stress-sigsegv: force SEGV with illegal long instruction
(x86 only)
* stress-pipe: allocate pipe buffer from heap and not stack
* Manual: update stress-cpu ackermann description
* stress-cpu: reduce ackermann m term to reduce influence on
all cpu methods
* Remove #define for __NR_memfd_secret
* stress-resources: fix mq files not being reaped
* stress-cpu: add ipv4checksum method
* core-helper: rename stress_ip_checksum to stress_ipv4_checksum
* stress-dev: only perform open tries if never opened before
* core-try-open: make helper function static
* Use the new try stress_try_open error returns to ensure open
fails are skipped
* core-try-open: resolve some stress-dev blocking issues, add
richer error return
* core-try-open: quick stat check before expensive slow open
* Fix spelling mistakes found using codespell
* stress-vecmath: avoid overflow sign extension errors
* stress-secretmem: fix void cast on mappings
* stress-secretmem: free mappings on early error return
* stress-resources: ensure early break from loop gets cleaned up
* stress-cpu: add Murmur3_32 hash to cpu stressor
* core-thermal-zone: add some more comments
* Manual: add a --cpu-load example to one of the --cpu stressor
examples
* stress-ng: forgot to include type_instance field change in
previous commit
* core-thermal-zone: sort thermal zone types on type name and type
name instance
* stress-rseq: remove volatile from rseq structs
* stress-rseq: rename signature to valid_signature to avoid name
shadowing
* core-helper: make dirname smaller, reduce stack size
* Add new secretmem stress test
* kernel-coverage: exercise ext4, xfs, jfs, minix and vfat
* stress-dev: add SCSI_IOCTL_GET_PCI ioctl
* stress-rename: replace AT_FDCWD with directory fd
* stress-link: put end of string marker on buf and not newpath
* stress-link: handle EMLINK failures on linking
* stress-filename: add filename length limit when probing filename
* stress-dir: handle EMLINK failures on mkdir
* stress-chdir: handle EMLINK failures on mkdir
* stress-aio-linux: unlink file if open failed
* core-helper: add a helper to truncate long filenames
* stress-chattr: handle ENOTTY errors when ioctls are not supported
* Add build-time check for struct sockaddr_un
* stress-ping-sock: also add EACCES socket failure check
* Add a new ping-sock stressor to exercise "ping" sockets
* Manual: clarify the number of stressors for sequential option too
* Manual: clarify the number of stressors:
* stress-ng: update copyright to 2021
* stress-dev: add RNDADDENTROPY and RNDRESEEDCRNG ioctls
* stress-loop: break overly wide line
* stress-loop: mmap in loop dev and touch + flush pages
* stress-resources: allocate a page with memfd
* stress-resources: allocate fd and page using memfd_secret()
* Add shim for new Linux system call memfd_secret()
* stress-rseq: exercise invalid rseq calls
-- Colin King <colin.king@canonical.com> Thu, 21 Jan 2021 22:46:16 +0000
stress-ng (0.12.01-1) unstable; urgency=medium
[David Turner]
* stress-hdd: strengthen verification with --verify --hdd N
[Dominik B Czarnota]
* Fix off-by-ones strncmp in stress-dev.c
[Colin Ian King]
* Makefile: bump version
* Manual: update contributors section and date
* stress-rseq: fix ptr cast to uint64_t warnings on 32 bit arm
* stress-rseq: only build with gcc
* stress-epoll: fix incorrect call to epoll_pwait when pwait2 version
does not exist
* stress-hdd: minor optimization, move hdd_flags & HDD_OPT_WR_SEQ
check outside of loop
* Update syscalls and TODO now that rseq has finally been implemented
* stress-rseq: add a restartable sequence rseq(2) system call stressor
* stress-aio-linux: ensure checking is really correct
* stress-open: limit maximum number of open file descriptors on 32 bit
systems
* stress-cpu: fix --cpu-load timer issues
* stress-longjmp: fix typo in macro
* Define constants for {nano|micro|milli}seconds and use these
* stress-cpu: add -ve delay sanity check to handle clock warping
* stress-readahead: replace white space with tabs
* stress-sysinfo: don't make EPERM errors a hard failure
* Make pid_t print and scanning more portable
* stress-aio-linux: fix error handling and submit waits, add sanity
data checks
* stress-epoll: remove white spaces
* stress-epoll: use epoll_pwait2 if it is available.
* stress-clone: remove noisy clone information
-- Colin King <colin.king@canonical.com> Sat, 26 Dec 2020 16:35:22 +0000
stress-ng (0.12.00-1) unstable; urgency=medium
* Makefile: bump version
* stress-epoll: fix sanity check for an unexpected epoll_ctl success
* stress-funccall: disable ALWAYS_INLINE for PCC
* stress-inotify: add void argument, fixes pcc build warning
* stress-epoll: fix pcc build warning
* stress-close: add invalid flags call to close_range
* core-shim: add flags field to close_range shim to match 5.10
system call
* stress-utime: voidify return using assignment and voidification
* stress-stack: reduce scope of variable ret
* stress-sock: clean up some cppcheck warnings
* stress-mlock: put HAVE_MLOCKALL into a statement block
* stress-affinity: add in missing voidification of ret
* stress-brk: remove redundant return 0 statement
* stress-pkey: limit pkey system call warning to just instance 0
* core-helper: don't use getpwent for static stress-ng builds:
* stress-stack: rename sz to mlock_sz to avoid variable shadowing
* stress-pthread: remove duplicate declaration of ret to clean up
build warning
* stress-msg: rename variable i to j to avoid name shadowing warning
* stress-prctl: remove redundant declaration of environ
* stress-msg: clean up variable shadowing
* stress-yield: workaround FreeBSD usleep bug
* stress-timer: workaround duplicated timer_delete segfault in FreeBSD
* stress-ng.h: make shim_unconstify_ptr a static inline helper
* stress-link: cast getpid() return to int for %d format specifier
* stress-open: only declare obsolete_futimesat when it is required
* stress-mmap: voidify page_size if HAVE_MPROTECT is not defined
* stress-access: declare variable j only if HAVE_FACCESSAT is defined
* stress-sem-sysv: silently ignore failures on semctl commands
* stress-sem-sysv: ensure 4th arg of semctl is zero when not used
* stress-sem-sysv: fix zero semaphores case in GETALL semctl
* stress-brk: don't exercise mlockall with MCL_FUTURE if it is not
defined
* Fix clobbering of errno by error message logging before reading errno
* stress-sem-sysv: move scope of array sems
* stress-poll: make tv_nsec out of range value a 32 bit value
* stress-mmap: only use PROT_GROWSUP and PROT_GROWSDOWN if supported
* Fix ~0ULL cast to void * build warnings on 32 bit builds
* kernel-coverage: add --pathological for sysinval stress
* syscalls: update work to do and recent changes
* stress-vm-splice: add pipe to memory vmsplicing
* stress-utime: exercise utime family of calls with invalid filenames
* stress-sysinfo: fix build issues introduced by previous commit
* stress-sysinfo: exercise ustat with invalid major/minor
* stress-userfaultfd: exercise UFFDIO_WAKE
* stress-ramfs: exercise umount with some invalid pathnames
* stress-binderfs: exercise invalid umount calls
* stress-hdd: exercise invalid ftruncate/truncate fd/filename
* stress-hdd: exercise invalid ftruncate/truncate size
* stress-timer: exercise duplicated timer_delete
* stress-pthread: add tkill to shim and exercise it
* stress-pthread: add tgkill to shim and exercise it
* stress-sync-file: exercise 0 nbytes sync, it has special semantics
* stress-swap: exercise swapon with invalid path
* stress-sysinfo: exercise invalid statfs path
* stress-fstat: exercise stat, lstat on invalid path
* stress-splice: exercise splice with some more invalid or untested
arguments
* stress-bad-altstack: exercise sigaltstack with various stack settings
* core-helper: fix comment, min stack size can be MINSIGSTKSZ
* stress-sysinval: only allow with --pathological option (LP: #1906447)
* stress-shm-sysv: exercise duplicated shmdt on unmapped addresses
* stress-shm-sysv: define MPOL_* only if required, add one more
shmctl call
* stress-xattr: exercise invalid setxattr arguments
* stress-set: add timezone argument to get more kernel coverage
* stress-nice: fix priority ranges, use correct offset in priority
* stress-set: exercise invalid pid and pgid in setpgid call
* stress-clone: exercise setns with invalid nstype and fd
* stress-set: exercise sethostname with illegal length host
* stress-set: exercise a range of setgroups calls
* stress-set: exercise setdomainname with invalid name length
* stress-pthread: exercise set_tid_address with NULL address
* stress-pthread: exercise set_robust_list with invalid length
* stress-numa: add in a mix of various set_mempolicy calls
* stress-sendfile: add more kernel coverage tests
* stress-sendfile: periodically exercise sendfile with invalid arguments
* core-helper: find bad_fd in reverse fd order if RLIMIT not supported
* stress-sem-sysv: disable SETALL and exercise long run of semops
* stress-sem-sysv: exercise semctl with various invalid arguments
* stress-sem-sysv: add SIGCHLD handler to ensure pause() gets
interrupted
* stress-schedpolicy: exercise sched_setscheduler with invalid arguments
* stress-affinity: exercise sched_{get|set}affinity with invalid
arguments
* stress-schedpolicy: exercise sched_getscheduler with bad pid
* stress-schedpolicy: exercise sched_{get|set}param with invalid
arguments
* stress-schedpolicy: exercise sched_getattr with invalid arguments
* kernel-coverage: exercise sysinval for longer
* stress-dir: exercise various invalid pathnames for rmdir and add
comments
* stress-xattr: exercise ENOENT error on removexattr calls
* stress-remap-file-pages: exercised locked mremap and invalid mremap
arguments
* kernel-coverage: remove trailing whitespace
* Revert "stress-file-ioctl: enable FIFREEZE and FITHAW file ioctls"
* kernel-coverage: add mremap --mremap-mlock option to add to coverage
testing
* stress-sock: exercise various invalid recv, recv, recvmmsg calls
* stress-reboot: update magic values, add two clearly invalid cmds too
* stress-link: exercise invalid readlinkat calls
* stress-link: exercise invalid readlink calls, remove redundant
cleanup
* stress-readahead: exercise invalid fd and range of readahead sizes
* stress-readahead: improve I/O speed and reduce setup time
* stress-vm-rw: exercise process_vm_{read|write}v with invalid arguments
* stress-prctl: exercise prctl PR_SET_MM_AUXV and PR_GET_TIMERSLACK more
* stress-poll: add some invalid arg tests for ppoll
* stress-cpu: correct the Ackermann count now we are doing calls
* stress-cpu: modify number of iterations to improve cpu instruction mix
* stress-pkey: exercise pkey system calls a little harder
* stress-pipe: add FIONREAD ioctl build time detection
* stress-pipe: exercise the FIONREAD ioctl on pipe read end
* stress-pidfd: exercise pidfd_open with invalid pid
* stress-handle: exercise name_to_handle_at and open_by_handle_at
further
* stress-mmap: exercise munmap with two invalid unmap calls
* stress-msync: exercise some invalid msync calls
* stress-msg: add some unusual msgsnd arguments to exercise kernel
* stress-msg: exercise msgget a little more, create many message queues
* stress-msg: exercise msgctl with invalid msqid and commands
* stress-mremap: add --mremap-mlock option to mlock pages into memory
* stress-mmap: remove some empty lines
* stress-clone: remove whitespace
* stress-mremap: exercise MREMAP_DONTUNMAP on a remap
* stress-mq: exercise fstat and mmap on mq descriptor
* stress-mq: exercise mq_close and mq_unlink with invalid arguments
* stress-mq: exercise mq_notify with SIGEV_NONE and invalid notify
notifications
* stress-mq: exercise mq_getattr with invalid mq and exercise mq_setattr
* stress-mmap: add some extra illegal mprotect calls
* stress-numa: exercise move_pages with various valid and invalid
arguments
* stress-clone: exercise modify_ldt with extra command types
* stress-get: disable gettimeofday with NULL args (LP: #1905205)
* kernel-coverage: add two stack stressor options
* stress-stack: add --stack-mlock option to lock stack pages into memory
* stress-mlock: exercise mlock/munlock with invalid or unusual arguments
* stress-mknod: exercise mknod S_IFDIR
* stress-dir: exercise illegal length directory name
* stress-numa: exercise migrate_pages with invalid arguments
* stress-memfd: exercise memfd_create with illegal arguments and more
flags
* stress-membarrer: exercise illegal command and flags
* stress-numa: exercise mbind with various illegal arguments
* stress-madvise: exercise invalid madvise arguments
* stress-seek: add SEEK_HOLE/DATA walkthrough
* stress-link: exercise illegal cross-device hard links
* stress-keyctl: exercise more keyctl commands
* stress-file-ioctl: remove whitespace
* stress-ioprio: exercise IOPRIO_WHO_{PGRP|USER} for invalid set/get
* stress-ioprio: exercise some invalid set/get arguments
* stress-ioport: add iopl test and exercise io calls with invalid args
* stress-klog: add .supported check before running
* stress-klog: inform use when klog can't be accessed because of
permission reasons
* stress-file-ioctl: exercise SEEK_CUR, SEEK_END on FS_IOC_UNRESVSP*
ioctls
* stress-file-ioctl: exercise invalid block range for FIBMAP ioctl
* stress-file-ioctl: force ENOMEM with invalid dest_count with
FIDEDUPERANGE ioctl
* stress-aio-linux: fix errno checking and exercise aio POLLing
* stress-aio-linux: make FSYNC/FDSYNC commands occur more frequently
* stress-aio-linux: use direct system calls and just cancel one async op
* stress-get: use NULL args for gettimeofday, update comments
* stress-getrandom: exercise GRND_NONBLOCK | GRND_INSECURE and illegal
flags
* stress-open: voidify unused arguments to obsolete function helpers
* stress-sock: exercise illegal getsockname calls
* stress-open: exercise obsolete futimes and futimesat calls
* stress-access: fix AT_EMPTY_PATH check
* stress-itimer: exercise getitimer on all the itimers
* stress-get: exercise getgroups with zero and invalid gid size argument
* stress-getdent: exercise getdents with illegal zero size
* stress-pthread: exercise get_robust_list with invalid PID
* stress-numa: exercise get_mempolicy with invalid maxnodes argument
* stress-hdd: exercise futimes with invalid times
* kernel-coverage: exercise noatime and syncfs hdd options
* stress-flock: add periodic /proc/locks exercising
* stress-flock: exercise illegal lock command combination
* stress-flock: exercise LOCK_MAND with LOCK_READ, LOCK_WRITE
* stress-access: avoid name shadowing by renaming array flags
* TODO: add xattr todo item
* stress-xattr: add more invalid attribute strings and sizes
* stress-sync-file: exercise sync_file_range with more illegal arguments
* stress-iomix: add illegal fdatasync call for more kernel exercising
* stress-fcntl: reset default signal using F_SETSIG with 0 arg
* stress-epoll: exercise epoll_ctl_add with an illegal fd, clean up
some errors
* stress-chroot: voidify unused args parameter in non-linux builds
* stress-chroot: don't exercise EFAULT check on non-linux systems
* stress-chmod: exercise illegal filenames
* stress-chdir: exercise some invalid chdir and fchdir calls
* stress-cap: add macro define checks to ensure code is always buildable
* stress-cap: exercise capget with different capability versions and
invalid pid
* stress-brk: add --brk-mlock option to mlock future brk pages into
memory
* stress-open: exercise new openat2 system call
* stress-access: try to use faccessat2 for faccessat
-- Colin King <colin.king@canonical.com> Thu, 3 Dec 2020 11:07:41 +0000
stress-ng (0.11.24-1) unstable; urgency=medium
[Colin Ian King]
* Makefile: bump version
* stress-sysfs: make variables i and n plain signed ints.
* stress-procfs: make variables i and n plain signed ints.
* stress-physpage: reduce the scope of variable 'data'
* stress-open: reduce the scope of variable 'dir'
* core-helper: stress_get_file_limit: bail out after 250 closed fds
* stress-vm: remove leading whitespace from short help info
* core-helper: clean up variable shadowing warning
* stress-mlock: clean up build warnings on use of mmap and munmap on
openhipster
* stress-clone: fix build issue with NetBSD and clone
* stress-clone: fix build issue with kFreeBSD and clone
* stress-procfs: exercise PCI PCIIOC_CONTROLLER procfs ioctl
* stress-procfs: clean up warning when stress_proc_info has zero
elements
* stress-procfs: add ability to exercise specific procfs files in
novel ways
* stress-bad-altstack: add /dev/zero mapped stack
* kernel-coverage: increase sysfs and procfs coverage durations
* stress-procfs: remove empty lines
* stress-procfs: improve procfs coverage by improving striding method
* stress-sysfs: remove printf debug
* stress-sysfs: add more methodical way of stepping through sysfs files
* core-helper: add stress_dirent_list_prune to remove . and .. from
scandir list
* stress-tsc: add s390x support for time clock reading
* stress-sockdiag: force more diag messages by running through all bit
flags
* Add build time check for __atomic_add_fetch
* stress-lease: break up multiple defined() macro checks
* stress-inotify: clean up comments to function args
* stress-get: exercise various system calls with defunct/invalid PID
* core-helper: add a racy "find a potiential free pid" helper
* stress-icmp-flood: constify pointers
* stress-session: remove shadowed declaration of variable ret
* stress-clone: use NULL for stack on clone3
* stress-session: silently ignore ECHILD or EINTR waitpid errors
* stress-efivar: add comment to lseek helper function
* stress-session: improve error handling from child process
* stress-mlock: mmap mappings array as it can be huge
* stress-shm-sysv: fix errno reporting in error messages
* stress-shm-sysv: fix spelling mistakes in error messages
* stress-shm-sysv: fix error message and false positive failure
* stress-fstat: break up multiple defined() macro checks
* stress-fcntl: break up multiple defined() macro checks
* stress-efivar: exercise efivar file with lseek/read, mmap and ioctls
* stress-efivar: fix typo in comment
* stress-dup: add dup2 race stressing for Linux
* stress-handle: remove the "ended" debug message
* TODO: add watch_queue to TODO list
* stress-getrandom: silently ignore EINVAL errors
* stress-dentry: exercise dir file descriptor more
* stress-chattr: exercise with random flags and perform get/unset of
original flag
* TODO: remove uprobes, this has now been implemented
* stress-apparmor: reduce error reporting on ENOENT errors
* stress-clone: fix clone issues found on ARM64
-- Colin King <colin.king@canonical.com> Fri, 13 Nov 2020 20:51:27 +0000
stress-ng (0.11.23-1) unstable; urgency=medium
[ Helmut Grohne ]
* Makefile: remove touch of stress-ng for stress-vecmath object
rule (Closes: #973389)
[Colin Ian King]
* Makefile: bump version
* Manual: update contributors and update date
* stress-uprobe: use tracing pipe and ensure this works on older kernels
* stress-ng.h: workaround ALIGNED macro warnings on PCC
* stress-uprobe: use correct printf format specifier for a uint32_t
* stress-sockdiag: break out for loop rather than return
* stress-tmpfs: remove shadowed offset declaration
* stress-splice: add one more pipe to exercise pipe to pipe splicing
* stress-splice: exercise some invalid splice calls
* stress-procfs: add single char procfs reads and fix --procfs-ops
termination
* stress-uprobe: fix int to ptr cast warning on 32 bit systems
* stress-tmpfs: fix incorrect lseek failure check
* stress-mlock: fix build check for MCL_ONFAULT and MCL_FUTURE
* stress-procfs: remove duplicated /proc/self
* stress-dnotify: use DN_MULTISHOT where possible
* stress-open: exercise fdinfo for open'd file descriptors
* stress-file-ioctl: exercise FS_IOC_GETVERSION ioctl
* stress-ptr: exercise linux fdinfo for pty file descriptors
* stress-getrandom: add GRND_INSECURE flag
* stress-verity: add ENOSPC check
* syscalls.txt: add arch_prctl to the system call list
* stress-prctl: add arch_prctl to the prctl stressor
* stress-rtc: add in a few more RTC ioctls
* stress-file-ioctl: enable FIFREEZE and FITHAW file ioctls
* stress-file-ioctl: correctly implement FS_IOC_ falloc ioctls
* stress-dir: exercise invalid truncates on directory fd and path
* stress-uprobe: skip stressor if non-linux
* test/test-executable-start: ensure symbol is available
* stress-open: fix some one more warning GCC 6.5.0 / OpenIndiana
* core-mlock: use shim version of mlock
* stress-open: fix some build warnings GCC 6.5.0 / OpenIndiana
* core-helper: fix build issue on OS X get_etext extern name
* core-helper: fix start of text segment address
* stress-sock: rename pointer bug to avoid name shadowing
* stress-uprobe: add a uprobe tracing stressor
* stress-get: add statfs, fstatfs and statvfs calls
* stress-udp: exercise some setsockopt/getsockopt options
* stress-sock: exercise setsockopt options
* kernel-coverage: exercise open with the open-fd option
* stress-open: add --open-fd option to exercise opening /proc/$PID/fd/*
files
* stress-open: try to open as many files as possible
* stress-sock: make loop index size_t
* stress-sock: exercise a range of getsockopt INET4 and INET6 options
* stress-sock: add TCP congestion control setting and getting
* stress-vdso: fix symbol lookup on clang built kernels
* core-shim: fix build issue, rename __process_madvise to
__NR_process_madvise
* Fix a few spelling mistakes
* Manual: fix a handful of spelling mistakes
-- Colin King <colin.king@canonical.com> Fri, 30 Oct 2020 11:17:24 +0000
stress-ng (0.11.22-1) unstable; urgency=medium
[Colin Ian King]
* Makefile: bump version
* Manual: update date and update contributors kudos
* stress-dev: make function static, cleans up gcc-10 pedantic builds
* stress-sockdiag: drop const, cleans up pedantic clang-10 warning
* stress-dev: exercise sound control device ioctls
* stress-sockdiag: exercise a wider range of protocol families
* stress-verity: exercise FS_VERITY_HASH_ALG_SHA256 and
FS_VERITY_HASH_ALG_SHA512
* stress-fork: avoid potential variable clobbering by vfork
* TODO: add uprobes as a todo item
* stress-verity: read data back and check block contents
* stress-quota: exercise Q_GETNEXTQUOTA and some invalid quota arguments
* stress-efivar: re-work comment to something more sensible
* stress-physpage: add attempt to seek and read on /dev/mem
* stress-msync: skip sanity check on FreeBSD, this currently always fails
* stress-madvise: fix incorrect placement of #endif
* stress-sock: exercise socket fdinfo
* core-helper: remove debug in stress_read_fdinfo
* core: add stress_read_fdinfo to read linux fdinfo data
* core-out-of-memory: remove extraneous tab
* stress-pidfd: exercise PIDFD_NONBLOCK
* core-out-of-memory: add a couple more yield points
* stress-sock: exercise SIOCUNIXFILE on AF_UNIX socket domains
* stress-sock: add FIOSETOWN, SIOCSPGRP, SIOCGSTAMP_NEW and SIOCGSKNS
ioctls
* stress-pthread: exercise pthread_sigqueue
* stress-cyclic: on EBUSY report a recommendation to run with less
instance
* stress-cyclic: report instance that fails with errors such as EBUSY
* stress-sigfd: add build time detection of the signalfd system call
* Use intptr_t instead of ptrdiff_t for ptr to int casting
* stress-vdso: fix typo, remove extraneous i in message
* stress-io-uring: fix another cast warning on 32 bit arm systems
* stress-io-uring: fix cast warning on 32 bit arm systems
* stress-verity: fix cast warning on 32 bit arm systems
* stress-hdd: fix fcntl F_SET_FILE_RW_HINT incorrect argument
* Manual: replace "the the" with "the" in comment
* stress-icache: replace "the the" with "the" in comment
* kernel-coverage: re-work to get good overall coverage in a few hour
run
* stress-mlock: add more yield points
* stress-wait: ignore issues with a zero si_signo (part 2)
* stress-wait: ignore issues with a zero si_signo
* core-helper: only declare rlim if it is required
* test: test-cdrom_tochdr: memset header to clean up cppcheck style
warning
* stress-xattr: voidify an unused return value in ret
* stress-timer: reduce scope of variable ret
* stress-procfs: remove redundant eos check on *pptr
* stress-madvise: move int ret to a code block
* stress-madvise: move pointer unmapped to a code block
* stress-dir: no need to close dirfd if it has not been opened
* stress-dir: add flock build time checks for systems that do not
support it
* stress-schedpolicy: only exercise NULL params on Linux
* stress-fork: fix return type of local_shim_fork, should return pid_t
* core-shim: fix minix build warning - declare stime() the minix way
* stress-rename: simplify renameat/renameat2 detection
* stress-sockpair: add more intelligence to socketpair failure returns
* stress-verity: handle ENOTTY on FS_IOC_ENABLE_VERITY failure
* stress-sockpair: close fds and bail out correctly on termination
* stress-wait: fix missing break on if statement
* tests/test-stime: fix static analysis warning
* stress-shm-sysv: make get_bad_shmid static
* stress-context: fix pedantic build warning on shadowed variable name
* stress-shm-sysv: fix build warning on unused parameter cap_ipc_lock
* stress-xattr: line break some overly wide lines
* stress-xattr: add build time check for XATTR_SIZE_MAX
* Makefile: use $(GREP) for grep
* stress-sysfs: add ppoll on sysfs fd
* stress-sysfs: increase timeout to 1 millisecond
* stress-get: don't report failure on EPERM failures
* syscalls: update vhangup entry
* stress-session: exercise vhangup for more kernel coverage
* stress-session: check session id failure return with (pid_t)-1
* stress-fork: exercise vhangup to get more kernel coverage
* Add auto build detection of vhangup system call
* stress-fork: put pid and errno info into a struct
* syscalls: update process_madvise information
* stress-set: exercise stime() if it is available
* stress-fork: remove trailing white space
* core-shim: remove debug foo message
* stress-madvise: remove new line
* stress-tee: re-enable invalid tee flags check with kernel release check
* core-helper: add helper functions to help with kernel release values
* stress-tee: relax invalid flags test for the moment
* stress-madvise: exercise process_madvise()
* core-shim: update with correct process_madvise API
* stress-fork: try to exercise native fork system call
* stress-wait: try to use syscalls in preference to libc wrapped
wait* calls
* stress-brk: detect if sbrk is implemented and improve shim wrapper
* stress-context: add pre/post context region canary checks
* stress-chattr: prefix defines with SHIM_ to avoid name clashing
* stress-sem-sysv: voidify return from memset
* stress-access: declare bad_fd if HAVE_FACCESSAT is defined
* stress-lease: don't report a failure on termination on interrupted wait
* stress-dir: remove tab, make line an empty new line
* stress-ng.h: clean up some white spaces/intentations
* stress-dir: exercise flocks on a dirfd
* stress-dir: stat directory entries
* stress-dir: add dir mmap and improve yielding and directory cleanup
* stress-dentry: split multiple defined() checks over lines
* stress-rename: return error state from exercise_renameat2
* stress-rename: return error state from exercise_renameat
* stress-rename: break defined() checks over multiple lines
* stress-rename: some minor reformatting changes and code cleanup
* stress-rawdev: don't use static buffer in stress_rawdev_path, add
comments
* stress-oom-pipe: exercise invalid pipe size setting, add more yield
points
* stress-longjmp: add canary memory clobbering checks and longjmp timings
* stress-lockf: add occasional F_TEST lockf command
* stress-lease: terminate child if lease file open fails more than 3 times
* stress-lease: exercise F_GETLEASE to get the lease type
* stress-lease: add lease read locking
* stress-key: replace sys_ prefix on syscall wrappers with shim_
* stress-kcmp: prefix kcmp_epoll_slot with shim to avoid kcmp name clashes
* stress-judy: update stressor comment
* stress-icache: clean up incorrect tab spacing on a continuation marker
* core-out-of-memory: do zero re-wait on failed first wait
* stress-handle: use the oomable child helper
* stress-handle: clean up code, add upper bounds on mount info being read
* syscalls: update readlinkat entry
* stress-link: exercise readlinkat and add build detection
* Add a signal() exercsing stressor
* stress-get: remove void argument in sgetmask call
* stress-set/get: exercise obsolete system calls sgetmask/ssetmask
* stress-set: exercise setfsuid() and add in build-time detection
* stress-set: exercise setfsgid() and add in build-time detection
* syscalls: update note for settimeofday
* syscalls: add note for nfsservctl
* stress-shm-sysv: fix failed open check on map_files open
* stress-sockabuse: voidify returns of several system calls
* stress-shm-sysv: voidify returns of several system calls
* stress-pthread: voidify args with empty stress_pthread_tid_address
* stress-verity: add a file system verity stressor
* stress-file-ioctl: fix errno handling and remove temp directory
* stress-shm-sysv: minor cleanups, make buffer smaller
* stress-af-alg: check for ELIBBAD on bind
* stress-dev: add termios2 ioctls
* Add readlink shim to avoid calling readlinkat to get more kernel coverage
* kernel-coverage: remove zombie max stressor, it's OOMing too much
* syscalls.txt: update entry for lookup_dcookie
* stress-get: perform lookup_dcookie calls on random cookies
* stress-pthread: exercise set_tid_address if it is available
* stress-get: add obsolete ugetrlimit call
* stress-dir/mknod: use shim_strlcpy instead of strlcpy (LP: #1896010)
* stress-mknod: add mknodat system call if it is available
* syscalls: update entry for unlinkat
* stress-dirdeep: add unlinkat call and autodetect syscall at build time
* stress-dir: use mkdirat if it is available to create directories
[Khalid Elmously]
* stress-wait: add missing semi-colon
[Piyush Goyal]
* stress-tee: exercise tee syscall with 0 len
* stress-tee: add check on tee for same pipes
* stress-tee: exercise tee with invalid flags
* stress-rename: correct a typo in a comment
* stress-rename: exercise renameat2 on file fd
* stress-rename: exercise renameat on bad fd
* stress-rename: exercise valid renameat2 on RENAME_EXCHANGE flag
* stress-rename: exercise renameat2 on file fd
* stress-rename: exercise renameat2 on bad fd
* stress-rename: add check for renameat2 EEXIST error
* stress-rename: add check for renameat2 on ENOENT error
* stress-rename: exercise renameat2 with invalid combination of flags
* stress-rename: exercise renameat2 with invalid flags
* stress-shm-sysv: add check for shmctl EIDRM error
* stress-shm-sysv: exercise shmctl on invalid shmid
* stress-shm-sys: exercise invalid commands in shmctl syscall
* stress-shm-sysv: add check for shmget ENOENT error
* stress-shm-sysv: increase kernel coverage for shmget syscall
* stress-shm-sys: add check shmget EPERM error
* stress-shm-sysv: add check for shmget syscall EINVAL error
* stress-shm-sysv: add check for shmget syscall EINVAL error
* stress-shm-sys: exercise shmget on invalid sizes argument
* stress-shm-sys: exercise shmget on invalid flags
* stress-shm-sysv: exercise shmat on unaligned address and SHM_RND
* stress-shm-sysv: exercise shmdt on unaligned page address
* stress-shm-sysv: exercise shmat on unaligned page address
* stress-shm-sysv: exercise shmat with SHM_REMAP flag on NULL address
* stress-shm-sysv: exercise shmat with all possible values of flags
* stress-shm-sysv: exercise shmdt on invalid flag
* stress-shm-sysv: exercise shmat on invalid fd
* stress-xattr: add check on setxattr syscall XATTR_CREATE flag
* stress-xattr: exercise invalid size argument setxattr syscall
* stress-xattr: add check on setxattr syscall XATTR_REPLACE flag
* stress-xattr: exercise invalid setxattr syscall
* stress-aio-linux: exercise invalid io_setup syscall
* stress-xattr: add check on lsetxattr syscall XATTR_CREATE flag
* stress-xattr: exercise invalid size argument lsetxattr syscall
* stress-xattr: add check on lsetxattr syscall XATTR_REPLACE flag
* stress-xattr: exercise invalid lsetxattr syscall
* stress-xattr: exercise invalid size argument fsetxattr syscall
* stress-xattr: add check on fsetxattr syscall XATTR_CREATE flag
* stress-xattr: add check on fsetxattr syscall XATTR_REPLACE flag
* stress-xattr: exercise fsetxattr with invalid flags
* stress-schedpolicy: exercise invalid sched_setparam syscalls
* stress-schedpolicy: exercise invalid sched_getparam syscalls
* stress-schedpolicy: exercise invalid sched_setattr syscalls
-- Colin King <colin.king@canonical.com> Thu, 22 Oct 2020 19:51:52 +0100
stress-ng (0.11.21-1) unstable; urgency=medium
[Colin Ian King]
* Makefile: bump version
* Manual: update date
* stress-unshare: don't report ENOSPC as a failure in the unshare
* Makefile: remove personality info, it is distracting
* stress-clock: fix build warnings BSD systems
* Makefile: remove -DHAVE_LINUX_IO_URING_H, it was included for testing
* stress-dev: fix build warnings on non-Linux platforms
* stress-dev: fix build error on non-linux systems with Xen guest
checking
* README: update number of stress tests
* stress-dirdeep: add post recursion yield point check
* stress-io-uring: add build-time checking for io-uring opcode enums
* Makefile: provide personality build information
* Makefile: make core first to keep order alphabetic
* stress-io-uring: exercise NOP and FSYNC IO opcodes
* stress-sysfs: skip over gcov sysfs debug files
* stress-dirdeep: declare dirfd when HAVE_LINKAT is also defined
* stress-dirdeep: exercise linkat in a few different ways
* stress-clock: add build time check for TIMER_ABSTIME
* core-helper: use shim strl* functions
* stress-eventfd: remove { } for one line block statement
* stress-eventfd: perform illegal writes periodically
* stress-unshare: add in missing empty line
* stress-io-uring: reap resources at end of test, exercise fdinfo
* stress-io-uring: remove CLASS_INTERRUPT from stressor classes
* Add stress_mk_filename to make a filename from full path and name
* stress-inotify: fix build warning
* io-uring: fix help, it was cut-n-pasted from io async stressor
* Add io-uring stressor to exercise io-uring system calls
* stress-inotify: some minor code style changes, no functional changes
* stress-inotify: optimization: get bad fd just once
* stress-inotify: fix build failures on systems without IN_MASK_CREATE
and IN_MASK_ADD
* stress-shm-sysv: exercise SYSV namespace objects
* stress-sem-sysv: remove busy loop, replace it with pause
* stress-sem: remove busy loop, replace it with pause
* stress-fanotify: fix build warning on declaration of bad_fd
* stress-fanotify: fix build failure with systems where FAN_MARK_INODE
is not defined
* stress-fanotify: fix name shadowing on function parameter mnts
* stress-timerfd: fix shadowing of variable ret
* stress-close: fix variable shadowing of ret
* stress-dev: add some device timeouts on slow optical devices
* stress-fallocate: remove some whitespaces/lines
* stress-fallocate: exercise illegal offset and lengths
* stress-fallocate: exercise illegal fallocate on a pipe
* stress-fallocate: add a blank line
* stress-fallocate: exercise some illegal modes
* stress-dev: allow hpet checking if not a Xen guest
* stress-timerfd: fix check of CLOCK_REALTIME_ALARM
[Piyush Goyal]
* stress-schedpolicy: exercise invalid sched_getattr syscalls
* stress-timer:exercise nanosleep on invalid timespec
* stress-clock: exercise clock_nanosleep on invalid timespec
* stress-clock: Exercise clock_nanosleep on invalid clock id
* stress-clock: exercise clock_adjtime on invalid clock id
* stress-eventfd: exercise illegal writes on event fd
* stress-eventfd: initialise the value written in event fd
* stress-eventfd: read from event fd on a small buffer
* stress-eventfd: exercise eventfd with invalid flags
* Makefile.config: add build time check for epoll_create
* stress-inotify: exercise inotify_rm_watch on non-inotify fd
* stress-inotify: exercise inotify_rm_watch on invalid wd
* stress-inotify: exercise inotify_rm_watch on bad fd
* stress-inotify: Exercise inotify_add_watch on bad_fd
* stress-inotify: exercise inotify_add_watch on already existing fd
* stress-inotify: exercise inotify_add_watch with two operations
* stress-inotify: exercise inotify_add_watch with bad mask
* stress-inotify: exercise invalid inotify_init1
* syscalls.txt: add inotify_init syscall
* stress-inotify: add syscall inotify1 and exercise it
* stress-fanotify: exercise invalid combination of flags
* stress-fanotify: add build time check for FAN_MARK_MOUNT
* stress-fanotify: Add fanotify syscalls
* stress-fanotify: Add test for fanotify_mark syscall
* stress-fanotify: Exercise fanotify_mark on bad fd
* stress-fanotify: Exercise fanotify_mark with invalid flag
* stress-fanotify: add test_fanotify_mark
* stress-fanotify: Exercise fanotify_init syscalls with different flags
* stress-fanotify: Add fanotify_init syscalls
* stress-timerfd: Exercise timerfd_settime with invalid flags
* stress-timerfd: Exercise non valid timerfd file descriptor
-- Colin King <colin.king@canonical.com> Wed, 16 Sep 2020 22:58:21 +0100
stress-ng (0.11.20-1) unstable; urgency=medium
[André Wild]
* Fix error if only HAVE_TERMIOS is not set
* stress-zlib: Fixes race conditions during deflate/inflate
* stress-ipsec-mb: Fixes out of bounds access of unterminated funcs
array
* stress-zlib: new zlib stressor options
[Colin Ian King]
* Makefile: bump version
* stress-zlib: cast pid_t to int for %d format specifier
* stress-timerfd: only define cap_wake_alarm when it is required
* stress-open: cast pid_t to int for %d format specifier
* stress-timerfd: add build checks for CLOCK_REALTIME_* timers
* stress-memthrash: fix premature termination by OOM handler
* stress-memthrash: fix typo in comment "Wait" -> "Wake"
* stress-zlib: use %zd for ssize_t, fixes build warning on GNU/HURD
* stress-vforkmany: improve waiting by terminating child
* stress-open: fix build failures on systems that don't support O_PATH
* stress-close: add directory clean up at end
* stress-affinity: use 16 processes to hammer affinity changes per
stressor
* stress-af-alg: break some overly long lines
* stress-af-alg: add string overflow sanity check
* stress-access: break wide defined() checks to 2 lines
* stress-madvise: make signal message text plural on > 1 SIGBUS signals
* stress-zlib: move declaration of reval, voidify return from waitpid
* stress-close: remove duplicated bad_fd declaration
* stress-zlib: print args.stream_bytes as unsigned long long
* stress-ng.h: build in target clone types if gcc supports the feature
* stress-enosys: re-write int $80 x86-64 syscall
* stress-dev: clean up indentation
* syscalls.txt: add openat2 notes
* Makefile.config: add config test for struct open_how
* stress-open: call open() directly if possible
* stress-open: add openat system call check and exercise it
* stress-close: exercise new close_range system call
[Piyush Goyal]
* stress-timerfd: Exercise non valid timerfd file descriptor
* stress-timerfd: Add invalid timerfd_gettime syscalls on bad fd
* stress-numa: Add check mbind cannot succeed without capability
* stress-pidfd: Exercise invalid pidfd_getfd syscall
* stress-numa: Add MPOL_F_MEMS_ALLOWED flag get_mempolicy syscalls
* stress-close: Exercise faccessat syscall on file fd
* stress-xattr: Reorganise and exercise invalid fgetxattr syscall
* stress-xattr: Exercise getxattr with small value buffer
* stress-timerfd: Exercise invalid timerfd_create syscall
* stress-timerfd: Add check timerfd_create cannot succeed without
capability
* stress-xattr: Exercise invalid lgetxattr syscall
* stress-pidfd: Exercise pidfd_getfd syscall with bad_fd
* stress-numa: Exercise invalid mbind syscall
* stress-numa: Add invalid get_mempolicy syscalls
* stress-numa: Exercise invalid get_mempolicy syscall
* stress-xattr: Exercise invalid fgetxattr syscall
* stress-close: Exercise faccessat syscall with invalid flags
* stress-close: Exercise faccessat syscall on bad dirfd
* stress-dev: Exercise VT_RESIZE and VT_RESIZEX ioctl syscall
* stress-dev: Exercise KDGKBDIACR ioctl syscall
* Makefile.config: Define Macros HAVE_UNIMAPDESC
* stress-dev: Exercise KDGKBSENT and KDSKBSENT ioctl syscalls
* stress-dev: Exercise GIO_UNISCRNMAP and PIO_UNISCRNMAP ioctl syscalls
* stress-dev: Exercise GIO_SCRNMAP and PIO_SCRNMAP ioctl syscalls
-- Colin King <colin.king@canonical.com> Mon, 7 Sep 2020 17:41:24 +0100
stress-ng (0.11.19-1) unstable; urgency=medium
[Colin Ian King ]
* Makefile: bump version
* stress-cpu: add workaround for unnamed bit-fields
* stress-dev: move opt_set_funcs and stress_set_dev_file to fix build issue
* stress-stackmmap: cast stack to void * to avoid build warnings
* stress-epoll: only declare epoll_ctl_mode if EPOLLEXCLUSIVE is defined
* stress-epoll: fix broken epoll controls, add helpers
* stress-vecmath: re-work vectorization of setup values
* stress-procfs: rename ptr to pptr (path ptr) to avoid variable shadowing
* stress-dev: add build autodetection for struct winsize
* stress-dev: add build autodetection for struct termios
* stress-dev: remove trailing whitespace
* stress-dev: add build autodetection for struct kbentry
* Makefile.config: re-order dm_ioctl check
* Makefile.config: re-order vt_stat check
* stress-dev: add build autodetection for struct vt_mode
* stress-dev: add build autodetection for struct unimapdesc
* stress-dev: add build autodetection for struct kbkeycode
* stress-dev: add build autodetection for struct consolefontdesc
* stress-dev: add ioctl header checks for console and vt ioctls
* stress-dev: add build autodetection for struct v4l2_dv_timings
* stress-dev: remove incorrect v4l2 ioctl test that's using wrong struct type
* stress-dev: add build autodetection for struct v4l2_enc_idx
* stress-dev: add check for v4l2_std_id
* stress-dev: add build autodetection for struct v4l2_jpegcompression
* stress-dev: add build autodetection for struct v4l2_audioout
* stress-dev: add build autodetection for struct v4l2_audio
* stress-dev: add build autodetection for type v4l2_std_id
* stress-dev: add build autodetection for struct v4l2_framebuffer
* stress-dev: add build autodetection for struct v4l2_capability
* stress-dev: Add a new --dev-file option to specify the device to exercise
* stress-procfs: force ENOENT on invalid procfs path traversal
* stress-dev: add auto build config check for struct media_device_info
* stress-dev: add auto build config check for cdrom_blk
* stress-bad-ioctl: ensure we have a bad page without a following mapped page
* Add PCC compiler build notes to README file
* Add support to build with the pcc compiler
* stress-dev: replace (void)ioctl with ret = ioctl()
[Piyush Goyal]
* stress-dev: Exercise KDGKBENT and KDSKBENT ioctl syscalls
* stress-dev: Exercise VT_GETMODE and VT_SETMODE ioctl syscalls
* stress-dev: Exercise GIO_UNIMAP and PIO_UNIMAP ioctl syscalls
* stress-dev: Exercise KDGKBMETA and KDSKBMETA ioctl syscalls
* stress-dev: Exercise KDGKBMODE and KDSKBMODE ioctl syscalls
* stress-dev: Exercise GIO_FONT and PIO_FONT ioctl syscalls
* stress-dev: Exercise KDGETKEYCODE and KDSETKEYCODE ioctl syscalls
* stress-dev: Exercise GIO_FONTX and PIO_FONTX ioctl syscalls
* stress-dev: Exercise CDROMPLAYBLK ioctl syscall
* stress-dev: Exercise CDROMSETSPINDOWN ioctl syscall
* stress-dev: Exercise CDROM_SELECT_SPEED ioctl syscall
* stress-dev: Exercise CDROM_DEBUG ioctl call
* stress-dev: Exercise GIO_CMAP and PIO_CMAP ioctl syscalls
* stress-dev: Reorder the KDGKBTYPE ioctl call
-- Colin King <colin.king@canonical.com> Mon, 24 Aug 2020 15:13:11 +0100
stress-ng (0.11.18-1) unstable; urgency=medium
[Colin Ian King ]
* Makefile: bump version
* stress-stackmmap: cast mmap return to uint8_t to clean up build warning
* stress-set: declare bad_uid and cap-setuid only for HAVE_SETREUID case
* stress-dev: break multi #if defined checks across multiple lines (2)
* stress-dev: add auto build config check for struct dm_ioctl
* stress-dev: add auto build config check for struct vt_stat
* stress-dev: add auto build config check for struct vt_mode
* stress-dev: break multi #if defined checks across multiple lines
* stress-dev: add auto build config check for dvd_authinfo
* stress-dev: add auto build config check for dvd_struct
* stress-dev: add auto build config check for cdrom_read_audio
* Makefile.config: re-order cdrom checks into correct alphabetical order
* stress-dev: add auto build config check for cdrom_subchnl
* stress-dev: add auto build config check for cdrom_volctrl
* stress-dev: add auto build config check for cdrom_mcn
* Makefile.config: move cdrom struct checks to struct checking part of
autodection
* stress-dev: add auto build config check for cdrom_ti
* stress-dev: add one more HAVE_CDROM_MSF check and break up #if defined
checks
* stress-dev: fix musl gcc build warning
* stress-dev: use uint8_t and uint32_t instead of __u8 and __u32 types
* stress-dev: add auto build config check for cdrom_msf
* stress-dev: add auto build config check for cdrom_tocentry
* stress-dev: add auto build config check for cdrom_tochdr
* stress-stackmmap: don't use void * pointer arithmetic
* stress-remap-file-pages: don't use void * pointer arithmetic
* stress-aio-linux: use correct format specifier for size_t
* stress-dev: fix matching #endif and } causing build warnings
* stress-utime: add O_PATH fd test case for utimensat
* stress-ng.h: add -Wnonnull to disabled warnings
* stress-ng: Add SIGTTOU, SIGTTIN and SIGWINCH to the signal ignore array
* stress-dev: voidify fd in cdrom stressor to avoid build warnings
* core-helper: fix build warnings, add in missing const
* stress-bad-ioctl: rename rc to ssjret to avoid name shadowing
* Add auto build detection of linux/cdrom.h and define HAVE_LINUX_CDROM_H
* test/test-aio-{read|write}: memset structs to avoid static analysis
warnings
* kernel-coverage.sh: add log file to capture test times
* kernel-coverage.sh: make oom-pipe oomable
* stress-dup: add more yield points
* stress-numa: silently ignore migrate pages failures
* stress-bad-ioctl: add random page data to the mix
* Add a --bad-ioctl stressor that performs _IOR ioctl read commands
* core-helper: make uid gap at least 250 to reduce race window
* Add helper stress_get_unused_uid to find an unused uid
* stress-nice: fix build issue when HAVE_SETPRIORITY is not defined
* stress-aio: add autoconfig checks for aio-{cancel|read|write}
* Makefile.config: ensure libatomic is linked in correctly
* stress-sigtrap: move case statement to fix fallthrough build warning
* core-out-of-memory: only fall back to old oom interface if new one
does not exist
* core-helper: remove stress_sigalrm_block()
* core-log: remove pr_msg_fail()
* stress-ng: remove dead code
* stress-sigtrap: fix build error when SIGTRAP is not defined
* fix a lot of spelling mistakes and typos
* example-jobs: fix a couple more spelling mistakes
* example-jobs: fix some spelling mistakes
* stress-epoll: check for failure against the intended errno
* stress-pty: rename struct fields to use follower/leader instead
* kernel-coverage.sh: remove debug if/endif
* kernel-coverage.sh: ensure log does not overflow and make script less
OOM-able
* core-mlock: ensure mlock address arg is const
* stress-set: remove shadowed declaration of variable ret
* stress-epoll: only build EPOLLEXCLUSIVE if it is defined
* stress-get: rename array rlim to rlims to avoid name shadowing
* stress-epoll: fix pedantic build mode failure
[Piyush Goyal]
* stress-dev: Exercise KDGKBTYPE ioctl call
* stress-dev: Exercise KDGETMODE and KDSETMODE ioctl syscalls
* stress-dev: Exercise KDGKBLED and KDSKBLED ioctl syscalls
* stress-dev: Exercise valid and invalid KDSETLED ioctl calls
* stress-dev: Add Stressor for Console Driver
* stress-dev: Exercise CDROMREADMODE1 and CDROMREADMODE2 ioctl syscalls
* stress-dev: Exercise CDROMREADRAW ioctl syscall
* stress-dev: Exercise CDROMPLAYMSF ioctl syscall
* stress-dev: Exercise CDROMPLAYTRKIND ioctl syscall
* stress-dev: Exercise CDROMMULTISESSION ioctl sycall for CDROM driver
* stress-dev: Add ioctl calls for CDROM driver
* stress-dev: Exercise all possible DVD_READ_STRUCT ioctl syscalls
* stress-dev: Add in the /dev/sr0 to the dev_funcs array
* stress-dev: Exercise ioctl syscall for CDROM driver
* stress-dev: Exercise CDROMVOLCTRL ioctl syscall
* stress-dev: Add ioctl syscalls for cdrom driver
* stress-dev: Add more readable ioctl calls for CDROM driver
* stress-dev: Add readable ioctl calls for CDROM driver
* stress-dev: Add ioctl calls for CDROM driver
* stress-dev: Add stressor for CDROM driver
* stress-dev: Add v4l ioctl tests
* stress-dev: Add test for ioctl command VIDIOC_G_STD
* stress-dev: Add test for ioctl command VIDIOC_G_AUDIO
* stress-dev: Add test for ioctl command VIDIOC_G_INPUT
* stress-dev: Add test for ioctl command VIDIOC_G_OUTPUT
* stress-dev: Add memset for structure v4l2_capability
* stress-dev: Add test for ioctl command VIDIOC_G_FBUF
* stress-set: Test setreuid cannot succeed without capability
* stress-getrandom: Exercise invalid getrandom syscall
* stress-eloop: Pass efd2 as argument to test_eloop()
* stress-nice: Test nice cannot increase priority with capability
* stress-epoll: Test epoll instance cannot be added with EPOLLEXCLUSIVE
flag
* stress-nice: Exercise invalid nice syscall with invalid inc argument
* stress-flock: Exercise invalid flock syscall
* stress-epoll: Test EPOLL_CTL_MOD cannot be applied to EPOLLEXCLUSIVE
* stress-epoll: Test for modification of EPOLL_EXCLUSIVE in epoll_ctl
* stress-eloop: Add test for ELOOP error
* stress-set: Add comment for setrlimit syscall
-- Colin King <colin.king@canonical.com> Wed, 12 Aug 2020 15:41:22 +0100
stress-ng (0.11.17-1) unstable; urgency=medium
[Colin Ian King ]
* Makefile: bump version
* Close build issue (fixed on previous upload) (Closes: #964638)
* handle EFAULT for kernels that generate SIGSEGV
* stress-get: handle EFAULT for kernels that generate SIGSEGV
* stress-epoll: flag an error on bad events buffer if it returns more
than 0 events
* stress-open: add invalid O_TMPDIR and O_CREATE tests
* stress-open: use stress_get_max_file_limit to get max file limit
* core-helper: add stress_get_max_file_limit to return max file open
limit
* stress-open: retry opening on a failed open
* stress-open: keep opening until the maximum open file limit is hit
* stress-numa: fix indentation issue with comment
* stress-get: move invalid getrlimit test to outside of the loop
* stress-mincore: exercise mincore with MAP_NONE vec argument
* Add some pages that can be used for invalid argument system call tests
* stress-mincore: exercise some invalid and unexpected mincore arguments
* stress-mlock: clean up some indentations
* stress-mlock: improve the method of finding maximum mlockable size
* stress-mlock: fix max limit on mlocked region size
[Piyush Goyal]
* stress-epoll: Exercise illegal epoll_pwait syscall with bad address
* stress-epoll: Exercise illegal epoll_wait syscall with bad address
* stress-get: Exercise illegal uname call with bad address
* stress-set: Verify hard limit cannot be increased without capability
* stress-set: Add condition to test rlim_curr > 1
* stress-set: Exercise invalid setrlimit syscall with invalid rlim
argument
* stress-get: Exercise invalid prlimit syscall with invalid resource
argument
* stress-set: Exercise invalid setrlimit syscall with invalid resource
argument
* stress-get: Exercise invalid getrlimit syscall with invalid resource
argument
* stress-mlock: Test mlock syscall cannot proceed without permission
* stress-mlock: Exercise invalid mlockall syscall with invalid flag
* stress-mlock: Exercise invalid mlockall syscall with only MCL_ONFAULT
flag
* stress-mlock: Exercise invalid mlock2 syscall with invalid flags
* stress-epoll: Exercised Invalid epoll_wait syscall with invalid
maxevents argument
* stress-epoll: Exercised Invalid epoll_pwait syscall with invalid
maxevents argument
-- Colin King <colin.king@canonical.com> Mon, 27 Jul 2020 19:32:11 +0100
stress-ng (0.11.16-1) unstable; urgency=medium
[Piyush Goyal]
* stress-epoll: Exercise epoll_ctl syscall with EPOLL_CTL_MOD on fd
not registered
* stress-epoll: Exercise invalid epoll_ctl_add by adding already
registered fd
* stress-epoll: Reorder invalid epoll_ctl syscall with EPOLL_CTL_DEL
operation
* stress-epoll: Exercise epoll_ctl syscall with EPOLL_CTL_DEL on fd not
registered
* stress-epoll: Exercise epoll_ctl syscall with Invalid Operation
* stress-epoll: Exercise epoll_create1 syscall with valid non-zero
flags argument
* stress-epoll: Exercise invalid epoll_ctl syscall with same fd and epfd
* stress-epoll: Exercise epoll_create1 syscall with invalid flags
argument
* stress-epoll: Exercise epoll_create syscall with invalid size argument
* stress-clock: Ensure clock_settime cannot proceed without privilege
* stress-set: Added test checking settimeofday syscall cannot proceed
without privileges
* stress-numa: Exercise getcpu syscall with a non-null pointer to tcache
argument
* stress-dup: Exercise dup3 syscall with same oldfd and newfd
* stress-dup: Added test exercising invalid dup3 syscall with closed fd
* stress-dup: Added test exercising invalid dup3 syscall with invalid
flag
* stress-clock: Added test exercising clock_settime syscall with negative
time
* stress-clock: Added test exercising clock_settime syscall having an
illegal clockid
* stress-clock: Added test exercising clock_gettime syscall having an
illegal clockid
* stress-clock: Added test exercising clock_getres syscall having an
illegal clockid
* stress-pidfd: exercise pidfd_send_signal syscall by passing a pointer
to info argument
* stress-pidfd: Added tests exercising pidfd_open syscall with negative
pid argument
* stress-pidfd: Added tests exercising pidfd_send_signal syscall with
illegal flags argument
* stress-pidfd: Added tests exercising pidfd_open syscall with illegal
flags argument
* syscalls.txt: Removing the extra occurrence of getcwd
* stress-get: Added Tests exercising getpriority calls having non-zero
who argument
[Colin Ian King ]
* Makefile: bump version
* stress-bad-altstack: add check for getauxval
* stress-sigchld: only set SA_SIGINFO if it is available
* stress-xattr: terminate with EXIT_NO_RESOURCE if system call not
supported
* stress-xattr: skip test if ENOSYS is detected
* stress-mknod: remove debug message
* stress-epoll: clean up some indentation
* stress-sigfd: exercise with an invalid non-signal fd file descriptor
* stress-sigfd: exercise signalfd with invalid fd and flags
* stress-loop: add LOOP_CONFIGURE ioctl
* stress-bsearch: add in missing empty line between declaration and
statement
* core-time: add ( ) to keep to the informal stress-ng coding style
* core-thermal-zone: uncapitalize error message
* core-shim: add comments for enosys wrapper
* core-perf: constify some read-only structure fields
* core-mlock: constify m_addr_start as it never changes
* core-mincore: make uintptr const as it never changes
* core-limit: remove blank line
* core-job: make stress_chop an inlined helper function
* stress-dccp: constify opt field in stress_dccp_opts_t
* stress-dev: remove duplicated comment
* stress-klog: use SHIM_* for CAP_SYS settings
* stress-numa: add some ( ) according to the informal coding style
* stress-klog: exercise more klogctl commands to improve kernel coverage
* stress-mknod: exercise char and block device mknod calls
* stress-epoll: remove extraneous space before a comment
* stress-loop: exercise loop /sys/devices/virtual/block/loopX/loop/*
attributes
* stress-loop: exercise LOOP_CHANGE_FD with invalid fd
* stress-loop: exercise LOOP_CTL_ADD
* stress-loop: try to associate loop with a file backing with invalid fd
* stress-loop: fsync on loop backed device
* stress-loop: unlink backing file as soon as possible
* stress-sysinfo: only define bad_fd when it is required
* stress-nanosleep: remove unused opt_set_funcs
* stress-dup: don't make do_dup3 conditional on HAVE_DUP3
* stress-sigchld: add new stressor that exercises SIGCHLD handling
* stress-chattr: handle EOPNOTSUPP failures
* stress-clock: cache the capability setting and move test
* stress-set: rework error message to provide some extra info
* stress-set: move tv to local scope to fix any build warnings
* stress-ng.h: redefine SHIM_CAP_IS_ROOT to -1
* use SHIM_CAP_IS_ROOT instead of 0 for root capability checks
* stress-ng.h: Add a SHIM_CAP_IS_ROOT shim capability
* stress-ng.h: Update to the current full list of capabilities
* stress-skiplist: remove debug helper function
* core-shim: perform syscall if libc does not provide call but __NR_* is
available
* stress-dup: remove need for HAVE_DUP3 since this is handled in shim
* core-shim: add syscall to dup3 if HAVE_DUP3 is not available
* core-log: fix corrupted log when using --log-file and --log-brief
options
* stress-mmapaddr: exercise MAP_FIXED_NOREPLACE flag
* stress-poll: else if statement braces
* stress-pipeherd: fix typo on child pid comparison
* rename stress_proc_stats_t to stress_stats
* stress-ng: rename proc to stressor
* rename num_procs to num_instances
* stress-ng: rework the stressor startup loops
* stress-nanosleep: drop number of pthreads to 8
* stress-bad-altstack: add VDSO as a target for the stack, add comments
too
* stress-pipeherd: fix where empty line is located
* syscalls.txt: update nanosleep syscall
* stress-nanosleep: add new nanosleep stressor
* stress-sysinfo: exercise system calls with invalid path and fd
* exercise kernel a little more to improve kernel coverage
* stress-nice: ensure setpriority is called only if we have this system
call
* stress-kcmp: exercise some invalid kcmp calls
* stress-dev: refactorization: use stress_hash_pjw
* stress-personality: exercise invalid personalities
* snap: remove deprecated version-script from snapcraft
-- Colin King <colin.king@canonical.com> Tue, 21 Jul 2020 19:32:11 +0100
stress-ng (0.11.15-1) unstable; urgency=medium
[bybug]
* stress-sysinval: fix build failure for getresuid32
[Christopher Brown]
* README: Fix some requirement names for RHEL/Centos/Fedora
[Piyush Goyal]
* syscalls.txt: Corrected typo in the name of getcwd syscall
* stress-get: Added check for equality of return value and pointer
passed in getcwd syscall
* stress-get: Added tests exercising getpriority calls using illegal
arguments
* stress-get: Added tests exercising gettimeofday system calls using
syscall()
* stress-get: exercise gettimeofday syscall by passing a pointer to
timezone
* stress-get: handle ENOSYS from shim wrappers as no fatal, remove verify
check
* stress-get: Added tests exercising time system calls using syscall()
* stress-get: exercise time syscall by passing a pointer to time_t
* stress-nice: exercise illegal maximum priority to get more kernel
test coverage (1)
* stress-nice: exercise illegal maximum priority to get more kernel
test coverage (2)
[Colin Ian King ]
* Makefile: bump version
* Makefile: only build Makefile.config with one thread
* Makefile.config: remove duplicate Android binder checks
* stress-zero: remove duplicated assignment to ptr64
* stress-rlimit: rename array stack to avoid shadowing
* stress-ioport: clean up shadowing of variable ret
* stress-getrandom: reduce scope of variable ret
* core-shim: voidify inc argument to shim_nice
* core-shim: handle nice not being available
* core-limit: ensire max_fd is initialized
* stress-sockfd: silently ignore ETOOMANYREFS failures
* stress-vm-addr: make helper function reverse64 inlined
* stress-vforkmany: fix typo in comment, add notes about dirty hack
* stress-memthrash: add memmove option to copy data
* stress-seek: exercise invalid lseek system calls
* stress-rlimit: fix segv caused by passing a NULL context and exercise all
rlimit resource ids
* test/test-timer-create: memset sev to set all fields to zero
* Makefile.config: remove need for HAVE_NOT, and add MAKE_OPTS
* Manual: update names of contributors
* stress-fstat/manual: replace inaccurate language
* stress-fcntl: exercise fcntl with some invalid arguments
* stress-timerfd: don't set timers or exercise timers with an invalid fd
* stress-timerfd: fix typo in timerfd error message and also print bad fd
* README: add libatomic1 requirement
* Add requirement for libatomic1 for atomic builds
* Makefile: drop duplicated lib variables, they are picked up in
Makefile.config
* Makefile*: use -pthread instead of -lpthread
* stress-enosys: ignore sigsuspend, it will stop the child
* stress-enosys: set itimer before every type of system call
* stress-enosys: cater for 32 bit compat sigsuspend syscall
* stress-enosys: exit after a system call if process has forked
* stress-fnctl: fix broken build, I pushed the wrong development change
* stress-fanotify: remove trailing tab
* stress-fanotify: exercise fanotify_init with invalid flags
* stress-oom-pipe: optimize buffer writes, set buffer up once
* stress-netlink-proc: remove empty line
* stress-mq: remove some more white spaces and empty lines
* stress-mq: remove blank line
* stress-mlock: fix typo in comment "bogos" -> "bogus"
* stress-mincore: munmap mapped page on ENOSYS error from mincore
* stress-memfd: fix typo "uffer" -> "buffer"
* stress-mcontend: unmap data[0] if data[1] fails to allocate
* stress-mcontend: fix data[0] mmap failure
* stress-kill: kill pid with signal -1 to force -EINVAL error
* stress-ng: remove line feed before )
* stress-zlib: add a lfsr32 zlib option to generate 2^32-1 unique values
* stress-zero: make buffer 64 bit aligned and optimize zero check
* stress-zombie: remove zombie child overheads to increase zombie loading
* core-shim: add shim to nice() system call
* stress-tsc: remove x86 only notes to tsc option
* stress-tsc: add rdcycle support for RISC-V
* stress-enosys: bump compiler version requirement
* stress-enosys: add legacy int 0x80 method of calling system calls
* stress-urandom: exercise an invalid ioctl to get more kernel coverage
* stress-getrandom: move bogo-op counter to inner loop
* stress-getrandom: exercise GRND_RANDOM and GRND_NONBLOCK
* stress-zero: include a range of /dev/zero mmap'ing flags to exercise
* stress-ioport: exercise /dev/port if it can be opened
* stress-sysinval: add mmap_pgoff system call
* stress-memcpy: remove __ prefix, rename with test_ instead
* stress-wcstr: remove __ prefix, rename with test_ instead
* stress-str: remove __ prefix, rename with test_ instead
* core-mwc: rename __mwc to mwc, there is no need for __ prefix
* stress-clock: 'randomize' delays to mix in more unpredictability
* stress-madvise: constify variable sz
* Makefile: clean up POSIX suffix rule warning
* README: fix typo
* stress-ng: add --max-fd soft limit on file descriptors
* Add note about libattr.
* stress-ng.h: define _LINUX_SYSINFO_H only when using gcc with non-glibc
libc (such as musl)
* stress-ng.h: suppress kernel sysinfo.h
-- Colin King <colin.king@canonical.com> Fri, 10 Jul 2020 13:53:34 +0100
stress-ng (0.11.14-1) unstable; urgency=medium
[Rob Colclaser III]
* stress-membarrier: return EXIT_NOT_IMPLEMENTED ifi
MEMBARRIER_CMD_SHARED is not set
[Colin Ian King]
* Makefile: bump version
* Manual: update date
* stress-ng: add translation of 2 missing exit types to string
* stress-ng: prefix local functions with stress_ to avoid name
clashing
* stress-bigheap: add in missing new line between declaration
and statement
* stress-*, core-*: remove some extraneous spaces
* tests/test-user-desc: memset u_info object to clear up cppcheck
warning
* tests/test-serial-struct: memset serial object to clear up
cppcheck warning
* stress-sockabuse: remove duplicated EPIPE error check
* stress-pthread: voidify return in ret, clean up a cppcheck style
warning
* stress-hdd: clean up another cppcheck style warning:
* stress-hdd: clean up cppcheck style warning
* stress-fcntl: fix incorrect location of braces { } in #if defs
* README: add notes on how to build with musl C library
* stress-rawsock: ensure addr argument to recvfrom is struct
sockaddr *
* stress-ng: fix shim_loff_t type, it should be long
* core-shim: use futex call if FUTEX_WAIT is defined
* stress-ramfs: exercise new mount system calls if specific #defines
are defined
* stress-iomix: voidify fd to fix build warnings if it is not used
* stress-efivar: only exercise FS_IOC_*FLAGS if they are defined
* stress-sockpair: improve preemption points
* stress-sockpair: ignore ENOTCONN error on shutdown
* stress-access: voidify bad_fd to workaround build warning on Minix
* stress-xattr: exercise fxattr* with bad fd
* stress-sync-file: exercise sync_file_range with bad fd
* stress-sockfd: exercise sockfd with bad fd
* stress-seek: exercise lseek with bad fd
* stress-lockf: remove empty line
* stress-lockf: exercise lockf with bad fd
* stress-klog: remove whitespace
* stress-iosync: exercise fsyncfs with bad fd
* stress-getdent: exercise getdent* with bad fd
* stress-fstat: exercise fstat with bad fd
* stress-file-flock: exercise flock with bad fd
* stress-file-ioctl: exercise ioctl with bad fd
* stress-fcntl: exercise fcntl with bad fd
* stress-copy-file: remove extraneous space
* stress-close: exercise close with bad fd
* stress-chown: exercise fchown with bad fd
* stress-fallocate: remove whitespace
* stress-chmod: exercise fchmod* with bad fd
* stress-fallocate: exercise fallocate with bad fd
* stress-access: exercise faccessat* with an invalid dir fd
* stress-epoll: exercise epoll_ctl and epoll_wait with bad fd
* core-helper: use the stress_get_bad_fd helper
* core-helper: add stress_get_bad_fd helper (part 2)
* core-helper: add stress_get_bad_fd helper
* stress-close: remove white space pollution
* stress-ng: propagate EXIT_METRICS_UNTRUSTWORTHY to exit status
* stress-sysinfo: get a file system label if FS_IOC_GETFSLABEL
ioctl is available
* stress-close: close random unopened fd to exercise EBADF
* fast-test-all: make it really test *all* stressors
* Add a light weight ADT regression test
* stress-sock: fix build failure on some 32 bit arches
-- Colin King <colin.king@canonical.com> Wed, 17 Jun 2020 14:18:22 +0100
stress-ng (0.11.13-1) unstable; urgency=medium
[Arjan van de Ven]
* Use "arch=skylake-avx512" instead of "avx512f" in the TARGET_CLONES list
[Chunyu Hu]
* core-sched: init shim_sched_attr with zero
[Thadeu Lima de Souza Cascardo]
* stress-sysinval: fix build failure on 32-bit systems
* stress-sysbadaddr: fix build when HAVE_GETHOSTNAME is not defined
* stress-enosys: add some missing syscalls
* stress-enosys: negate errno
* stress-enosys: prevent segfault when doing syscall_find
* stress-rawudp: fix bind sockaddr
[Colin Ian King]
* Makefile: bump version
* Makefile: add code of conduct text file to make dist rule
* stress-sysinval: disable for GNU/HURD
* tests/control: disable tests as these are causing testing issues,
a better test mechanism is required (Closes: #962620)
* stress-dup: force invalid dups by using large fd
* stress-sysinval: fix a cut-n-paste error with delete_module
* fast-test-all: add checks for all the missing exit status values
* Add a new exit status EXIT_METRICS_UNTRUSTWORTHY
* stress-ng: fix typo "read" -> "ready"
* stress-chdir: exercise chdir to a directory that does not allow
access
* stress-sysinval: add MISC args allowing finer system call argument
passing
* stress-prctl: exercise prctl interface with some invalid arguments
* stress-sysinval: double check run time timeout
* stress-ng: rename "metrics check" to "metrics-check"
* stress-*: make child processes call sched_settings_apply
* core-sched: add new sched settings helper sched_settings_apply
* stress-ng: check and set sched DEADLINE settings if SCHED_DEADLINE
is defined
* stress-sysinval: disable OS X builds as syscall() has been deprecated
* stress-sysinval: prefix syscall_arg* with stress_ to avoid OS X name
clashing
* core-out-of-memory: use waitpid rather than the shim delay'd wait
wrapper
* stress-sysinval: remove linux only check; it builds now on all
supported platforms
* stress-sysinval: cast pointers to void * for madvise call
* stress-sysinval: remove the xattr checks, they are not required
* stress-sysinval: only build tests syscall.h syscall() is available
* stress-vm-rw: fix up unexpected read size error message
* stress-mq: don't report EINTR errors as fatal issues
* stress-aio: silently ignore ENOSPC write failures
* stress-enosys: force child to be killed and reap
* stress-{iomix,fiemap}: fix copying of args struct
* Add a code of conduct document
* stress-stream: make short duration message clearer
* kernel-coverage: run sysinval stressor for 3 minutes on all cpus
* stress-sysinval: improve syscall timeout metrics
* stress-sysinval: add run-time sanity check for zero system calls
being detected
* stress-sysinval: shuffle system call order 50% of the time
* stress-sysinval: add illegal access mode flags
* stress-netlink-task: clean up build warning on 32 builds with
gcc 4.6.3
* stress-nelink-proc: clean up build warning on 32 builds with
gcc 4.6.3
* stress-netlink-proc: remove space between macro and open parenthesis
* stress-urandom: fix some grammar mistakes in comments
* stress-sysinval: remove incorrect comment about size of structure
* Manual: add Thadeu to the list of contributors
* stress-access: add Linux 5.8 faccessat2 system call
* stress-sysinval: make the syscall stats more descriptive
* stress-sysinval: allo some read/stat actions on filenames
* stress-sysinval: add ARG_PTR_WR - writeable destination arguments
* stress-inval: use a valid file descriptor for ARG_FD
* stress-sockpair: remove double oom detection, we're using the
oomable API already
* stress-sysinval: don't call sigreturn, this spams the kernel log
* stress-sysinval: force child to be killed and reap
* stress-sysinval: make syscall stats debug level
* stress-sysinval: add some more missing system calls
* stress-sock: save and report the correct errno status
* stress-sock*: handle EPIPE gracefully
* kernel-coverage: add swap to fast seq tests
* Make sysinval stressor Linux only for now
* stress-sysinval: use alternative system call naming
* stress-sysinval: don't modulo by zero if reorder size is 0
* stress-sysinval: unmap page if mprotect PROT_NONE is not available
* stress-stackmmap: only mprotect stack ends if mprotect is available
* stress-sysinval: clean up some 32 bit build warnings
* Add sysinval invalid system call stress test
* Add autoconfig detection and workaround for daddr_t
* syscalls: add process_madvise to syscalls
-- Colin King <colin.king@canonical.com> Wed, 10 Jun 2020 23:55:23 +0100
stress-ng (0.11.12-1) unstable; urgency=medium
* Makefile: bump minor version
* Setup the checksum before forking off child stressor (LP: #1880840)
- fixes null checksum if child is killed before the stressor
function gets invoked.
-- Colin King <colin.king@canonical.com> Wed, 27 May 2020 09:53:11 +0100
stress-ng (0.11.11-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: remove config from make dist rule
* stress-stackmmap: make ends of stack inaccessible to stop clobbering
non-stack regions
* stress-dev: disable TIOCGETD for the moment as it causes some hang
issues
* stress-context: always swap context back to main microthread on
termination
* stress-sock: voidify fd arg to clean up build warning on Solaris
* Add run-time autoconfig check for struct ifconf
* stress-sem-sysv: test illegal semtimedop only if it is exists
* stress-sem-sysv: workaround kfreebsd8 EINVAL on semtimedop
* stress-sem-sysv: don't use semtimedop if it returns -ENOSYS
* stress-sem-sysv: only exercise SEM_STAT on linux
* stress-ng: fetch yaml filename before running stress tests
* Makefile: rm -f the makefile on clean
* stress-ng: Don't track config or show in diff
* Makefile: remove the need for an empty config file
* stress-ng: fix long form if -x option, use "exclude" instead of "list"
* stress-ng: README: update libsctp name for RHEL, fedora, related
distros
* stress-memthrash: silently ignore ESRCH pthread_join failures
* stress-madvise: voidify pthread_join return, we don't care about it
* stress-inode-flags: voidify pthread_join return, we don't care
about it
* stress-dev: voidify pthread_join return, we don't care about it
* shim_waitpid: allow a few retries before throttling retry
* kernel-coverage.sh: move the quick spin through stressors to the end
of the test
* Fix --seq mode checksum with multiple stressors and sanity checking
* stress-vm: fix bit error checking when bogo-ops limits reached
* core-ftrace: fix removed filename setting statement
* core-ftrace: remove setting of set_event_pid and refactor code
* core-out-of-memory: return EXIT_SUCCESS on --oomable
option (LP: #1879782)
* stress-get: fix #ifdef check on getpagesize
* core-out-of-memory: return EXIT_NO_RESOUCE on --oomable
option (LP: #1879696)
* core-shim: add delay before re-waiting
* stress-dev: add block device lseeks and force return to be stashed
* Add memory barriers an ready flag to check if counter is in a sane
state
* core-shim: rework waitpid again, terminate child on EINTR (LP: #1879447)
* stress-dev: remove sleep and return EXIT_SUCCESS on child exit
* stress-ng: add checksum sanity check on bogo ops stats and run flag
* stress-mq: add SIGEV_SIGNAL events to exercise kernel
* stress-shm-sysv: exercise shmctl and shmdt race on child exit
* stress-shm-sysv: exercise NUMA mempolicy on shm
* stress-sem-sysv: exercise some invalid options to get more kernel
coverage
* stress-sock: add a few more ioctls to exercise
* syscalls: update preadv/preadv2 and pwritev entries
* stress-hdd: use preadv, preadv2, pwritev, pwritev2
-- Colin King <colin.king@canonical.com> Tue, 26 May 2020 15:46:23 +0100
stress-ng (0.11.10-1) unstable; urgency=medium
* Makefile: bump minor version
* Debian: remove compat, use debhelper-compat in Build-Depends
* core-ftrace + manual: update caveat about ftrace stats
* stress-pty: fix incorrect placing of #endif's
* core-ftrace: warn when --ftrace is used on systems that don't
support it
* core-ftrace: voidify unused argument in stress_ftrace_add_pid
* kernel-coverage: add ftrace and class exercising
* core-ftrace: move OPT_FLAGS_FTRACE check to core-ftrace
* core-ftrace: try to filter by parent and child process IDs
* core-ftrace: add caveat about tracing stats captured
* core-ftrace: fix some resource free'ing issues
* stress-efi-var: optimize check for . files
* stress-efivar: remove free of efi_dentries
* stress-chdir: ensure all fd's and filenames are invalid before
testing
* Add --ftrace option to get some kernel function tracing metrics
* stress-pty: exercise tcdrain, tcflush, tcflow and tcgetattr
* stress-vm: use mwc64() for random numbers rather than random()
* stresss-vdso: add missing line
* stress-pipe: fix build failure on non-Linux platforms on pr_fail
* Replace pr_fail_err with pr_fail to allow more flexible error
messages
* Remove pr_fail_dbg and replace with pr_fail
* Remove pr_fail_args_errno and pr_fail_errno
* core-helper: remove directory if an error occurs on mkdir
-- Colin King <colin.king@canonical.com> Fri, 15 May 2020 14:10:41 +0100
stress-ng (0.11.09-1) unstable; urgency=medium
* Makefile: bump version
* stress-mmap: use a mmap_func_t prototype to simplify function pointers
* stress-pidfd: reduce scope of buffer
* stress-mmap: cast return from syscall to void *
* stress-mmap: fix typo on off_t type name
* syscalls.txt: update information on reboot system call
* stress-xattr: add lremovexattr for more kernel coverage
* stress-set: exercise setdomainname
* syscalls: update mmap2 usage
* stress-mmap: add --mmap-mmap2 to try to use mmap2 if it is available
* syscalls: update riscv_flush_icache status
* core-shim: remove flags, this was in an older API and I forgot to
remove it
* stress-pthread: add call to set_thread_area for x86 only
* stress-pthread: add call to get_thread_area for x86 only
* stress-icache: add RISC-V to the allowed arches that can run this
stressor
* core-shim: use system call to __NR_riscv_flush_icache
* core-shim: add missing ; on risc-v flush
* Rename shim_clear_cache to shim_flush_icache, add RISC-V support
* stress-daemon: add shim wrapper for exit_group and call it on child
exit
* stress-pidfd: try to exercise pidfd_getfd if it exists
* stress-pidfd: add pidfd_open shim and exercise it on opening pid fds
* syscalls: add missing syscalls to syscalls list
* stress-clock: exercise clock_adjtime by adjusting clock by zero
seconds
* syscalls: update io_cancel
* stress-aio-linux: add aio_cancel and ignore failures
* stress-zlib: optimize BCD conversion and extend range of source random
value
* stress-zlib: wrap some overly long function declarations
* stress-rawpkt: use strlcpy instead of strcpy
* stress-procfs: use strlcpy instead of strcpy
* stress-access: fchmod should be S_IRUSR | S_IWUSR and not 0666
* stress-dev: add HPET_IRQFREQ ioctl
* core-thrash: remove ptrace as this can cause lockups
* stress-hdd: add medium write lifetime hint if it is available
* stress-rawpkt: perform SIOCINQ every 256 packets and clean up code
* stress-rawpkt: ensure mac address is being used for mac src and dst
addresses
* stress-rawpkg: exercise SIOCOUTQ and SIOCINQ ioctls
* stress-physpage: report incorrect read sizes correctly
* Revert "Add STRESS_RISC_V arch macro and don't yield on this arch"
* Revert "core-shim: disable native nanosleep for risc-v"
* stress-rawpkt: move stress-rawpkt_getsockopts to correct #ifdef section
* stress-rawpkt: remove include <linux/if_packet.h>
* stress-rawsock: occasionally exercise SIOCINQ and SIOCOUTQ ioctls
* Manual: remove trailing space
* core-ignite-cpu: remove an empty line
* core: constify some variables
* stress-ng: constify some variables
* core-perf: disable TLB perf metric
* core-shim: simplify the waitpid logic
* core-shim: break out of shim_wait on non EINTR error
* stress-sock: remove empty line
* stress-rawpkt: remove some white spaces
* stress-rawpkt: add getsockopt relevant settings fetches
* stress-rawudp: remove debug raw messages received counter
* stress-rawudp: fix clang-10 pedantic warning on const addr
* Add rawpkt stressor to exercise raw packet tx and rx over loopback
device
* stress-rawudp: close socket on error return
* core-helper: add some optimization hints to stress_ip_checksum
* stress-rawudp: re-organize code to remove repeated data structure
setting
* stress-rawudp: fix option help info, fix spelling mistake
* stress-ng: set the stressor name as early as possible
* Add rawudp stressor to exercise raw UDP packet tx and rx
* core-cache: clean up gcc-10 -fanalyzer warning
-- Colin King <colin.king@canonical.com> Thu, 7 May 2020 12:33:53 +0100
stress-ng (0.11.08-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* stress-sysbaddaddr: reduce scope of variable ret
* core-sched: print uint64_t using PRIu64 format specifiers
* stress-sysbadaddr: don't abort if write/exec mappings can't be made
* stress-sysbaddaddr: use shim'd memfd_create
* stress-pkey: only use PKEY_DISABLE_WRITE if it is defined
* stress-filename: add more yield point checks to abort faster
* core-shim: don't retry EINTR on termination flag (LP:# 1874367)
* core-shim: expand comments on the posix clock comments
* core-sched: move declaration of prefix to avoid build warnings
* stress-fanotify: reorder FAN masks to alphabetical order
* core-shim: wrap the posix clock calls to use system call
* stress-sysbadaddr: add memfd_create system call
* stress-pkey: exercise an invalid pkey_free call
* stress-sysbadaddr: add some more mapped page protection variations
* stress-remap-file-pages: exercise invalid remappings
* stress-mlock: use MCL_ONFAULT option correctly
* stress-mincore: exercise pages that are known to be mapped and
unmapped
* helper: make stress_warn_once simpler to use and remove flags
* stress-sockabuse: remove tabs from empty line
* stress-sync-file: remove shadowed variable ret
* stress-wait: skip over sanity check of returned zero pid
* Fix more supported helpers that are missing new name parameter
* stress-apparmor: supported helper that s missing new name parameter
* stress-sockfd: make bind failure on EADDRINUSE a resource issue
* stress-sockfd: use SO_REUSEADDR to avoid bind failures
* Handle ENOSPC mkdir failures as a resource allocation termination
* stress-ioprio: don't terminate if we run out of resources
* stress-chdir: use mkdir_ok array to track mkdir paths that are OK
* stress-mq: ignore timeouts on timed message sends
* stress-sockabuse: don't make connect failures terminal
* stress-chdir: don't abort all the temporary directories can't be
setup
* stress-link: silently ignore out of resource limit failures
* stress-key: skip over some expected non-fatal errors that should
not abort the stressor
* stress-chdir: make ENOSPC on setup a resource failure termination
* stress-key: silently ignore ENOKEY
* stress-key: skip over some expected non-fatal errors that should
not abort the stressor
* core-shim: re-try on EINTR a little more if they keep on occurring
* stress-sockfd: use incrementing ports per stressor
* stress-sockabuse: ensure correct errno value is reported on a
connect failure
* stress-sync-file: don't fail on ENOSPC, instead retry
* stress-seal: don't fail on EBUSY on a F_SEAL_WRITE add fcntl
* stress-lease: don't fail on EAGAIN error from fcntl
* stress-ioprio: don't terminate if we run out of resources
* stress-dnotify: don't terminate if we run out of resources
* stress-inotify: also ignore test file write failures on ENOSPC
* stress-inotify: don't terminate if we run out of resources
* stress-seek: handle ENOSPC errors on write
* stress-fiemap: make ENOSPC on writes non-fatal
* Add SIGABRT stressor. Exercise SIGABRT sending via raise() and
abort()
* stress-zero: fully check if data from /dev/zero is zero
* stress-epoll: retry on low resources causing system call failures
* Fix one more arch specific supported helpers that is missing the
new name parameter
* Fix some arch specific supported helpers that are missing new name
parameter
* Pass the name of the stressor into the supported() handler
* core-sched: prefix all messages with "sched: " rather than nothing
or __func__ names
* core-sched: remove some capitalization
* core-sched: add spacing in messages, make the dbg only
* stress-close: don't assume max_delay_us is non-zero
* xattr: add removexattr system call
* stress-session: randomly select the wait call if wait4 is available
* stress-ng: remove unused sched_deadline_init
* syscalls: add wait3 and wait4
* stress-wait: use wait3 if it is available
* Add wait3 system call detection and shim wrapper
* Add P_PIDFD #define for older linux/wait.h that don't yet define it
* core-shim: add new process_madvise() shim
* stress-chmod: use strlcpy instead of strcpy as it's safer
* stress-session: cast pid to int to print it portably
* stress-chmod: make dfd open optional if O_DIRECTORY is not supported
* stress-wait: add wait4 call if it is available
* stress-session: use wait4 if it is available
* stress-chmod: fix BSD EFTYPE error failure
* stress-session: add stressor to set and get session ids
* core-sched: fix build errors with missing stress_set_deadline_sched
on GNU/HURD
* core-sched: fix unused parameter and unused variable warnings
* manual: update contributors information
* manual: fix some missing .TP commands and minor spelling clean up
* stress-ng: add sched-reclaim option for deadline scheduler
* stress-ng: support sched deadline
* core-shim: disable native nanosleep for risc-v
* Add STRESS_RISC_V arch macro and don't yield on this arch
* Makefile: ensure spaces are removed before perf macros
* stress-urandom: add select and read on blockable opened /dev/random
* Replace white space with tabs before statements
* Rename helpers, remove __ suffix and prefixes
* stress-procfs: clean up name shadowing by renaming ptr to bptr
* Use stress_dirent_list_free to free dirent lists
* core-helper: add stress_dirent_list_free helper
* stress-sysfs: process non-directory files before handling directories
* stress-procfs: process non-directory files before handling directories
* stress-procfs: only format path when required
* syscalls.txt: update recvmmsg to note it is being exercised by sock
stressor
* stress-fanotify: remove some white spaces and empty lines
* stress-resources: open non-existent files to expand dcache false
hits
* syscalls.txt: Update, add faccessat, fchmodat and fchownat
* stress-chmod: Add fchmodat check and add it to chmod testing
* stress-clock: add CLOCK_TAI
* stress-clone: add CLONE_NEWTIME
* stress-procfs: exercise known buggy seek and read issues
* stress-procfs: add process /proc exercising
* stress-numa: cater for systems where numa system calls are not
provided
* stress-netlink-proc: cater for connection refused on writev
* stress-fanotify: add more fanotify support sanity checks
* stress-kcmp: treat ENOSYS as a non-fatal error return from kcmp
* stress-reboot: remove some blank lines
* test/test-pthread-attr-setstack.c: make stack static
* stress-fanotify: add FAN_DIR_MODIFY
-- Colin King <colin.king@canonical.com> Thu, 23 Apr 2020 19:44:12 +0100
stress-ng (0.11.07-1) unstable; urgency=medium
* Address multiple issues found with pedantic static analysis (LP: #1870193)
- enabled higher static analysis settings and found and fixed
a lot of bugs..
* Makefile: bump version
* Manual: fix lintian warning on undefined macro
* stress-zlib: fix clang warning of array subscripted by char
* core-helper: make end-of-string assignment easier to comprehend
* stress-reboot: use heap for clone stack, cleans up static analysis warning
* core-cache: clean up pedantic warnings from static analysis
* stress-af-alg: fix several memory leaks
* stress-tun: fix close issues on sfd
* stress-xattr: be overly pedantic and memset array tmp
* stress-urandom: fix fd leak on fd_rnd_wr
* stress-sysbadaddr: fix incorrect 2nd parameter to utimes call
* stress-sockmany: fix fd leak, close file descriptor on error
* stress-sockabuse: ensure addrlen is set to the length of addr
* stress-sockabuse: close fd even when it is zero
* stress-sockabuse: avoid closing unopened fd on error
* stress-sock: ensure socklen setting is set before calling getsockopt
* stress-sigfd: voidify return of read, we don't care if it fails
* stress-sigfd: fix open error check
* stress-shm: use shim helper and ignore error return
* stress-ramfs: fix close of a -ve file descriptor
* stress-pipeherd: remove redundant variable n
* stress-mq: don't check values[prio] if prio is out of range
* stress-memhotplug: fix leak of opendir descriptor
* stress-judy: check allocated pvalue is not-null
* stress-eventfd: fix incorrect open failure check
* stress-cpu: gcd: fix potential multiply overflow
* stress-cpu: ensure i64 is stashed in stress_cpu_intconversion
* stress-clock: be extra pedantic and set and check timer_id values
* stress-chattr: handle open failure correctly
* stress-binderfs: fix failure error return path
* stress-af-alg: fix incorrect size of buffer to randomize
* core-helper: don't call ttyname a second time, use name instead
* core-helper: ensure data is null terminated
* core-cache: nullify a free'd cpus pointer before returning
* stress-cpu: add missing Apéry constant cpu method
* stress-zlib: add missing morse code generated text
-- Colin King <colin.king@canonical.com> Wed, 1 Apr 2020 18:23:41 +0100
stress-ng (0.11.06-1) unstable; urgency=medium
* Makefile: bump version
* stress-dev: remove TIOCGETC and TIOCSETC ioctl to fix FTBFS on alpha
- this is the 2nd attempt to fix this issue, this time I'm removing
the use these specific ioctl commands.
-- Colin King <colin.king@canonical.com> Mon, 30 Mar 2020 09:46:35 +0100
stress-ng (0.11.05-1) unstable; urgency=medium
* Makefile: bump version
* stress-dev: define a shim for struct tchar, fixes a FTBFS
on arch alpha
-- Colin King <colin.king@canonical.com> Sun, 29 Mar 2020 17:34:14 +0100
stress-ng (0.11.04-1) unstable; urgency=medium
* Makefile: bump version
* stress-sockabuse: reduce scope of variable sfd
* stress-reboot: reduce scope of another ret variable
* stress-reboot: reduce scope of variable ret
* stress-skiplist: make function skip_list_free static
* stress-madvise: relax constness of buf pointer
* stress-reboot: don't pass args to clone, it is not required
* stress-reboot: remove shadowed variable ret
* stress-sysbaddr: add guard on bad_getdomainname and comment
out bad_acct
* stress-sysbadaddr: disable acct for the moment.
* stress-sysbadaddr: limit clone to just linux for the moment
* stress-sysbadaddr: pass incremented addresses to avoid restrict
warnings
* stress-sysinfo: cast void * to the appropriate arg types on system
calls
* stress-reboot: add and use SHIM_CAP_SYS_BOOT
* stress-reboot: move help so it's always built in
* Add a reboot stressor. This does not actually reboot a system.
* stress-sigfd: exercise the fd info of the signalfd
* stress-fcntl: pass uids array to fcntl for F_GETOWNER_UIDS cmd
* stress-sysbadaddr: remove create, it can leave broken files in
directory
* stress-sysbadaddr: add in more system calls
* stress-procfs: remove ARM64 workaround as this is now fixed
* README: update stressor stats
* stress-xattr: don't fail to build if HAVE_LGETXATTR is not defined
* stress-xattr: don't fail to build if HAVE_LSETXATTR is not defined
* stress-xattr: don't fail to build if HAVE_LLISTXATTR is not defined
* core-shim: fix typo on LLISTXATTR detection
* Add shims to xattr system calls
* stress-pipeherd: fix typo in switch rate info
* stress-sockabuse: remove xattr from OS X builds
* stress-dev: add TCOOFF, TCOON, TCIOFF, TCION ioctls
* stress-dev: add TIOCGETC and TIOCSETC ioctls
* stress-rtc: exercise RTC_SET_TIME, RTC_IRQP_SET and RTC_VL_READ
ioctls
* stress-ustat: silently ignore bad ustat buf
* stress-sockabuse: don't memset timespec if we don't have
HAVE_FUTIMENS
* stress-sockabuse: silently ignore EADDRINUSE error when binding
* stress-sockabuse: use different port for each instance
* stress-sockabuse: use DEFAULT_SOCKABUSE_PORT as the default post
* stress-ng.h: update a couple of socket port definitions
* core-shim: cast shim'd ustat arg to void *
* stress-sockabuse: localize variable n to FIONREAD ioctl code block
* core-shim: fix missing ; on shim_enosys call
* Add a skiplist stressor
* Add socket file descriptor abusing stressor
* stress-madvise: exercise madvise on mappings in threads where
possible
* stress-cpu: remove tab
* syscalls.txt: remove stray ' char
* Add a shim for deprecated system call ustat
* stress-eventfd: exercise /proc/self/fdinfo on the eventfd
descriptors
* stress-chattr: fix build failure for non-Linux platforms
* Add chattr file attribute stressor
* stress-dentry: pressurize the dentry cache with negative dentries
-- Colin King <colin.king@canonical.com> Sat, 28 Mar 2020 22:36:12 +0000
stress-ng (0.11.03-1) unstable; urgency=medium
* Makefile: bump version
* core-try-open: break up assignment and check into two statements
* stress-softlockup: reduce scope of old_nice_val
* stress-softlockup: remove redundant assignment to old_nice_val
* stress-cpu: workaround a cppcheck warning
* stress-cpu: replace pointer casting with union type
* stress-cpu: exercise struct element u32
* stress-cpu: fix incorrect assignment
* stress-cpu: fix type on assignment of i64
* stress-cpu: reduce scope of some integer variables in a for-loop
* stress-cpu: reduce scope of variables in a for-loop
* stress-binderfs: move declaration of variable i into #if block
* stress-binderfs: move label close_control to clear up warning
* stress-binderfs: reduce scope of ret and t2 variables
* stress-netlink-task.c: ensure pointer is const
* stress-pthread: add build time check for pthread_attr_setstack
* stress-pthread: define PTHREAD_STACK_MIN if it is not defined
* stress-mmapfork: make stress_memory_is_not_zero a conditional build
* snapcraft: add base info and remove need for libxattr1
* Debian: control: remove need for libxattr1 (Closes: #953905)
* stress-ng.h: add more comments
* stress-mmapfork: add madvise MADV_WIPEONFORK sanity check
* stress-dentry: exercise with utime setting
* Add intconversion cpu stressor method
* Fix _ARCH macros not being used because of bad rename
* Add a floatconversion cpu stressor method
* stress-cpu: add long double sqrt to the sqrt stress method
* Remove trailing tabs, minor tidy up
* Remove trailing spaces, minor tidy up
* core-parse-opts: fix a cppcheck warning, cast values to long and
use %ld
* stress-enosys: add x86 syscall calls
* stress-ng.h: clean up some overly long function prototypes
* Rename all get_{int|uint}* helpers to stress_{int|uint}*
* core-parse-opts: add stress_ prefix to ensure helper functions
* core-affinity: add stress_ prefix to helper functions
* core-parse-opts: add stress_ prefix before check_* helper functions
* Rename set_max_limits to stress_set_max_limits
* Rename log_system_mem_info to stress_log_system_mem_info
* stress-sleep: remove alternative stack
* stress-procfs: remove alternative stack
* stress-memthrash: remove unused label 'die'
* stress-sysfs: remove alternative stack
* stress-memthrash: remove alternative stack
* stress-membarrier: remove alternative stack
* stress-mcontend: remove alternative stack
* stress-inode-flags: remove alternative stack
* stress-fstat: remove alternative stack
* stress-pthread: mmap each pthread's stack and improve failure checking
* stress-dev: remove alternative stack
* stress-pthread: remove alternative stack
* core-parse-opts: cast *ptr to int to avoid clang 3.4 warning
* stress-madvise: add FreeBSD madvise options
* stress-mmap: add some FreeBSD mmap options
* core-shim: fix braino on pointer declaration
* core-shim: add unconstify helper for mlock on older sun systems
* Fix PRAGMA_* macros that are missing STRESS_ prefix
* Macros: put all values in ( )
* Add STRESS_ to PRAGMA macros
* Rename warn_once to stress_warn_once
* Rename align_stack to stress_align_stack
* stress-cpu: remove tabs to keep continutation markers aligned
* Rename MWC_ macros to STRESS_MWC_
* Rename arch macros, add _ARCH to signify they are architecture specific
settings
* Add SHIM_ prefix to ICACHE and DCACHE macros
* core-time: rename timeval_to_double to stress_timeval_to_double and
un-inline it
* core-setting: stress_ prefix before settings helper functions
* put*: add stress_ prefix before put* helper functions
* mwc: add stress_ prefix before mwc random number helper functions
* jobs: add stress_ prefix before job helper functions
* cache: add stress_ prefix before cache helper functions
* Rename args_t to stress_args_t
* Rename opt_set_func_t to stress_opt_set_func_t
* Rename help_t to stress_help_t
* Rename pthread_args_t to stress_pthread_args_t
* Rename cpus_t to stress_cpus_t
* Rename cpu_t to stress_cpu_t
* Rename cpu_cache_t to stress_cpu_cache_t
* Rename cache_t to stress_cache_t
* Rename scale_t to stress_scale_t
* Rename shared_t to stress_shared_t
* Rename proc_stats_t to stress_proc_stats_t
* Fix typedef / struct type warning on proc_info
* Rename tz_stat_t to stress_tz_stat_t
* Rename tz_info_t to stress_tz_info_t
* Rename proc_info_t to stress_proc_info_t
* Rename mwc_t to stress_mwc_t
* Rename put_val_t to stress_put_val_t
* Rename setting_t to stress_setting_t
* Rename perf_stat_t to stress_perf_stat_t
* Rename class_info_t and class_t
* Rename type_id_t to stress_type_id_t to avoid future name clashes
* stress-mmap: add two OpenBSD mmap options
* voidify return from munmap()
* Rename helper mfence to shim_mfence
* Rename helper shim cflush to shim_cflush
* stress-binderfs: fix typo in non-linux build
* stress-binderfs: add binder file system stressor
* stress-vecmath: use macros to simplify vector initialization
-- Colin King <colin.king@canonical.com> Mon, 16 Mar 2020 16:40:22 +0000
stress-ng (0.11.02-1) unstable; urgency=medium
* Makefile: bump version
* core-parse-opts: cater for -ve values
* core-parse-opts: check for non-numeric in numeric args (Closes: #940515)
* Manual: update contributors names
* Fix --random mode
* Allow negative --random for selecting number of online CPUs
* stress-prctl: add PR_SET_IO_FLUSHER PR_GET_IO_FLUSHER prctl commands
* stress-mmapfork: check if parent is OOM'd and force exit on early abort
* stress-mmapfork: force reap on interrupt waiting for pid
* stress-mmapfork: ensure we kill and reap child processes
* stress-mmapfork: reap when no more process slots are free
* stress-mmap: add in more yield points
-- Colin King <colin.king@canonical.com> Tue, 3 Mar 2020 14:50:44 +0000
stress-ng (0.11.01-1) unstable; urgency=medium
* Makefile: bump version
* Ensure --aggressive mode terminates early (LP: #1858858)
* stress-ptrace: also check for EACESS errors
* stress-ptrace: add one more EPERM check
* stress-ptrace: make EPERM non-fatal error, modify pr_info messages
* snapcraft: add system-trace, hardware-random-observe interfaces
* stress-ptrace: terminate in with failure if child cannot be ptraced
-- Colin King <colin.king@canonical.com> Mon, 24 Feb 2020 10:48:23 +0000
stress-ng (0.11.00-1) unstable; urgency=medium
* Makefile: bump version and change codename
* stress-pipeherd: make sure child terminates with _exit()
* kernel-coverage: add timer-slack timer setting
* Fix --timer-slack correctly, fetch argument and set it
* core-parse-opts: sanity check uint32 and int32 min/max values
* Add environment stressor
* Make several const objects static
* stress-pidfd: voidify return from pause system call
* stress-get: add missing check_do_run exit points after new get*
system calls
* stress-get: exercise a few more get* system calls
* stress-pipeherd: add context switch stats
* Add pipeherd stressor: a stress to simulate a thundering herd of
pipe wakeups
-- Colin King <colin.king@canonical.com> Wed, 12 Feb 2020 14:19:41 +0000
stress-ng (0.10.19-1) unstable; urgency=medium
* Makefile: bump version
* stress-mmapaddr: make stress_mmapaddr_child static
* stress-wait: remove duplicated pr_fail message and cast pid_t to
long int
* stress-memrate: rename NANOSEC to STRESS_NANOSEC to avoid clashing
* stress-cyclic: avoid NANOSEC* name classhes, rename to STRESS_NANOSEC
* Fix the MAX_FILE_LIMIT shift, use 1ULL instead of 1UL
* stress-sockfd: attempt to read from the fd passed over the socket
* stress-fork: fix time_now calls to stress_time_now
* stress-clone: move a #if defined that got moved to the wrong place
* set maximum file size based on off_t size
* set maximum memory limit to MAX_48 and maximized limits to MAX_32
* core-sched: prefix typedefs with stress_
* core-perf: prefix typedefs with stress_
* core-net: prefix typedefs with stress_
* core-ignite-cpu: prefix typedefs with stress_
* core-cache: prefix typedefs with stress_
* core-cache: prefix typedefs with stress_
* stress-*: prefix typedefs with stress_
* stress-pty: allocate the pty structure on the heap, don't use the
stack
* stress-stackmmap: ensure random data is pushed onto the stack
* stress-stack: fill pages with non-zero content to avoid same-page
merges
* stress-spawn: fix up a comment
* stress-wait: add waitid siginfo sanity checks
* stress-wait: fix WIFCONTINUED check because of a typo in the check
* core-helper: map signal number to signal name
* core-shim: fix renaming of time_now to stress_time_now
* core-helper: voidify arg fd in stress_is_dev_tty
* stress-x86syscall: move scope of variable j
* stress-vdso: measure test overhead to compute more accurate results
* stress-x86syscall: measure test overhead to compute more accurate
results
* core-time: prefix helper functions with stress_
* core-thrash: prefix helper functions with stress_
* core-thermal-zone: prefix helper functions with stress_
* core-perf: prefix perf helper functions with stress_
* core-mount: add stress_ to mount helper functions
* Add stress_ to mmap_set and mmap_check helper functions
* Prefix mincore helper functions with stress_
* Rename madvise_random to stress_madvise_random
* stress-zlib: scale the logmap value to produce harder to compress
data
* stress-zlib: add chaotic number generator using a logmap method
* replace g_keep_stressing_flag with two helper functions
* stress-memthrash: add byte swapping memory stepping thrasher
* stress-sysfs: add bad sysfs files to hash table
* Makefile: remove need to define __FreeBSD_Kernel__
* Add more stress_ prefixes to various core functions
* core-ignite-cpu: prefix ignite_* functions with stress_
* core-cpu: rename cpu_is_x86 to stress_cpu_is_x86
* core-hash: remove need for str pointer
* core-hash: optimize hash adding, reduce need for strdup and a free
* stress-zombie: make max zombies a 32 bit
* stress-clone: make max clones a 32 bit
* stress-chdir: cleanup the chdir(cwd) loop
* stress-memrate: clean up continuation lines
* Rename set_oom_adjustment -> stress_set_oom_adjustment
* Add stress_oomable_child helper to catch and restart OOM'd child
processes
* stress-chdir: use flags rather than #ifdef around the open call
* core-hash: move various string hashing functions to core-hash
-- Colin King <colin.king@canonical.com> Fri, 7 Feb 2020 14:37:11 +0000
stress-ng (0.10.18-1) unstable; urgency=medium
* Makefile: bump version
* stress-urandom: handle ENOTTY errors on ioctl() on older kernels
-- Colin King <colin.king@canonical.com> Wed, 29 Jan 2020 14:09:22 +0000
stress-ng (0.10.17-1) unstable; urgency=medium
* Makefile: bump version
* stress-clock: reduce scope of variable ret
* stress-shm: free addrs and shm_names on error
* stress-shm: only use SA_NOCLDWAIT if it is available
* stress-exec: clean up warning on gcc 4.8.5
* stress-exec: define err label only if required
* Add core-try-open helper to check if a file can be opened without
blocking
* stress-exec: remove shadowed variables ret and rc
* Add string hash helper to core, use this for device and scsi hashing
* stress-dev: move handler to fix build warning
* stress-dev: fix equality checks and incorrect stress_dev_tty_open
call
* stress-dev: add blocked device open sanity check
* stress-cpu: add lowest common multiple sanity check on gcd
computation
* stress-clock: exercise clock_getres on a /dev/ptp0 clockid
* stress-clock: exercise /dev/ptp0 on linux
* kernel-coverage.sh: allow perf to run when non-root
* stress-tmpfs: add MAP_HUGETLB mmap option and reduce sleep time
* stress-mmap: remove duplicated no_mem_retries increment
* stress-membarrier: exercise more membarrier commands
* stress-fcntl: exercise F_SETOWN, F_SETOWN_EX and F_GETOWN_EX more
* stress-exec: create and try to execute a garbage executable
* stress-stream: fix failure message logging
* stress-shm: add some more shm exercising on shm fd
* stress-ramfs: rename mount point directory to mnt
* stress-af-alg: add helpers to lookup hash types by name or type
* stress-af-alg: remove ptr + 2 occurrences
* stress-msg: exercise MSG_COPY if it is available
* stress-aio-linux: ignore EINVAL on io submits for fdsync or fsync
commands
* stress-brk: silently ignore brk on a specific address failures
* stress-sysfs: disable ROM test as this is causing some issues
* stress-mq: use 0..127 priority levels chosen at random
* stress-quota: add CAP_SYS_ADMIN prechecks before running the stressor
* stress-sysfs: skip over /sysfs kernel debug interfaces
-- Colin King <colin.king@canonical.com> Tue, 28 Jan 2020 16:00:02 +0000
stress-ng (0.10.16-1) unstable; urgency=medium
* Makefile: bump version
* Update copyright year to 2020
* Manual: update date
* stress-bad-altstack: clean up clang pedantic build warning on
variable shadowing
* stress-aio-linux: use %zu for size_t instead of %zd
* stress-mq: simplify file open and null check for static analysis tools
* stress-aio-linux: use correct %zd print format specifier for size_t
* stress-bad-altstack: move SIGSEGV handler to child
* stress-bad-altstack: ensure we set the mmap'd alternative stack
* stress-bad-altstack: aggressively re-try when we can't segfault the
handler
* stress-aio-linux: perform periodic async fdsync and fsync and use lots
of open files
* stress-aio-linux: add async reads and allocate buffers
* stress-dev: Add TIOCMBIS and TIOCMBIC ioctls
* stress-dev: add TIOCNXCL and TIOCEXCL ioctls
* stress-dev: add a couple more tty specific ioctls
* stress-aio: fix sleepy wait to make it interruptible
* Manual: move the --set and --set-ops to the correct place
* stress-sysfs: remove commented out debug
* stress-sysfs: improve timeout on slow sysfs entries, get more coverage
* stress-ramfs: create/lstat/remove symlink file on ramfs filesystem
-- Colin King <colin.king@canonical.com> Fri, 10 Jan 2020 17:15:13 +0000
stress-ng (0.10.15-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* stress-cyclic: only declare label redo_policy for SCHED_DEADLINE
* stress-cyclic: don't perform E2BIG error check if SCHED_DEADLINE is
not available
* stress-cyclic: print out cyclic policy name using correct index
* stress-cyclic: remove space before == operator
* stress-cyclic: update to new policy if E2BIG occurs
* stress-cyclic: handle differences in sched_attr sizes
* stress-sock: ensure pointer recvfunc is ininitialized
* stress-vm-segv: avoid void * pointer arithmetic, it is not portable
* stress-sysbadaddr: avoid void * pointer arithmetic, it is not
portable
* stress-memthrash: fix up another void * math portability issue
* stress-memthrash: avoid void * pointer arithmetic, it is not
portable
* stress-madvise: avoid void * pointer arithmetic, it is not portable
* stress-clone: make rnd a uint32_t so 31 bit left shift is portable
* stress-rds: remove prototype stressor
* stress-ramfs: remove unnecessary initialisation of pid
* stress-exec: move variable ret into section that requires it
* stress-urandom: ignore -EINVAL errors on non-existent ioctls
* stress-ramfs: ensure path does not overflow in snprintf
* stress-urandom: fix build warning on non-Linux platforms
* stress-urandom: only write to /dev/urandom on Linux
* stress-mmap: fix missing stressor name in pr_inf messages
* stress-mmap: clean up build warning on systems that won't retry
* stress-eventfd: fix build issue with systems that don't support
eventfd
* stress-mmap: add MAP_{EXECUTABLE|UNINITIALIZED|DENYWRITE} flags
* stress-mmap: use MAP_NORESERVE as we have a SIGSEGV handler
* stress-dev: add some pre-checks before assuming dev is a tty
* stress-mmap: add MAP_HUGETLB mmap flag
* stress-dev: add more tty ioctls
* stress-tun: add TUNGETDEVNETNS ioctl
* stress-tun: add various tun related *SET* ioctls
* stress-tun: add TUNGETVNET* ioctls
* stress-tun: add TUNGETSNDBUF ioctl
* stress-tun: add TUNGETVNETHDRSZ ioctl
* stress-tun: add SIOCGIFHWADDR ioctl
* stress-tun: add TUNSETNOCSUM ioctl
* stress-xattr: add llistxattr system call
* stress-procfs: add fstat operation on proc file and exercise namespace
files
* stress-procfs: handle DT_LNK symlinks like regular files
* stress-fcntl: F_SETLKW at SEEK_END and SEEK_CUR file positions
* kernel-coverage: add a couple more coverage options
* stress-exec: add random 1 in 4 chance exec'ing from inside a pthread
* stress-eventfd: add non-blocking option --eventfd-nonblock
* stress-tun: disable tun/tap device info
* stress-tun: add tap support with --tun-tap option
* stress-ramfs: add some file/directory activity on ramfs
* stress-iomix: silently ignore -EPERM write failures
* stress-ramfs: alternate between ramfs and tmpfs memory based
filesystems
* kernel-coverage: add mmap odirect and osync options
* stress-mmap: add --mmap-odirect and --map-osync file options
* stress-swap: add random use of SWAP_FLAG_DISCARD if available
* kernel-coverage: Add more options to get more kernel coverage
* Manual: remove trailing space
* stress-run: make bind EADDRINUSE not fatal
* stress-tun: Add network tunnelling stressor using the TUN/TAP
interface
* stress-urandom: use SHIM_CAP_SYS_ADMIN instead of CAP_SYS_ADMIN
* kernel-coverage: add --all option
* stress-prctl: add 4 more prctl commands to exercise
* stress-sem-sysv: add SETALL semctl
* stress-fanotify: add more fanotify events, remove exec stats
* stress-urandom: move next label to avoid skipping some more stress
points
* stress-urandom: exercise lseek and write on /dev/random
* stress-urandom: add more ioctl calls to exercise kernel coverage
* stress-loop: add xor and none crypto on loopback
* stress-loop: exercise the LOOP_SET_BLOCK_SIZE ioctl
-- Colin King <colin.king@canonical.com> Tue, 31 Dec 2019 01:37:31 +0000
stress-ng (0.10.14-1) unstable; urgency=medium
* Makefile: bump version
* stress-chdir: fix opening of paths[i]
* stress-vecmath: don't use TARGET_CLONES on ppc64, it breaks some
older compilers
* stress-hrtimes: handle fork resource failures more gracefully.
* stress-chdir: mix random value and grey code of nth file
* stress-chdir: make paths more random and chdir to / for more stress
* stress-wait: clean up a comment
* stress-sem: add sem_getvalue call to increase coverage
* stress-sem: add sem_timedwait to increase test coverage
* sigprocmask: fix missing sigprogmask and add sigtimedwait
* core-cache: remove / from cache path
-- Colin King <colin.king@canonical.com> Mon, 16 Dec 2019 21:22:23 +0000
stress-ng (0.10.13-1) unstable; urgency=medium
* Makefile: bump version
* stress-dev: add TIOCMGET, TIOCGICOUNT and TIOCGSERIAL ioctls
* stress-close: add more open types, don't chown files if root,
remove AF_APPLETALK
* stress-close: enable some more socket domains
* test: add test-setproctitle.c, forgot to add this earlier
* Where possible set the process title (argv[0])
* Change cache size information from info to debug level output
* stress-ng: add missing space between switch statement and (
* Add SIGILL to signals that need to be handled, it was missing
* stress-rdrand: fix typo in \n at end of info message
* stress-sock: fix build issues on systems without HAVE_RECVMMSG
* stress-sock: get the incoming CPU of the socket
* stress-sock: get MTU size and set TOS to IPTOS_THROUGHPUT
* kernel-coverage.sh: add random sock-opts flag
* stress-sock: also exercice recvmmsg and recvmsg
* stress-sock: remove debug
* stress-sock: add a random send option for --sock-opt
* core-mwc: fix mwc8() being reset when using mwc1()
* stress-schedpolicy: silently ignore EBUSY returns (LP: #1853944)
-- Colin King <colin.king@canonical.com> Mon, 9 Dec 2019 12:37:21 +0000
stress-ng (0.10.12-1) unstable; urgency=medium
* Manual: update date
* stress-sem-sysv: fix GETALL arg, it should not be pass by reference
* stress-clock: fix segfault when timer_create fails
* kernel-coverage.sh: add more hdd specific advice hints
* stress-revio: fix fadv-seq option, it is currently disabled
* stress-hdd: fix fadv-seq option, it is currently disabled
* stress-sem-sysv: remove trailing whitespace
* stress-udp: exercise SIOCOUTQ and SIOCINQ ioctls
* stress-sock: exercise SIOCOUTQ and SIOCINQ ioctls
* stress-udp-flood: add SIOCOUTQ ioctl
* Include linux/sockios.h include if is available
* stress-shm: add lseek to exercise shm
* stress-sem-sysv: exercise GETALL semctl command
* stress-sem-sysv: fix typo GEZCNT -> GETZCNT
* stress-sysfs: add poll to sysfs exercising
* stress-sysfs: add some more file specific operations on /sysfs
files
* stress-clock: don't wait for timer completions, makes test more
aggressive
* stress-madvise: add MADV_COLD and MADV_PAGEOUT advice flags
* stress-msg: add random MSG_STAT_ANY msgctl call
* stress-msg: check struct msginfo is available with HAVE_MSGINFO
* kernel-coverage.sh: remove unix socket domain from udp stressor
* stress-rdrand: increase rdrand read rate by adding inner loop
* Manual: add clone3() to --clone description
* core-shim: remove debug
* stress-clone: convert NULL to a uint64_t for tls clone argument
* stress-clone: exercise clone3() if it is available
* stress-clone: add linux 5.5 CLONE_CLEAR_SIGHAND flag
* stress-rdrand: remove rdrand32
* stress-rdrand: add support for Power9 darn instruction
* stress-tsc: add time stamp counter support for ppc64
* stress-sockmany: clean up build warnings on openindiana
* stress-stack: make altstack a void pointer, cleans up build warning
* Fix --timer-slack from consuming the following arg (LP: #1853832)
* stress-ng: add ppc64el target clones for power9 and generic
* stress-fp-error: clean up error warning on non-standard fegetround
prototypes
* stress-memthrash: constify size arguments
* stress-ipsec-mb: remove debug disabling of the stressor for x86
* stress-ipsec-mb: Add --ipsec-mb-feature option
-- Colin King <colin.king@canonical.com> Wed, 27 Nov 2019 19:38:23 +0000
stress-ng (0.10.11-1) unstable; urgency=medium
* Makefile: update version
* Manual: update date
* stress-dev: remove NetBSD mixup_sort variant, NetBSD 8.0 is now
compliant
* stress-schedpolicy: fix build warnings on BSD systems
* Rename stress-socketmany to stress-sockmany to match the stressor
name
* Rename stress-socketpair to stress-sockpair to match the stressor
name
* Rename stress-socket-diag to stress-sockdiag to match the stressor
name
* Rename stress-socket-fd to stress-sockfd to match the stressor name
* stress-sock: rename functions with sctp in name to sock
* Rename sock stressor stress-socket.c to stress-sock.c
* Add sockmany stressor to exercise many open socket connections
* stress-dev: add initial /dev/ptp device exercising code
* stress-schedpolicy: add SCHED_DEADLINE scheduling
* stress-softlockup: force lowest niceness to be less nice
* stress-softlockup: clean up a comment
* kernel-coverage.sh: Add some more corner case stressors
* stress-shm-sysv: silently ignore EINVAL when deleting shared memory
* manual: add default number of system V shared memory segments
* README: update number of stressors
* stress-zero: add lseeks as these are allowed on /dev/zero
* stress-zombie: don't give up when we hit out of memory
* stress-schedpolicy: exercise sched_util_max if it is usable
* stress-cache: add --cpu-sfence sfence instruction support (x86 only)
* stress-af-alg: fix typo: rd -> rc
* stress-af-alf: fix stack clobbering issue on arm64/armhf
* stress-af-alg: report send/sendmsg EINVAL errors as debug, ignore
for next time
* stress-af-alg: add a preemption point on each crypto iteration
-- Colin King <colin.king@canonical.com> Wed, 20 Nov 2019 16:24:11 +0000
stress-ng (0.10.10-1) unstable; urgency=medium
* Makefile: bump version
* stress-ipsec-mb: rename IPSEC to IPSec
* stress-ipsec-mb: add helper function to get and memset the next job
* stress-ipsec-mb: increment jobs count in stress_job_check_status
* stress-ipsec-mb: check that jobs are complete as soon as possible
* stress-funcret: rename counter ii to i
* README: Fix typo in requests
* README: Add contributing information
-- Colin King <colin.king@canonical.com> Fri, 8 Nov 2019 13:44:15 +0000
stress-ng (0.10.09-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: add stress-af-alg-defconfigs.h to the dist rule
* stress-af-alg: make buffers static, reduces stack overhead
* stress-af-alg: add opt_set_funcs helper for non-linux builds
* Manual: update contributors and date
* stress-af-alg: some minor code cleanups, no functional change
* stress-af-alg: handle bind() ETIMEDOUT failures
* stress-af-alg: add default configs to complement /proc/crypto list
* stress-af-alg: add defconfigs with --af-alg-dump
* stress-af-alg: introduce the --af-alg-dump option
* stress-af-alg: skip 'internal' crypto algorithms
* stress-af-alg: fix close(fd) to avoid bind() EBUSY
* stress-af-alg: use 'aead' salg_type for CRYPTO_AEAD on bind()
* stress-af-alg: fix sockaddr algorithm type on bind()
* stress-stack: setup alternative stack in child only (LP: #1851316)
* stress-stack: check for ENOMEM fork failure and retry
* stress-stack: don't throw a fatal error when sigaltstack fails
* stress-stack: return error code in child using _exit() and not
return
* core-madvise: Add 5.4 MADV_COLD and MADV_PAGEOUT hints
* stress-prctl: add PR_GET_SPECULATION_CTRL exerciser
* Manual: update af-alg description
* Make a couple of const strings static
* stress-af-alg: fix build errors on undefined macros
* stress-af-alg: add aead support
* stress-af-alg: remove some debugging messages
* stress-af-alg: remove old unused crypto structures
* stress-af-alg: only add crypto algorithms that are supported by the
stressor
* stress-af-alg: use crypto algorithm data from /proc/crypto
* stress-clone: Add CLONE_NEWCGROUP
* stress-daemon: add expanding backoff timeout
* stress-daemon: keep retrying fork if we don't have enough resources
* stress-daemon: add minor backoff before fork retry (LP: #1849595)
* stress-vm: print stressor name using args->name rather than literal
string
* stress-readahead: print stressor name in failure message
* stress-matrix-3d: use pr_fail for short error failure messages
* stress-matrix-3d: use pr_fail_err for short error failure messages
* stress-iomix: fix one more pr_fail message
* stress-iomix: use pr_fail_err for short error failure messages
-- Colin King <colin.king@canonical.com> Wed, 6 Nov 2019 01:03:05 +0000
stress-ng (0.10.08-1) unstable; urgency=medium
* Makefile: bump version
* README: Add SuSE package information
* stress-x86syscall: use cpuid if it is available
* README: Add Judy development library packages
* Remove redundant stress-ng snapcraft makefile
* stress-judy: Add Judy array stressor
* Add memory hotplug stressor
* stress-sendfile: add missing line after variable declaration
* stress-dev: add some more linux keyboard ioctls to exercise
* stress-tree: fix error messages when nodes are not found
* stress-swap: detect for EINVAL errors on swapon
* stress-filename: don't use chars in filename that throw EILSEQ
errors
* stress-fiemap: detect if file system can support FIEMAP ioctls
* stress-zlib: make some char * pointers non-clobberable by longjmp
* stress-urandom: add mmap'ing to /dev/urandom for more exercising
* stress-zlib: use text_start and text_end based on stress-zlib
object code
* Add x86syscall vsyscall stressor
* stress-tsc: fix info message when tsc is not supported
-- Colin King <colin.king@canonical.com> Mon, 21 Oct 2019 11:47:22 +0100
stress-ng (0.10.07-1) unstable; urgency=medium
* Makefile: bump version
* Remove smatchify script, we now use other tools to static
analyse stress-ng
* core-helper: add sanity check if ttyname returns NULL to avoid
null pointer dereferencing
* stress-fp-error: fix checks for NaN and Inf (LP: #1846216)
* Don't show utf8 chars on dump consoles (LP: #1846196)
* stress-clone: make child process larger to make it more
OOM-able (LP: #1845948)
* core-out-of-memory: open and close proc interface after each write
* Add autobuild detection of getsid() for better portability
* stress-ng.h: only use x86 target clones for x86 arches
* stress-rdrand: unroll loop x 4 more times for more throughput
* inline the __keep_stressing function, reduce call overhead
for more throughput
* stress-stack: make alternative signal stack privately
mapped (LP: #1845464)
-- Colin King <colin.king@canonical.com> Tue, 1 Oct 2019 16:39:52 +0100
stress-ng (0.10.06-1) unstable; urgency=medium
* Makefile: bump version
* stress-mcontend: ensure mmap'd file is sync'd with zero
data (LP: #1845011)
* stress-rmap: don't make fallocate failures a rmap test
failure (LP: #1845005)
* stress-shm: fork and exit a child to exercise shm dup and
removal
* stress-ng: fix jobfile with classes (LP: #1706970)
* stress-procfs: don't randomly read pci proc info on ARM64
* stress-procfs: remove bad buffer test, it's not portable
* stress-sysfs: rename MAX_READ_THREADS to MAX_SYSFS_THREADS
* stress-sysfs: remove bad address reads, these fault on ARM64
* stress-procfs: rename MAX_READ_THREADS to MAX_PROCFS_THREADS
* stress-inode-flags: move open/close to controlling process
* stress-sig: fix spelling mistake "siqqueue" -> "sigqueue"
-- Colin King <colin.king@canonical.com> Mon, 23 Sep 2019 17:40:21 +0100
stress-ng (0.10.05-1) unstable; urgency=medium
* Makefile: bump version
* core-shim: fix typo in shim_move_mount
* core-shim: use shim_enosys for more ENOSYS returns
* Clean up shims for syslog(2) and syslog(3)
* stress-ramfs: remove it from the filesystem test
* stress-dirdeep: make inodes info into a debug message
* Remove trailing tab from ends of lines
* Remove trailing white space after statements
* stress-vm: fix verification failure with gray code method
* stress-socket: make EPIPE a non-fatal error condition
* stress-udp: use correct default UDP port 7000
* stress-ng: rescan the exclusion list for --class stressors
* core-shim: reset errno before each waitpid call
* stress-socket: handle SIGPIPE as non-fatal
* stress-physpage: don't abort on zero address physpage
* Use HTTPS URL for kernel.ubuntu.com
-- Colin King <colin.king@canonical.com> Thu, 12 Sep 2019 15:26:22 +0100
stress-ng (0.10.04-1) unstable; urgency=medium
* Makefile: bump version
* Remove execute bit on bash completion script
* debian: rules: workaround dwz failures on arm64
-- Colin King <colin.king@canonical.com> Mon, 2 Sep 2019 18:43:41 +0100
stress-ng (0.10.03-1) unstable; urgency=medium
* Makefile: bump version
* core-cache: add checks for null strings
* stress-cpu: fix build time checks for __cpuid()
* Debian: update compat to level 12
* Manual: update date
* stress-cpu: add a collatz sequence stressor
* stress-dev: temporarily disable hpet test
* stress-stack: use memory backed mmap'd alternative stack
* stress-inode-flags: detect failures in pthread and propagate
these back to parent (LP: #1841900)
* Add a pthread return pointer to pthread args
* stress-numa: move assignment to *node_ptr
* core-helper: voidify return of fprintf
* core-cache: voidify return of snprintf
* stress-ramfs: voidify return of snprintf
* stress-ng: voidify return of fprintf and fflush
* core-job: voidify return of fprintf
* core-sched: voidify return of fprintf
* stress-get: voidify memset return
* stress-seccomp: vodify memset return
* stress-bind-mount: remove ` char in comment
* stress-apparmor: remove redundant sizeof char
* Add new 5.3 sched_attr fields, fixes EFBIG on sched_{get|set}attr
* core-helper: don't call sched_getcpu on s390x
-- Colin King <colin.king@canonical.com> Mon, 2 Sep 2019 14:23:22 +0100
stress-ng (0.10.02-1) unstable; urgency=medium
* Makefile: bump version
* stress-pthread: protect counter with spinlock not mutex lock
* Manual: update date
* stress-pthread: don't block forever on pthread_cond_wait() (LP: #1840867)
* stress-pty: remove some white spaces in source
* core-cache: ensure read buffer has trailing '\0'
* core-cache: update comments
* core-cache: use a fixed size buffer for reading in /sys info
* stress-cpu: remove a debugging message
* stress-pty: don't report a failure on EINTR (LP: #1840512)
* stress-cpu: add an x86 cpuid instruction exerciser
* stress-cpu: add a 64 bit division stressor
* snapcraft: add automatic versioning
* snapcraft: bump version
* stress-pthread: don't tkill pthreads, can lead to futex blocking
-- Colin King <colin.king@canonical.com> Wed, 21 Aug 2019 10:00:01 +0100
stress-ng (0.10.01-1) unstable; urgency=medium
* Upload as source package (Closes: #934007)
* Makefile: bump version
* stress-cache: replace globbing with scandir, clean up pathnames
* stress-sysfs: remove filename, it is now redundant
* stress-sctp: voidify unused return
* stress-mcontend: break multistatment lines
* stress-sysfs: copy to sysfs_path rather than using sysfs_path as a pointer
* stress-procfs: disable read to read-only buffer
* stress-procs: fix incorrect strlcpy size
* stress-procfs: don't use large filenames on small pthread stacks
* stress-sysfs: remove redundant readlink
* core-shim: voidify unused args in new mount shim helpers
* bash-completion: remove the shebang at the start
* stress-ramfs: fix umounting races
* Move the "random" option in correct alphabetical order
* Move new mount system call shims to core-shim.c
* stress-ramfs: remove pathological setting
* stress-ramfs: add capability check before running
* Add ramfs stressor, this also exercises the new mount system calls
* Add brk emulation for systems that don't support brk()
* stress-clone: add CLONE_PIDFD (new with Linux 5.2)
* stress-cpu: remove blank lines
* stress-cpu: warn if CPU affinity may have been set
* stress-vforkmany: fix build error
* stress-vforkmany: wrap vfork syscall and put pragmas around it
* stress-fork: move pragmas to outside the stress_vfork function
* stress-opcode: fix missing space and remove redundant parentheses
* stress-memrate: handle memory sizes < 1MB
-- Colin King <colin.king@canonical.com> Sat, 10 Aug 2019 19:48:23 +0100
stress-ng (0.10.00-1) unstable; urgency=medium
* Makefile: bump version, change code name
* stress-fault: remove redundant variable offset
* stress-netlink-task: remove redundant initialization of id
* stress-pthread: abort if mutex lock is unlockable
* stress-cpu: use CLOCK_PROCESS_CPUTIME_ID to measure CPU consumed
* stress-cpu: clean up cpu load variables
* stress-cpu: fix CPU loading calculation
* stress-dev: move ret and buffer to lower scope
* core_shim: Remove caddr casts for __sun__
* stress-mergesort: workaround heap corruption on OpenBSD with
setjmp/longjmp
* core-helper: keeping on ringing SIGALRM until stressors get the
message
* stress-memthrash: make stressors more yielding
* Enable FORMAT macro (__attribute__ format) for clang
* Add Tiny C compiler notes in README
* stress-fork: add vfork timeout for OS X to workaround SIGARLM
issues
* stress-fork: do explicit keep_stressing() call rather than
simple flag check
* stress-pthread: use stress_sigalrm_pending helper and make set
non-static
* stress-fork: block SIGALRM and check for pending SIGALRMs
* Add stress_sigalrm_pending and stress_sigalrm_block helpers
* stress-fork: make fork_max a uint32_t and optimize wait and
error check loops
* Only use openlog/closelog if we have HAVE_SYSLOG_H defined
* core-sched: fix build error on some BSD systems
* stress-brk: exercise zero expansion of brk
* stress-efivar: exercise efi variable interfaces a little more
* core-out-of-memory: refactor code, add a set adjustment helper
* core-sched: put sched types into a lookup table
* stress-socket: remove debug
* stress-dev: exercise /dev/nvram
* stress-dev: try lseek and read on /dev/mem on x86
* stress-socket: exercise IP_MTU if it is available
* stress-sctp: use setsockopt for more socket option exercising
* stress-sctp: remove some debugging info
* stress-sctp: add some sctp related getsockopt calls
* stress-fcntl: don't make EPERM a fatal test failure
* stress-chroot: don't make EPERM a fatal test failure
* stress-fault: fix warnings on open indiania with gcc-8
-- Colin King <colin.king@canonical.com> Mon, 8 Jul 2019 20:14:21 +0100
stress-ng (0.09.60-0ubuntu1) unstable; urgency=medium
* Makefile: bump version
* Makefile: add kernel-coverage.sh to make dist rule
* Manual: add capabilities requirements and missing idle-page notes
* stress-cpu: make val an auto variable, we can't take address of a
register
* stress-pidfd: reduce scope of variable pid
* stress-netlink-task: reduce scope of variable len
* stress-utime: move if statement into a #if'def block
* stress-softlock: replace spaces with tab in indentation
* stress-softlockup: remove a duplicated return statement
* stress-resources: move a keep stressing check inside a #if'def block
* stress-lockbus: fix build warning on label "done" for non-x86 arches
* stress-lockofd: rename dirname to pathname
* stress-ng.h: rename a couple of function args to stop name clashing
* core-shim: ensure mlock addresses are const arguments
* stress-lockf: declare opt_set_funcs for all builds
* core-shim: rename dirfd to dir_fd
* stress-timerfd: rename exp to expval
* stress-memrate: rename remainder to dur_remainder
* stress-lockf: rename dirname to pathname
* stress-locka: rename dirname to pathname
* stress-inotify: rename dirname to pathname
* stress-hdd: rename remainder to size_remainder
* stress-filename: rename dirname to pathname
* stress-fcntl: rename dirname to pathname
* stress-fanotify: rename dirname to pathname
* stress-dnotify: rename dirname to pathname
* stress-chown: rename dirname to pathname
* stress-dir: rename dirname to pathname
* stress-chmod: rename dirname to pathname
* stress-opcode: remove .set_default and add .opt_set_funcs for
GNU/Hurd builds
* stress-opcode: fix build warning on GNU/Hurd
* stress-enosys: fix build warning when array size is zero
* stress-rawsock: remove shadowed rc declaration
* stress-rawsock: remove redundant __packed__ attribute
* stress-netlink-task: fix const build warning
* Add kernel coverage test bash script
* stress-netlink-task: voidify a few function returns and remove a
whitespace
* stress-lockbus: add a page boundary split lock
* stress-tmpfs: add parentheses around magic number
* stress-sctp: limit to ipv4 and ipv6 domains
* stress-udp: limit to ipv4 and ipv6 domains
* bash-completion: add vm-madvise completion
* bash-completion: add --stream-madvise completion
* Manual: fix up cyclic-method options
* stress-netlink-task: remove unused assignment to na->nla_len
* core-perf: fix spinlock error check
* README: update number of stressors
* Add netlink taskstats stressor
* stress-shm-sysv: add occasional reading of /proc/sysvipc/shm for
linux
* stress-sem-sysv: add occasional reading of /proc/sysvipc/sem for
linux
* stress-msg: declare get_procinfo only when required for linux
* stress-msg: add occasional reading of /proc/sysvipc/msg for linux
* stress_get: add deprecated _sysctl call to get sysctl info
* stress-sysfs: exercise /proc/thread_self earlier
* stress-lockbus: add split locks
* stress-mq: add lseek and poll on mq descriptor for Linux
* stress-rawsock: limit this to linux for the moment
* stress-resources: fix missing guard on fd_ev
* core-time: add constification
* core-thermal-zone: add constifications
* core-shim: add a constification
* core-parse-opts: add some constifications
* core-mwc: add a constification
* core-helper: minor constification clean ups
* core-cache: constify len2
* Add a raw socket rawsock network stressor
* Add HAVE_LINUX_HPET_H config checks
* stress-socket: add baroque mmap on socket fd
* core-thrash: add zone compaction, make per process paging less
aggressive
* stress-dev: add hpet HPET_INFO ioctl dev check
* stress-loop: add LOOP_SET_DIRECT_IO ioctl
* stress-loop: add 64 bit info get/set ioctl calls
* stress-fanotify: check if FAN_MARK_FILESYSTEM is defined
* stress-fanotify: exercise remove and flush
-- Colin King <colin.king@canonical.com> Sat, 22 Jun 2019 09:27:15 +0100
stress-ng (0.09.59.1-0ubuntu1) unstable; urgency=medium
* Makefile: bump version
* stress-wcs: fix segfault because of using incorrect string pointer
-- Colin King <colin.king@canonical.com> Sat, 8 Jun 2019 19:39:12 +0100
stress-ng (0.09.59-0ubuntu1) unstable; urgency=medium
* Makefile: bump version
* Add bash completion script
* Fix up missing options args on help for various stressors
* stress-fcntl: ignore EINTR as a failed error return
* stress-iomix: add yield point in ioctl exercising
* stress-resources: add missing ifdef guard on fd_memfd
* stress-resources: add more yield points
* stress-ioprio: add more yield points
* stress-inode-flags: add another yield point check per ioctl
* stress-hrtimes: optimize the reaping process of child processes
* stress-vfork: improve vforkmany stressor yielding
* stress-dnotify: make dnotify wait loop yield
* Add more yield points when touching pages with mincore_touch_pages
* stress-bad-altstack: fix inverted logic of yield checks
* stress-bad-altstack: add some more yield points
* stress-yield: clarify yielder task types
* stress-mmap: voidify unused argument mmap_mprotect
* stress-str: fix incorrect size for str2
* stress-wcs: fill string with random characters to the correct length
* stress-shellsort: remove base_index helper function
* stress-shellsort: correctly constify return from base_index()
* remove declaration of ret, it shadows a higher scoped declaration
* stress-prct: remove environ declaration, it is defined int unistd.h
* core-helper: voidify unused capability argument
* Revert "stress-vecmath: align data to cache boundary and copy on
initialization"
* core-helper: fix missing int type in stress_check_capability
declaration
* check for capabilities rather than if euid is zero
* stress-clone: make parent of clone'd processes less oomable
* stress-vecmath: align data to cache boundary and copy on
initialization
* sorting: fix comments of sorting functions
* Add shell sort CPU/memory stressor
* stress-wcstr: cache align start of wide strings
* stress-wcstr: remove a string randomization, exercises wcstr
functions more
* stress-str: use len1, len2 for string lengths
* stress-mremap: remove empty line
* Add in missing white space
* Ignore SIGUSR1, don't let it stop stressing
* core-job: fix optind check, should only check for non --job options
* jobs: parse jobfile name from correct argv[] location
* stress-pidfd: replace goto's with continues
* stress-poll: replace redo goto with a for-loop
* stress-prctl: also exercise PR_SET_PTRACER
* stress-prlimit: add more PR_SET_MM exercising
* stress-prctl: pass correct zero flags on PR_SET_MM_BRK
* stress-str: remove an string randomization, exercises str
functions more
* stress-bad-altstack: install signal handler in child as early as
possible (LP: #1830856)
* stress-netdev: add in missing ioctls to exercise
* stress-seccomp: add maximum seccomp bpf filter stress
* Add --msg-types to manual
* stress-mq: remove an unnecessary assignment
* stress-mq: remove stop flag, just kill child to remove complexity
* stress-msg: remove need for magic stop message, just kill child
instead
* stress-msg: make message 4 bytes, cache align it to get more
throughput
* stress-shm: voidify memset return
* stress-enosys: replace multiple if statements with loop
* stress-cyclic: refactor some code
* stress-cyclic: add less accurate usleep sleep delays
* zlib: add lrand48 data source zlib method
* stress-funccall: rename funcall -> funccall
* stress-clone: make parent of the clones child processes an OOMable
target (LP: #1828788)
* Add pass by value function return funcret stress tests
* stress-fault: make minor page faults more stressy
-- Colin King <colin.king@canonical.com> Fri, 7 Jun 2019 17:01:02 +0100
stress-ng (0.09.58-0ubuntu1) unstable; urgency=medium
* Makefile: bump version once more
* core-cache: cater for C libraries that don't support GLOB_ONLYDIR
* stress-bad-altstack: move help info to start of function to fix build error
* stress-icache: fix build error, add missing comma
* stress-stackmmap: move help info to start of function to fix build error
* stress-vm: include options that are no-ops for some arches
* stress-vm: fix missing return 0
* stress-full: move help info to start of function to fix build error
* stress-af-alg: fix build error, add missing comma
* Add copyright boilerplate to some text files
* Move per stressor help info into each stressor
* stress-udp: only declare udp_lite variable if UDP lite is supported
* stress-cache: move cache_flags declaration; fixes build error
* stress-ng: free proc info when a proc is being removed from the list
* Allow multiple definition of symbols when building a static image
* stress-softlockup: fix spelling mistake "reslults" -> "results"
* stress-cpu: fix spelling mistake "maxiumum" -> "maximum"
* stress-sigsegv: fix spelling mistake "instread" -> "instead"
* stress-ng: fix spelling mistake "functon" -> "function"
* Fix spelling mistake "exercsing" -> "exercising"
* stress-ng: fix spelling mistake "compressession" -> "compression"
* stress-cpu: fix spelling mistake "Rapshon" -> "Raphson"
* Add missing colon in error message text
* stress-zlib: clarify precedence of & and ? operators
* stress-stack: reduce scope of variable i
* core-log: reduce scope of empty_ts
* stress-aio-linux: fix build issue, missing ,
* stress-*: pass args using opt rather than optarg
* stress-socket: make function stress_set_socket_domain static
* stress-ng.h: compact up option flags
* stress-*: remove the use of global opt flags for non-global stressor settings
* stress-*: make various variables static
* stress-*: make some more functions static
* stress-funccall: make a few more functions static
* stress-funccall: make functions static
* Remove the declaration of stressor options in opt_set_funcs, move them to each stressor
* Move STRESSORS macro to stress-ng.h and declare stress_id_t with it
* stress-ng: remove STRESS macro and declare stress info objs using STRESSORS macro
* core-shim: remove FUTEX_WAIT from shim_enosys call
* core-shim: replace ENOSYS code with an inlined helper
* Add build time check for pidfd-send-signal system call
* Add new pidfd stressor that exercises pidfd_send_signal
* Remove stress-pidfd.c from Makefile
* stress-enosys: don't SIGKILL child when it is waiting to reap (LP: #1825089)
* Add shim_waitpid to silently handle EINTR by retrying
* stress-numa: fix undefined behaviour with left shift
* stress-numa: fix calculation of max nodes (LP: #1803468)
* stress-fanotify: add FAN_OPEN_EXEC_PERM and try all allowed masks one by one
* stress-seal: exercise F_SEAL_FUTURE_WRITE
* stress-cpu: don't use large fft arrays on the stack
* stress-cpu: don't use large correlation arrays on the stack
* stress-cpu: don't use large matrixprod arrays on the stack
* stress-kcmp: rework capfail message to unconfuse static analysis tools
* stress-af-alg: make several functions static
* stress-sysfs: rename stat buf to stafbuf to fix name shadowing warnings
-- Colin King <colin.king@canonical.com> Thu, 2 May 2019 08:48:11 +0100
stress-ng (0.09.57-0ubuntu1) unstable; urgency=medium
* Makefile: bump version
* stress-zlib: make buffer in static to avoid large stack
allocations
* stress-sysfs: only close ctxt.kmsgd if the fd is open
* test/test-sendmmsg: fix another resource leak of sockfd
* stress-epoll: remove redundant initialization of ret
* stress-fifo: remove redundant initialization of rc
* stress-fcntl: remove redundant initialization of rc
* stress-sysfs: fix fd leak
* core-perf: remove redundant variable rc
* stress-zero: ensure initialized data is being written
* test/test-posix-fadvise: remove unused label 'err'
* core-log: add paranoid check for localtime returning NULL
* test/test-mremap: remove unused pointer buf
* stress-opcode: remove redundant initialization of rc
* test/test-inotify: remove unused variable ret
* stress-swap: remove redundant assignment of fd to -1
* test/test-sendmsg: close socket fd
* stress-pty: remove redundant variable rc
* test/test-posix-fadvise: remove redundant variable ptr
* stress-memrate: remove redundant assignment to rc
* stress-dev-shm: remove redundant assignment of sz_delta
* stress-zlib: remove redundant initialization of flush
* Make various large stack allocations static
* stress-shm: fix end of string setting on wrong string
* core-helper: initialize val2; cleans up static analysis warning
* stress-pipe: use strncmp instead of strcmp on pipe stop message
* stress-socket-fd: check for non-null addr before unlinking addr_un
* stress-physpage: fix mapping address on failed mmap.
* stress-zlib: fix double call to deflateEnd
* stress-fcntl: improve checking of file creation
* stress-shm-sysv: lock/unlock shm segment if SHM_LOCK/SHM_UNLOCK
are defined
* stress-af-alg: fix copy-n-paste error on pointer name
* stress-af-alg: track unavailable af algs across multiple
stressors (LP: #1813847)
* stress-sysfs: add mmap and readlink operations on sysfs files
-- Colin King <colin.king@canonical.com> Wed, 27 Mar 2019 12:16:20 +0000
stress-ng (0.09.56-0ubuntu1) unstable; urgency=medium
* Makefile: bump version
* stress-bigheap: poll with keep_stressing() rather than
g_keep_stressing_flag
* Fix typo in sysbadaddr help, sysbaddaddr-ops ->
sysbadaddr-ops (LP: #1820251)
* stress-shm: paranoidly memset msg; cleans up static analysis warnings
* stress-nice: use setpriority or nice of both are available
* stress-zlib: fix incorrect macro name, should be
HAVE_BUILTIN_CTZ (LP: #1820252)
* stress-udp-flood: add some random port flooding into the mix
* stress-procfs: exercise procfs with mmap, ioctl and poll too
* stress-xattr: use macro for the max number of xattr settings
* README: add pcc as another supported compiler (LP: #1820253)
* Disable matrix-3d options when building with pcc
* stress-ng.h: don't use sync_synchronized when building with pcc
* stress-ng.h: make __builtin_prefetch a variadic function
* stress-matrix-3d: disable for PCC builds as this breaks the compiler
* stess-ng.h: fully define __builtin_prefetch for pcc
* Add build time check for gcc/clang label as a value feature
* core-perf: add OOM and thermal zone trip perf stats (LP: #1820254)
* core-perf: add filemap page cache perf stats (LP: #1820254)
-- Colin King <colin.king@canonical.com> Fri, 15 Mar 2019 10:55:02 +0000
stress-ng (0.09.55-0ubuntu1) unstable; urgency=medium
* Makefile: bump version
* Remove need for alloca.h to be build checked or included
* Manual: update stack stressor description, it no longer uses
alloca()
* Add tcc as supported compilers in README
* core-helper: add missing __dso_handle for tcc
* Add build check for __builtin_prefetch
* Add build-time checks for __builtin_memcpy and __builtin_memmove
* Add implementation of __builtin_ctz for systems that don't support
this
* core-helper: use correct etext and edata symbols for tcc builds
* Use correct macro name HAVE_VLA_ARG and not HAVE_VLA_ARGS
* matrix-3d: fix all matrix-3d settings, the name should not be
matrix_3d*
* Add check for variable length array support in function args
* rename TYPEOF macro to CAST_TYPEOF as it really is used for type casting
* Add build checks for complex.h and complex type
* stress-close: remove debug message
* stress-close: add more pthreads, remove some protocols and fsync
* core-helper: remove redundant null check for case where NSIG or _NSIG
are not defined
* core-helper: use ptrdiff_t types for pointer math and fix start >= end
check
* core-mwc: use ptrdiff_t types to perform pointer math on different
objects
* stress-resources: remove use of alloca
* stress-stack: remove need for alloca, expand stack by deep recursion
* stress-funccall: add additional missing floating point types
* stress-funccall: add in return type returns, remove structs
* tests: clean up some cppcheck style warnings
* stress-zlib: add extra brackets to explicitly clarify precedence
* stress-unshare: guard declaration of euid with CLONE_NEWNET check
* stress-switch: reduce scope of overrun and overrun_by
* stress-ng: declare and assign last_page only when it is required
* stress-ng: move get class setting before class is sanity checked
* stress-hrtimers: remove redundant if check, ensure timer is always
non-zero
* stress-hdd: fix iovec buffer settings
* stress-cpu: remove redundant multiply of gm, it's not used
* stress-apparmor: reduce scope of variable tmp_counter
* core-helper: reduce scope of buffer 'str'
* core-helper: stress_text_addr: check for start >= end
* core-helper: move start if #ifdef to remove unused code
* Manual: update contributors list
* stress-vm-addr: fix discarding of existing mappings
* stress-ng: bring back error messages from getopt_long
* stress-ng: fix ALWAYS_INLINE with gcc < v6.0.1 on s390/s390x
* stress-ng: fix --class option
* Add close race stressor, exercises various close kernel paths
* Makefiles: make static build checking handle linking correctly
-- Colin King <colin.king@canonical.com> Mon, 4 Mar 2019 16:01:23 +0000
stress-ng (0.09.54-0ubuntu1) unstable; urgency=medium
* Makefile: bump version
* stress-efivar: add in missing constifications
* core-cache: fix strncpy - it was one byte too short and not copying
end-of-string char
* stress-efivar: properly work around gcc-9 -Waddress-of-packed-member
warning
* stress-efivar: pass naturally aligned pointer (stops gcc9 from
complaining)
* stress-pthread: don't unlock if previously an unlock failed
* stress-zlib: avoid static analysis warnings about division by zero on
zero text_len
* stress-mremap: fix compare, was an incorrect assignment
* stress-urandom: skip stressor if /dev/urandom and /dev/random don't
exist
-- Colin King <colin.king@canonical.com> Thu, 21 Feb 2019 18:15:55 +0000
stress-ng (0.09.53-0ubuntu1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* Manual: update contributing authors
* stress-zlib: mark zero pipe reads as an interrupted pipe
* stress-zlib: improve error handling messages
* stress-sem: check for errno being zero for dilos
* test/test-bsd-wchar: Explicitly include stdio.h
* stress-af-alg: add yield detection before a blocking accept()
* stress-socket: add yield detection before a blocking accept()
* stress-sctp: add yield detection before a blocking accept()
* stress-dccp: add yield detection before a blocking accept()
* stress-epoll: add yield detection before a blocking accept()
* stress-socket-fd: add more yield detection points
* stress-ng: cast pid_t to int for printf
* Add build time check for clearenv()
* Voidify return from shim_sched_yield()
* stress-vm-segv: add some voidifications on ptrace calls
* Voidify return from fflush()
* Voidify return from feraiseexcept()
* Voidify return to shim_usleep()
* Voidify return from snprintf
* Voidify return from calls to shim_cacheflush
* core-perf: add spinlock/unlock error checking
* thermal-zone: remove degrees char and also add Kelvin too
* Voidify return of sync()
* stress-tree: ensure avl cleans it's nodes on free
* Voidify return from memcpy()
* Voidify return from memset()
* Rename dummy variable to signum
* stress-key: don't perform KEYCTL_CLEAR, add more error checking
* stress-daemon: perform more SysV daemon like actions
* stress-vdso: fix typo in comment
* Handle ENOMEM fork failures by retrying
* stress-ng: catch and report weird child termination issues
-- Colin King <colin.king@canonical.com> Fri, 15 Feb 2019 12:05:01 +0000
stress-ng (0.09.52-0ubuntu1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* stress-clock: ignore EPERM errors on timer_create
* stress-clock: ignore -EINVAL and -ENOSYS failures for gettime and
getres
* stress-sem-sysv: don't spam output with timeout info messages
* stress-clock: ignore -EINVAL and -ENOSYS failures
* stress-switch: remove debug
* stress-switch: fix division by zero by switch_freq
* Update number of stressors in README
* Add 3D matrix stressor
* stress-ng: update version info in manual
* Add stress_get_uname_info to get specific uname info, tidy up -V
output
* stress-ng: add compiler version info into -V info
* Add helper function to get compiler information
* Fix some spelling mistakes.
* stress-mlock: add zero sized mlock/munlocks
* stress-udp: move declaration of variable val
* stress-mmap: be less noisy on mmap failures and fix directory
cleanup (LP: #1807732)
* Add new --switch-rate context switch rate setting
-- Colin King <colin.king@canonical.com> Wed, 6 Feb 2019 13:27:33 +0000
stress-ng (0.09.51-0ubuntu1) unstable; urgency=medium
* Makefile: bump version
* stress_numa: remove __linux__ check
* Add build time checks for struct shmid_ds and struct shminfo
* stress-mlockmany: add some invalid mlock/munlock calls for more stress
* stress-clone: use shim_unshare instead of unshare
* stress-clone: forgot to remove other __linux__ check
* stress-clone: remove __linux__ checks
* Add shim for getxattr to work around OS X 6 arg getxattr
* stress-sleep: remove debug on join failure on bad threads
* Add watchdog test to excluded tests as it can trigger reboots
* stress-ng.h: remove a couple more __linux__ checks
* Add build check for sched_rr_get_interval
* stress-sysbadaddr: remove __linux__ checks
* stress-sleep: fix broken --sleep-ops threshold counter
* stress-sleep: improve main loop exit on alarm
* stress-pthread: clean up warning on %d for pid_t types (missed one)
* stress-softlockup: memset param to avoid old gcc warnings on struct initializer
* stress-pthread: clean up warning on %d for pid_t types
* Add build check for struct msginfo
* stress-rlimit: fix warnings on gcc 6.4 on solaris
* stress-hrtimers: fix warnings on gcc 6.4 on solaris
* stress-cyclic: fix warnings on gcc 6.4 on solaris
* stress-lockbus: fix warnings on gcc 6.4 on solaris
* stress-cpu-online: remove empty line
* stress-pty: remove __linux__ check and add ptsname check
* Add checking for process-vm-readv and process-vm-writev
* stress-pthread: add better error recovery and locking prevention checks
* stress-pthread: make error messages a bit more informative
* Add build detection of ino64_t
* stress-bind-bound: add some extra clone flag checks
* stress-memthrash: remove __linux__ check
* Add name_to_handle_at and open_by_handle_at checks
* stress-getrandom: clean up buffer size setting
* Move ptsname check to correct alphabetic order place
* Add check for ptsname
* stress-resources: remove some more __linux__ instances
* Add build check for sched_setscheduler
* stress-iomix: replace __linux__ check with HAVE_SYNC_FILE_RANGE check
* stress-cyclic: fix build warning on systems without sched_get_priority*
* Add build detection for sched_get_priority_{min|max}
* stress-cyclic: remove __linux__ checks, the code is generic enough now
* stress-oom-pipe: replace __linux__ check with appropriate macro checks
* stress-msg: remove __linux__ check, check instead IPC_INFO and MSG_INFO
* stress-hrtimes: remove __linux__ check
* Add build time check for splice
* Add build time check for tee system call
* Add build time check for vmsplice
* test/test-off64_t.c: clean up cppcheck style warning
* test/test-loff_t: clean up cppcheck style warning
* stress-utime: clean up cppcheck style warning
* sytess-sysinfo: fix some cppcheck style warnings
* stress-pty: clean up some cppcheck style warnings
* stress-clock: reduce scope of several variables
* stress-apparmor: ensure we handle residual bogo ops
* stress-apparmor: fix broken apparmor-ops accounting
* core-helper: clean up unused variable warning
* stress-poll: fix missing }, detected by cppcheck
* stress-ng: remove extraneous ) bracket found by cppcheck
* stress-af-alg: add missing ) in message
* stress-sigfpe: ignore bogus -ve si_codes
* Add build time checks for xattr family of system calls
* stress-xattr: remove __linux__ check
* stress-rlimit: remove __linux__ check
* stress-lockbus: remove __linux__ check
* stress-iomix: only perform ioctl's if the ioctl command is defined
* stres-futex: remove __linux__ check
* stress-dnotify: remove __linux__ check
* stress-switch: replace __linux__ check with HAVE_PIPE2 check
* stress-sleep: remove __linux__ check
* Add build time check for crypt_r
* core-out-of-memory: remove some empty lines
* core-io-priority: remove __linux__ check
* core-helper: remove __linux__ check on F_SETPIPE_SZ check
* core-helper: replace __linux__check with HAVE_SCHED_GETCPU
* stress-spawn: check if /proc/self/exe is supported
* stress-spawn: remove __linux__ check
* stress-pipe: replace GLIBC version check with check for O_DIRECT
* Add build time checks for pipe2
* stress-timer: remove other __linux__ check
* stress-timer: remove \ continuation from # if defined check
* stress-timer: remove __linux__ check
* stress-cache: fix warnings when sched_getcpu not available
* Add build time checks for sched_getcpu
* stress-yield: remove need for GLIBC version
* stress-apparmor: remove need for __linux__ check
* Add build time checks for sched_getaffinity
* stress-aio: remove __linux__ check
* stress-aio-linux: remove check for __linux__
* stress-mlock: use shim version of munlock()
* debian/tests/fast-test-all: add mlockmany to the banned stress tests
* stress-mlockmany: make this stressor CLASS_PATHOLOGICAL
* Add more mlock/munlock iterations while child waits to be killed
* stress-mlockmany: check for ability to mlock/munlock
* stress-mlockmany: remove redundant low mem checks
* stress-mlockmany: add more yielding points
* stress-branch: make source more compact
* Add build time check for semtimedop
* stress-sigq: fix build warning on Solaris with gcc 4.8.2
* stress-sysbadaddr: fix cast
* stress-sysbadaddr: fix pointer bump warnings
* stress-resources: declare ret in block only if required
* stress-mlockmany: replace MAX_LOOPS with 1024
* stress-clock: only define stress_clock_name if required
* stress-sem-sysv: fix build issue with timeout undefined
* stress-mlockmany: set default ptr to avoid any warnings
* stress-cyclic: move stress_cyclic_itimer_handler to clean up build warning
* stress-cyclic: move timerid into function, don't make it static
* stress-sysbadaddr: use HAVE_NANOSLEEP check
* stress-cyclic: make timer delay checks more portable
* Add build time check for posix_madvise
* stress-clock: add timer_getoverrun call to exercise this more
* Add build time check for timer_getoverrun
* Add build time check for timer_gettime
* Add build time check for timer_settime
* Add build time check for timer_create
* Add build time check for timer_create
* Add build time check for clock_nanosleep
* Add build time check for clock_getres
* Add build time check for clock_settime
* Add build time check for clock_gettime
* stress-sigrt: remove need for _POSIX_C_SOURCE check
* stress-sigqueue: remove need for _POSIX_C_SOURCE check
* Add build time check for sched_yield
* stress-branch: add note to why we inlined mwc8
* stress-branch: add inline mwc8(), boosts cache misses
* Add some addition x86 target clone targets
* Add a mlockmany aggressive mlock stressor
* stress-resource: add check that RLIMIT_MEMLOCK is available
* Add CLONE_NEWCGROUP for stress-unshare.c
* README: add libipsec-mb-dev to library list
* core-mwc: add in aux_rand value to w term
* stress-resources: mlock and munlock pages of memory
* stress-vm-segv: remove debug printf
* stress-vm-segv: use ptrace if available to stop apport spammage
* stress-opcode: use seccomp trap rather than a kill
* stress-opcode: add a text --opcode-method
* stress-zlib: use new stress_text_addr helper
* core-helper: add stress_text_addr text segment helper
* stress-vm-segv: remove setrlimit on core dump size
* stress-seccomp: catch child with SIGSYS trap
* core-helper: attempt to set soft rlimit first
* Makefile: remove -g CC option
* stress-secomp: clean up incorrect indentation
* stress-ipsec-mb: voidify job submission returns
* Add missing idle-page mini help information
* stress-sem: use trywait and do some yielding
* stress-sem: run semaphore stressors as pthreads and not child processes
* Fix typo in int128_t support message and don't support for < GCC 4.0.0
* core-shim: handle posix_fallocate error return correctly
* stress-timerfd.c: rename TIMER_MAX to TIMERFD_MAX
* Add build detection of various BSD related header files
* stress-idle-page: return EXIT_NO_RESOURCE if sysfs entry does not exist
* Add build detection of __int128_t types
* Add build time check for alloca.h
* core-log: add gnu printf format attribute for pr_msg_lockable
* core-log: make pr_msg_lockable static to reduce scope
* core-affinity: rename ptr to avoid variable shadowing warnings
* stress-memcpy: fix naive memcpy and memmove, swap src and dest pointers
* stress-ng.h: remove another unnecessary __linux__ check
* Add build time detection of missing __kernel_long_t and __kernel_ulong_t
* stress-ng.h: remove unnecessary linux check
* stress-ng.h: remove some duplicated includes
* core-helper: add more prctl build time checks
* Add build checks for prctl and remove __linux__ checks
* stress-ng: define IOPRIO_* macros if they are not defined
* stress-ng.h: add build check for malloc.h
* stress-ng.h: remove empty lines
* Add build checks for loff_t and off64_t types
* rename personality.c to core-personality.c, update Makefile
* Replace deconstification with a opt arg duplication
* stress-clone: remove a deconstification
* Rename core helper source, add core- prefix to source
* helper: prefix some helper functions with stress_
* Add a new idle scan page scanning stress test for Linux
* Remove per-stressor umask as is now set before running each stressor
* Set umask to owner before running each stressor
* Add build time check for flock()
* log: add comments and handle systems that don't support flock
* Add log message locking.
* stress-resources: guard pkey with HAVE_PKEY_* macro checks
* Makefile.config: sort config function probing
* Add posix_fallocate check and use shim_fallocate if it does not exist
* stress-timerfd: use 256 timers for more stress and throughput
* stress-procfs: remove empty line
* stress-fanotify: use the mount_get()/mount_free() mount helpers
* stress-iosync: force sync'ing on all accessible mount points
* stress-ng.h: minor space reformatting
* Add a --memcpy-method option to use different memcpy/memove functions
* stress-fanotify: add kernel v5.0 FAN_OPEN_EXEC support
* stress-ipsec-mb: allow static build now that ipsec lib has symbols exported
-- Colin King <colin.king@canonical.com> Thu, 31 Jan 2019 16:45:31 +0000
stress-ng (0.09.50-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* stress-fanotify: don't declare ret if it is not used
* stress-ipsec-mb: make pr_inf message a debug pr_dbg message
* stress-zlib: remove xsum value debug verify information
* stress-ipsec-mb: add more explanation to why the stressor may be
skipped
* stress-ipsec-mb: check for IMB_* macros
* stress-ipsec-mb: fix typo "avx" -> "avx2"
* stress-ipsec-mb: Add SHA encryption
* stress-ipsec-mb: fix hmac md5 error messages
* stress-ipsec-mb: Add HMAC MD5
* stress-ipsec-mb: add CTR encoding
* stress-ipsec-mb: don't enable for static builds
* Update copyright year
* debian/control: add ipsec library dependency
* stress-quota: use linux quotactl API for linux only systems
* stress-opcode: voidify name argument
* stress-opcode: define stress_set_opcode_method for unimplemented
build case
* Forgot to add test/test-libipsec-mb.c
* Add initial cut of ipsec-mb stressor for SHA, DES and CMAC
* stress-af-alg: prefix macro constants with SNG to avoid clashes
* stress-rdrand: remove assembler cpuid check
* stress-fanotify: improve FAN mode checks for v4.20
* stress-resources: fork a child off on each resource eating child
* Add --opcode-method [ random | inc | mixed ] option
* shim: remove duplicated code for __APPLE__ case
* stress-opcode: iterate 1024 times in each child
* stress-stackmmap: fix leak of open file descriptor on ENXIO error
* stress-opcode: comment why mwc32() is being called before forking
* stress-opcode: remove unnecessary { } block scope
* stress-opcode: use mwc8() instead of mwc32() when setting opcodes
* snapcraft: make stress-ng binary static and add various plugs
-- Colin King <colin.king@canonical.com> Wed, 2 Jan 2019 16:58:52 +0000
stress-ng (0.09.49-1) unstable; urgency=medium
* Makefile: bump version
* stress-udp-flood: remove check for struct iphdr and icmphdr
* stress-icmp-flood: add check for struct iphdr and icmphdr
* Add checks for struct iphdr and icmphdr
* helper: remove libgen.h - it is not needed
* Add check for fenv.h
* Add check for float.h
* stress-icmp-flood: fix typo in macro name check
* Add checks for netinet/ip.h and netinet/ip_icmp.h
* Move getopt.h to stress-ng.h
* Add check for netinet/sctp.h
* Add check for locale.h
* stress-epoll: remove need for netdb.h, clean up define checks
* Add checkfor libgen.h
* stress-spawn: only test on linux
* Add detection for posix_spawn
* stress-socket: add check for SOL_TCP for BSD systems
* Add check for net/if.h
* Add check for netinet/tcp.h and clean up stress-socket a little
* Move include of arpa/inet.h to stress-ng.h
* Move include netinet/in.h to stress-ng.h
* stress-dirdeep: remove include of dirent.h, it is already included
in stress-ng.h
* Add check for cpuid.h
* Move include of keyutils.h to stress-ng.h
* Move include of crypt.h to stress-ng.h
* Add check for strings.h
* Fix check on sys/msg.h, use correct macro for check
* Use check for mqueue.h
* Move pwd.h to stress-ng.h
* Add check for mqueue.h
* Move ucontext.h and search.h to stress-ng.h
* Add check for semaphore.h
* Add checks for aio.h and spawn.h
* Move math,h and complex.h to stress-ng.h
* Disable swap for SunOs/Solaris as the interface is different to Linux
* stress-chown: don't count retries for NetBSD sched_yield retries
* stress-raw-dev: replace __linux__ check with some more specific checks
* test/test-sysinfo.c: force failure for sunos, this clashes with a
different sysinfo
* stress-ng.c: Add check for sysinfo system call
* Add check for sysinfo system call
* Add check for syslog.h
* Add check for sys/epoll.h
* Add check for poll.h
* helper: remove include of sys/statvfs.h as it is include from
stress-ng.h
* Add check for sys/shm.h
* Add check for sys/msg.h
* Add check for sys/ipc.h
* helper: use HAVE_SYS_STATVFS_H check for statvfs calls
* stress-filename.c: use statvfs check
* Add check for sys/statvfs.h
* Add check for sys/statfs.h
* Use check for sys/fanotify.h
* Add check for sys/sysmacros.h
* stress-rawdev: remove include of dirent.h, it is in stress-ng.h
* Add check for sys/io.h
* Add check for sys/inotify.h and various inotify types
* Add check for termio.h and termios.h
* Add check for sys/quota.h
* Add check for deprecated include ustat.h
* Add check for utime.h
* Add check for sys/sysinfo.h
* Move include of sys/timex.h from stress-get.c to stress-ng.h
* Add check for sys/ucred.h
* Add check for sys/mount.h
* Add check for sys/param.h
* Move include of mntent.h to stress-ng.h
* Add check for sys/personality.h
* perf-event: no need to check for __linux__, remove check
* Add better checking for HAVE_LINUX_PERF_EVENT_H
* stress-nop: undefined NOP macros to avoid name space clash
* Move libaio.h from stress-aio-linux.c to stress-ng.h
* Move several includes from stress-dev.c to stress-ng.h
* Add check for linux/cn_proc.h
* Add check for linux/unix_diag.h
* Add check for linux/sock_diag.h
* Add check for linux/rtnetlink.h
* Add check for linux/netlink.h
* Add check for linux/connector.h
* stress-sock-diag: remove includes that are in stress-ng.h
* stress-ng.h: remove check for HAVE_SWAP to include swap.h
* Add check for linux/posix_types.h
* stress-ng.h: more clean ups
* stress-ng.h: more include cleanups
* alphabetically re-order sys/includes
* Move include of linux/if_alg.h to stress-ng.h
* Move include of linux/socket.h to stress-ng.h
* stress-dev: remove need for linux/random.h, it's included in
stress-ng.h
* stress-timerfd: clean up build warning on pid_t on sunos
* Only include sys/swap.h if swapon/swapoff exist
* stress-sendfile: return EXIT_NOT_IMPLEMENTED if sendfile returns ENOSYS
* Add check for statfs system call
* Add swapon/swapoff system call autodetection
* stress-swap: don't use SWAP_FLAG_PREFER if it's not defined
* stress-sysbadaddr.c: remove include of sys/vfs.h
* Add build config check for sys/uio.h
* Add build config check for sys/vfs.h
* Add build config check for sys/swap.h
* Add build config check for sys/timerfd.h
* Move include of sys/apparmor.h to stress-ng.h
* Add build config check for sys/sendfile.h
* Add build config check for sys/signalfd.h
* stress-netdev.c: remove include of sys/ioctl.h, it is included in
stress-ng.h
* Move include of sys/auxv.h to stress-ng.h
* stress-socket-diag: remove include for sys/socket.h, it is include
in stress-ng.h
* Add build config check for netinet/in.h
* Add build config check for sys/un.h
* Add in version info computer unicode character
* Add unicode 32 symbol for fire in the version info
* Re-order pthread and libc library linker order (LP: #1807176)
* Move <sys/utsname.h> include to stress-ng.h
* stress-rawdev: remove sys/types.h as it is included in stress-ng.h
* Rename HAVE_SYS_CAP_H to HAVE_SYS_CAPABILITY_H, move include to
stress-ng.h
* stress-urandom: move the include of linux/random.h to stress-ng.h
* stress-loop: move the include of linux/loop.h to stress-ng.h
* stress-futex: remove include/futex.h
* shim: remove linux/futex.h include
* Move the include of linux/rtc.h to stress-ng.h
* Move the include of linux/watchdog.h to stress-ng.h
* Move the include of linux/userfaultfd.h to stress-ng.h
* Move the include of linux/futex.h to stress-ng.h
* stress-seccomp: no need for __linux__ check, remove it
* stress-opcode: fix build issue because if #if/#endif mismatch
* Move linux/seccomp.h include to stress-ng.h
* Add build config check for linux/filter.h
* Add build config check for linux/audit.h
* stress-seccomp: improve EACCES failure skip message information
* Add build config check for sys/prctl.h
* stress-udp-flood: check for EPROTONOSUPPORT socket failures
* stress-stackmmap: handle ENXIO mmap failures on minix
* stress-loop: remove redundant check for __linux__ being defined
* Add build config check for linux/rtc.h
* Add build config check for linux/version.h
* stress-urandom: use HAVE_LINUX_URANDOM_H check
* Add build config check for linux/watchdog.h, re-order some checks too
* Add build config check for sys/timex.h
* Add build config check for sys/utsname.h
* stress-get: fix typo in comment
* Use check for HAVE_LINUX_FUTEX_H for linux/futex.h
* Move sys/select.h include into stress-ng.h
* Add build config check for linux/fs.h
* Add build config check for sys/fanotify.h
* Add build config check for mntent.h
* Add build config check for crypt.h
* Add build config check for ucontext.h
* Add build config check for sys/apparmor.h
* Add build config check for sys/select.h
* Add build config check for libaio.h
* Add build config check for aio.h
* Rename HAVE_SOCK_DIAG_H to HAVE_LINUX_SOCK_DIAG_H
* stress-af-alg: add checks for <linux/if_alg.h> and <linux/socket.h>
* stress-stackmmap: needs swapcontext
* stress-ng: minor reordering of includes, minor changes
* Remove include of semaphore.h as this is already included in
stress-ng.h
* stress-ng.h: fix include on semaphore.h
* stress-resources: use posix semaphores if HAVE_SEM_POSIX is defined
-- Colin King <colin.king@canonical.com> Thu, 13 Dec 2018 16:08:11 +0000
stress-ng (0.09.48-1) unstable; urgency=medium
* Makefile: bump version
* stress-dev: pass correct struct to SCSI_IOCTL_GET_IDLUN
ioctl (LP: #1806024)
* Remove full stop from some messages, like other messages
* stress-spawn: fix skipping message, use stressor test name
-- Colin King <colin.king@canonical.com> Fri, 30 Nov 2018 12:07:13 +0000
stress-ng (0.09.47-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* Add in missing option --vdso-func to specific the vDSO function to
call
* stress-mcontend: check data[1] rather than data[0] for failed mmap
* stress-dev: remove redundant null assignment to dev_scsi_new
* log: use strncpy instead of less safe strcpy
* README: add WSL as a supported platform
* stress-itimer: skip stressor if itimer cannot be set
* stress-schedpolicy: skip sched_setparam on EPERM errors
* stress-key: skip stressor if add_key is not implemented
* stress-netdev: ignore errors of EINVAL on ioctls
* stress-ioprio: skip over failures that return -EINVAL
* stress-file-ioctl: skip flag checking if ioctl fails
* helper: forgot to use %s when printing cache pr_inf message
* stress-file-ioctl: silently ignore ENOTTY ioctl failures
* stress-file-ioctl: add in errno info on failure
* helper: shrink cache defaults message, make it less verbose
* stress-fcntl: cater for kernels that don't support some fcntl commands
* stress-sigio: cater for kernels that don't support F_SETOWN
* stress-udp: cater for kernels that don't support SO_REUSEADDR
* cache: remove some empty lines, minor code cleanup
* stress-tee: terminate with EXIT_NO_RESOURCE on ENOMEM on tee
* stress-sctp: skip stressor if protocol is not supported (part 2)
* Make cache size warnings less verbose
* Add getauxval autoconfig detection
* stress-vdso: only build test if AT_SYSINFO_EHDR is defined
* README: add in more operating systems that the tool can build on
* stress-sync-file: skip stressor if sync_file_range is not implemented
* stress-switch: fall back to pipe() if pipe2() fails to work
* stress-socket-diag: skip stressor if protocol is not supported
* stress-sctp: skip stressor if protocol is not supported
* stress-pipe: fall back to pipe() if pipe2() fails to work
* exit_status: make ENOSYS return EXIT_NOT_IMPLEMENTED
* stress-mq: skip stressor if POSIX message queues are not implemented
* stress-mincore: skip stressor of mincore not implemented
* stress-full: check if /dev/full exists, return EXIT_NOT_IMPLEMENTED
if not available
* stress-filename: cater for WSL on Windows 10 ENOENT errors
* stress-filename: make probing more robust
* stress-clock: handle kernels that return -EINVAL for timer_create
* stress-vdso: make function vdso_sym_list_check_vdso_func static
* stress-vdso: fix realloc null return check, don't check str
* stress-vdso: ensure hash is initialized to NULL
* stress-zlib: add gray code generator
* stress-zlib: add brown noise and fix missing funcs from
rand_data_funcs
* stress-wait: voidify kill return
* stress-vm: minor optimization, don't keep on recomputing max_ops arg
* stress-vm: handle counter increments via helper functions
* stress-bindmount: use get_counter instead of referencing counter
* Add add_counter helper to add a value to the bogo op counter
* Add a set_counter helper to set the bogo counter
* Use get_counter rather than directly referencing *args->counter
* mwc: use getauxval(AT_RANDOM) as a base seed if it is available
* stress-switch: add more context switch info
* stress-ng.h: add get_counter helper to get counter from args
* stress-vdso: add arm64 vDSO symbol names
* stress-vdso: scan all symbols and remove duplicates
* Add vDSO stress test.
* use a test program to conditionally set TARGET_CLONES (LP: #1800826)
* Detect and use <features.h> if it is available.
* Fix build with uClibc-ng (LP: #1800829)
* stress-ng.h: conditionally define _{LARGEFILE,LARGEFILE64}_SOURCE
to fix build warning (LP: #1800828)
-- Colin King <colin.king@canonical.com> Wed, 21 Nov 2018 17:03:43 +0000
stress-ng (0.09.46-1) unstable; urgency=medium
* Makefile: bump version, remove -g and -pipe flags
* Makefile: remove -pipe and -g CFLAGS
* stress-ng: only defined TARGET_CLONES optimizations for x86-64
* stress-affinity: fix set affinity setting across all
stressors (LP: #1803322)
* stress-fault: add mmap failed resource checking, treat as non-fatal
* stress-tlb-shootdown: retry for ENFILE errors on mmap
* stress-udp: handle ENETUNREACH silently
* stress-vecmath: work around gcc breakage on ppc64el
-- Colin King <colin.king@canonical.com> Wed, 14 Nov 2018 13:01:57 +0000
stress-ng (0.09.45-1) unstable; urgency=medium
* Makefile: bump version
* Use alternative mmap strategy on last shared page if mprotect is
not available
* stress-dev: constify a char * function parameter, fixes warning
* stress-dev: fix warnings on non-Linux systems
* stress-dev: add 4.20 BLKGETZONESZ and BLKGETNRZONES ioctls
* stress-tsc: add supported handler for non-x86
* stress-rdrand: add supported handler for non-x86
* stress-ng: add extra non-accessible page at end of shared region
* thrash: assign return to variable and voidif
* stress-getrandom: check if system call is available before testing
* stress-cpu-online: ignore -EOPNOTSUPP failure, just keep on
exercising the sys interfaces
* stress-cpu-online: check if we can access sysfs file for updating
* stress-cpu-online: add root check before running the stress test
* stress-seccomp: add sanity check to see if SECCOMP_SET_MODE_FILTER
works (LP: #1801856)
* stress-dev: cache the scsi device names to reduce lookup overhead
* stress-dev: remove debug cruft
cache: turn macro MK_PATH to an inline'd static helper function
* stress-dev: add SCSI device checking
* stress-af-alg: handle ENOMEM failures on sendmsg (LP: #1801865)
* stress-pty: handle EIO failures on opening /dev/ptmx
* stress-loop: fix EBUSY error detection (LP: #1797544)
* cache: optimize MK_PATH macro, remove double strlen call
-- Colin King <colin.king@canonical.com> Fri, 9 Nov 2018 10:43:35 +0000
stress-ng (0.09.44-1) unstable; urgency=medium
* Makefile: bump version
* stress-dev: add HDIO_* ioctls
* stress-file-ioctl: add FIBMAP ioctl to file
* stress-dev: remove FIBMAP ioctl on device (LP: #1800609)
* log: use snprintf instead of sprintf, it is safer
-- Colin King <colin.king@canonical.com> Thu, 1 Nov 2018 11:45:01 +0000
stress-ng (0.09.43-1) unstable; urgency=medium
* Makefile: bump version
* stress-loop: check for specific loop ioctl commands
* mounts: cater for minix requiring statbufs for mount information
* stress-revio: ensure fiemap extent struct is zero'd (LP: #1798566)
* Add autodetection of linux/futex.h
* shim: revert back to checking if syscall is defined if calling via
syscall()
* test-pkey: also check if syscall is available
* Add checks for linux/membarrier.h and membarrier system call
* shim.c: update for KCMP and SYSLOG
* Add HAVE_GETCPU getcpu system call check
* test/test-fallocate: remove whitespace
* Add HAVE_FALLOCATE fallocate system call check
* Add HAVE_COPY_FILE_RANGE copy_file_range system call check
* Add HAVE_SYNC_FILE_RANGE to Makefile.config
* Add HAVE_SYNC_FILE_RANGE sync_file_range system call check
* stress-apparmor: make another aa_kernel_interface_replace_policy
failure an info message
* Add autobuild detection for pkey family of system calls
* stress-resources: use HAVE_USEFAULTFD check
* Use HAVE_LINUX_USERFAULTFD_H and HAVE_USERFAULTFD checks
* stress-apparmor: make aa_kernel_interface_replace_policy failure an
info message
* Use HAVE_SYS_EVENTFD_H and HAVE_EVENTFD checks
* Add sys/eventfd header detection
* Add HAVE_IOPRIO_{GET|SET}ATTR ioprio_{get|set}attr system call check
* Add HAVE_KEYCTL keyctl system call check
* Add HAVE_ADD_KEY add_key system call check
* Add HAVE_REQUEST_KEY request_key system call check
* stress-ng.h: re-order syscall checks alphabetically
* Add HAVE_SCHED_{GET|SET}ATTR sched_{get|set}attr system call check
* Add autobuild check and exercising of getdtablesize()
* test/test-mremap: voidify newbuf to avoid cppcheck warning
* test/test-ioport: return ret, fixes warning
* stress-loop: clean up cppcheck warning on clr_loop not being used:
* stress-kcmp: move slot to local scope
* ignite-cpu: reduce scope of buffer and cpu
* Add HAVE_KCMP kcmp system call check
* Add HAVE_REMAP_FILE_PAGES check in Makefile.config
* Add HAVE_SYSLOG syslog system call check
* Add autobuild detection of remap_file_pages
* Add HAVE_TGKILL tgkill system call check
* Add HAVE_{SET|GET}_ROBUST_LIST {set|get}_robust_list system call
check
* Add HAVE_GETTID gettid system call check
* Add HAVE_GETDENTS* check
* Add autobuild detection of unshare
* Add autobuild check for MLOCK2
* stress-revio: use shim_fdatasync
* Abstract fdatasync with a shim
* stress-getrandom: allow __APPLE__ as it provides getentropy
* Add autobuild detection of sys/memfd.h
* Add autobuild detection of memfd_create
* stress-get: use HAVE_LOOKUP_DCOOKIE check
* Add autobuild check for lookup_dcookie system call
* Use the autobuild config HAVE_SENDMMSG check
* Add autobuild detection of sendmmsg
* Makefile.config: minor cleanups
* Makefile.config: use more generic rules for checking
* Makefile.config: use generic have_test_prog rule for asm nop test
* Makefile.config: use generic have_test_prog rule for alignment build
checks
* Makefile.config: add and use generic have_test_prog rule
* stress-ng.h: re-order shim_ function declarations
* Add autoconfig check for execveat
* Move shim_execveat to main shim source
* README: Add Dilos to notes
* Makefile: use standard grep for dilos
* stress-sysbadaddr: make ro_page and rw_page void * rather than uint8_t
* stress-sigsegv: clean up warnings on older gcc on solaris
* stress-rmap: clean up warnings on older gcc on solaris
* stress-mmapaddr: clean up warnings on older gcc on solaris
* stress-vforkmany: cleans up warnings on older gcc on solaris
* stress-memthrash: make mem void * rather than uint8_t
* stress-madvise: make buf void * rather than uint8_t
* stress-bad-altstack: make stack pointer void * rather than uint8_t *
* stress-loop: add stress_loop_supported for non-linux platforms
* cache: minor change to comment block
* stress-loop: use HAVE_LINUX_LOOP_H build detection
* Makefile.config: check for linux/loop.h
* stress-loop: check for ioctl commands before using them
* Add loopback stressor
* stress-sysfs: work around race on TPM driver for Linux
-- Colin King <colin.king@canonical.com> Thu, 18 Oct 2018 14:09:17 +0100
stress-ng (0.09.42-1) unstable; urgency=medium
* Makefile: bump version
* stress-quota: abort early if we get EPERM errors (LP: #1796248)
* stress-get: fix check for HAVE_ADJTIMEX or HAVE_ADJTIME
* stress-pthread: work around broken pthread join that returns
ESRCH (LP: #1796249)
* stress-chroot: check for EINVAL for Haiku
* stress-link: disable link stressor for Haiku
* stress-get: disable a couple of rlimit types for Haiku
* stress-cpu: define expl as exp for Haiku as it's not yet defined
* Update README, add Haiku notes
* Makefile: add -lc for non-Haiku, and -lnetfork for Haiku
* helper: fix warnings on systems where strsignal returns const char *
* Add autodetection of nice
* Add autodetection of setpriority, fall back to using nice if we
don't have it
* stress-get: only declare is_root when required for adjtime* functions
* Add autodetection of adjtime
* stress-get: don't declare array priorities if getpriority does not
exist
* Add automatic detection of getpriority
* stress-fault: don't declare usage for Haiku
* stress-fault: don't print ruseage stats for Haiku
* stress-dev: disable for Haiku
* Add more info to README file
-- Colin King <colin.king@canonical.com> Fri, 5 Oct 2018 10:29:34 +0100
stress-ng (0.09.41-1) unstable; urgency=medium
* Makefile: bump version
* stress-dirdeep: clean up warning if O_DIRECTORY is not defined
* stress-dir: clean up warning if O_DIRECTORY is not defined
* stress-sysbadaddr: move ustat include to fix kfreeBSD build warnings
* Manual: update date
* Manual: update contributors list
* Fixed thermal zone use after free bug in multi-process test.
* thermal-zone: don't accumulate insane temperatures
* stress-*: make sure structs are packed more efficiently
* stress-dynlib: don't use if building a static image
* stress-quota: keep if/else codestyle consistent
* stress-sctp: break up declaration + assignment
* stress-resources: add pkey alloc/free resource consumer
* stress-numa: add in extra brackets to match coding style
* stress-matrix: fix comment, not cpu stressor but matrix stressor
* stress-kcmp: prefix kcmp consts with SHIM_ to avoid name clashes
* syscalls.txt: add pkey_* and renameat* syscalls
* stress-rename: use renameat2 system call if available
* stress-rename: use renameat system call if available
* Add autoconfig detection of renameat system call
* Add autoconfig detection of renameat2 system call
* Move pkey shims to shim.c
* stress-pkey: add pkey memory protection thrash stress test
* stress-enosys: add pket_get and pkey_set
* stress-enosys: Add io_pgetevents
* stress-enosys: add rseq system call
* stress-dirdeep: add directory data sync'ing for more stress
* stress-dir: add directory data sync'ing for more stress
* stress-*: replace fsync with shim_fsync
* Add shim helper for fsync, helps with no-op OS X fsync
-- Colin King <colin.king@canonical.com> Wed, 26 Sep 2018 12:00:01 +0100
stress-ng (0.09.40-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* log: cast fractions of seconds to long
* stress-get: move timex declarations to HAVE_ADJTIMEX block statement
* Use HAVE_MREMAP check for mremap system call
* Add autobuild test for mremap system call
* stress-malloc: use HAVE_MALLOPT check for threshold variable
* stress-malloc: use HAVE_MALLOPT check for mallopt glibc function
* Add mallopt glibc function autodetection
* stress-ioport: fix check on HAVE_IOPORT and not IOPORT
* stress-ioport: use HAVE_IOPORT check for ioport system call
* Add autobuild test for ioport system call
* stress-inode-flags: build valid stressor if specific ioctl flags are
defined
* stress-get: use HAVE_PRLIMIT check for prlimit system call
* Add autobuild test for prlimit system call
* stress-get: use HAVE_ADJTIMEX check for adjtimex system call
* Add autobuild test for adjtimex system call
* stress-get: move locals to block statements
* stress-sysbadaddr: use autodetection config for getresgid and
getresuid calls
* stress-get: use autodetection config for getresgid and getresuid
calls
* Add autobuild checks for getresgid and getresuid
* README: update dependencies information
* stress-sysfs: exercise each sysfs for a specific time or number of
iterations
* Add shim_usleep_interruptible, an interruptible usleep
* stess-sysfs: exercise each sysfs file for a 1/25 of a second
* stress-sysfs: improve draining control in threads
* Add .gitignore
* stress-sysfs: back off pthreads when kernel log spamming is detected
* manual: fix typo: multiple -> multiply
* stress-sysfs: close file if we have messages that needed draining
* Add bad alternative stack stressor
* stress-procfs: free directory entries, fixes memory leak
* stress-dirdeep: free directory entries, fixes memory leak
* stress-dev: free directory entries, fixes memory leak
* stress-sysfs: free directory entries, fixes memory leak
* stress-sysfs: skip over sysfs files that produce a lot of kernel
spamming
* Add more info in the README file
-- Colin King <colin.king@canonical.com> Wed, 12 Sep 2018 17:11:11 +0100
stress-ng (0.09.39-1) unstable; urgency=medium
* Makefile: bump version
* stress-hdd: add yield points
* stress-dev-shm: add an extra yield point
* stress-bigheap: add an extra yield point
* stress-af-alg: add more yield points
* tests: fast-test-all: add timestamp to log output
* stress-fiemap: wrap overly wide #if defined checks
* stress-enosys: add address passing args
* Replace loop variable i with j
* Fix typo in comment 9 -> 0
* stress-zlib: add comment, remove two white spaces
* stress-zlib: add zlib-level compression level and zlib rate stats
* Add timestamp to log with --timestamp option
* Add -pipe to CFLAGS, speeds up build by a few seconds
* Makefile: remove -Wabi on pedantic builds
* Replace int type with int32_t on loop counters
* Rename macro argument lower_name to name
* Manual: add Khem Raj to contributors name list
* TODO: Add restartable sequencues
* stress-chown: be less fussy about -EPERM failures
* stress-get: ignore EINVAL on getgroups failures
* stress-get: ignore EINVAL on getpriority failures
* stress-af-alg: check for EBUSY bind failures
* stress-stackmmap: simplify SEGV handling using a child process
* stress-mmapfixed: don't be so verbose about SIGSEGVs on fixed mmaps
* stress-sysfs: add check for some broken sysfs files
-- Colin King <colin.king@canonical.com> Tue, 4 Sep 2018 11:36:21 +0100
stress-ng (0.09.38-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: ensure fast-test-all and slow-test-all build with config
* stress-fork: print correct fork/vfork name on an error
* stress-fork: don't throw error on EAGAIN or ENOMEM (LP: #1788385)
* stress-sysfs: add SEGV detection and abort
* stress-funccall: make deep calls perform more stack work
* stress-fiemap: remove blank line
* stress-dir: rename d_reclen to d_namlen for DragonFly BSD
* stress-dev: clean up overly wide function prototypes
* stress-dccp: make loop iterator size_t
* stress-mmap: move } outside #if #endif, fix *BSD build error
* stress-chdir: remove blank line
* stress-access: remove empty line
* stress-ng: don't enable TARGET_CLONES for musl
* stress-ng: don't exit a failure if no stressors are run when some
are not supported
* stress-dnotify: check if dnotify is supported by linux kernel
* stress-access: make bool is_root const
* stress-access: make struct fields const
* stress-mmap: add hole punching to mmap'd file
* ignite-cpu: remove extraneous debug
* Manual: add note about using --timer-slack 0 for high freq timers
-- Colin King <colin.king@canonical.com> Thu, 23 Aug 2018 16:54:53 +0100
stress-ng (0.09.37-1) unstable; urgency=medium
* Makefile: bump version
* snapcraft: add stage packages and build with hardening settings
* stress-chown: cater for OpenBSD chown returning 0 and errno being set
* stress-zlib: don't report write failure if errno == 0
* stress-fp-error: relax checking for pre glib 4.8
* Add voidifications on ignored function returns
* ignite-cpu: set freq governor and restore settings at end
* ignite-cpu: try and set max cpu frequency scaling setting
* cache: add G size specifier
* Makefile: check for GNU/kFreeBSD and set __FreeBSD_Kernel__
* stress-sysbadaddr: only use ustat if HAVE_USTAT is defined
* stress-ng.h: rename statx_timestamp to shim_statx_timestamp
-- Colin King <colin.king@canonical.com> Mon, 13 Aug 2018 13:58:57 +0100
stress-ng (0.09.36-1) unstable; urgency=medium
* Makefile: bump version
* stress-schedpolicy: ignore EINVAL on non-POSIX policies
* mungify _ to - on stressor name before calling the stressor
* stress-seek: disabled SEEK_HOLE and SEEK_DATA for OS X
* stress-fp-error: relax checking on non-Linux systems
* stress-schedpolicy: skip FIFO if sched_get_priority_min/max return -1
* stress-mknod: fix cut-n-paste error on struct stress_info_t
* stress-fp-error: be less pedantic with errno checks on non-Linux systems
* stress-mknod: disable this for non-Linux systems
* stress-affinity: check that process can set CPU affinity
* stress-access: remove AT_SYMLINK_NOFOLLOW, it is not needed
* stress-vm-segv: remove some old commented out debug text
* stress-vm-segv: retry on ENOMEM on fork
* stress-vm-segv: make child process non-dumpable
* test/test_modify_ldt: fail for no-x86 architectures
* stress-cpu: compute geometric mean by split mantissa and exponent method
* stress-fork: turn warnings off around vfork and not fork
* stress-dentry: fall back to using fcntl if flock is not available
* Turn off warnings around vfork calls
* Makefile: "SunOS" should be SunOS and not quoted in if statement
* Makefile: check for SunOS to use non-default grep for -e capability
* stress-dentry: don't flock the entry if we don't have flock flags
-- Colin King <colin.king@canonical.com> Thu, 2 Aug 2018 14:39:41 +0100
stress-ng (0.09.35-1) unstable; urgency=medium
* Makefile: bump version
* stress-file-ioctl: check size against stat buf size
* stress-file-ioctl: remove redundant buffer
* stress-file-ioctl: print differences in sizes on error of
FIOQSIZE ioctl
* stress-sysfs: use shim_ spinlock type rather than direct structure
* perf: use shim_ spinlock rather than direct call
* stress-procfs: use shim_ spinlock rather than direct call
* stress-procfs: use shim_ spinlock rather than native call
* stress-dev: use shim spinlock rather than native call
* stress-dccp: skip stressor if DCCP protocol not supported
* stress-af-alg: return EXIT_NOT_IMPLEMENTED if protocol is not
supported
* rename set_cpu_affinity to stress_set_cpu_affinity
* Update comment relating to stressor names
* Make stressor command options match 1-to-1 with info and function
names
* Re-work STRESSOR macro so that we don't need upper case name anymore
* Make stressor names with OPT_ options match
* Make stressor names with stressor #defines match
* Add more comments and make index i a size_t
* Add helper to mlock stress-ng into memory
* stress-procfs: use copy of proc_path and set to empty string rather
than NULL
* stress-dev: use copy of dev_path and set to empty string rather
than NULL
* stress-sysfs: copy sysfs_path while locked into path
* stress-sysfs: don't nullify sysfs_path, set it to empty string and
lock it
* stress-personality: don't verify personality setting, it does not work
* stress-sysfd: temporarily disable read access fstat error
* rename snapcraft directory to snap
-- Colin King <colin.king@canonical.com> Fri, 20 Jul 2018 12:19:44 +0100
stress-ng (0.09.34-1) unstable; urgency=medium
* Makefile: bump version
* Ensure all fail log messages set the error to EXIT_FAILURE
* Manual: update contributors list
* stress-opcode: make child process non-dumpable
* Add bcd and utf8 zlib data methods to manual
* stress-zlib: add 8 bit UTF-8 data stream
* stress-zlib: put BCD data as bytes not 32 bit words
* stress-zlib: add bcd data mode
-- Colin King <colin.king@canonical.com> Mon, 16 Jul 2018 23:50:22 +0100
stress-ng (0.09.33-1) unstable; urgency=medium
* Makefile: bump version
* stress-pty: make open failure on ENOMEM non-fatal
* stress-sockpair: handle EPERM error on read gracefully
* stress-quota: don't count a pass as a failure
* stress-quota: add some ESRCH failure debug info
* stress-quota: don't fail if file system does not enable quota
* stress-socket: don't make ECONNRESET on recv fatal
* stress-spawn: skip if run as root
* stress-spawn: fix comment
* stress-vm: only declare stress_set_vm_flags if it is required
* cache: remove unused function get_cache_name
* stress-iomix: only declare stress_iomix_inode_ioctl when it is
required
* stress-sleep: remove sleep-max-adjustment handler
* stress-pthread: remove pthread-max-adjustment handler
* stress-unshare: only declare check_unshare when it is really
required
* stress-file-ioctl: only declare check_flag when it is really
required
* stress-dev: declare ret only for when it is used
* stress-chroot: sanity check for ENOENT as a false positive
* Add a slow-test-all make rule to perform more exhaustive testing
* stress-dentry: remove redundant args argument
* Add ptrace build autodetection
* Update copyright year to 2018 in some odd files
* Remove trailing space and tabs from end of lines
* ignite-cpu: set process name to stress-ng-ignite
* thrash: use the pagein method of forcing pages back into memory
* thrash: add ksm memory merging (Linux only)
* thrash: add kernel memory compaction (Linux only)
* stress-dentry: add some misc operations on a directory fd
* stress-dentry: add lookup failures to exercise directory searching
* Add a watchdog stressor
* stress-kill: add some early delay to give parent time to spawn
stressors
* stress-rtc: add select on RTC device
* stress-netlink-proc: fix build with kernel v3.9
* stress-context: rename uc_link to uctx_link
-- Colin King <colin.king@canonical.com> Thu, 5 Jul 2018 16:46:12 +0100
stress-ng (0.09.32-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: add .travis.yml to make dist rule
* stress-dev-shm: reduce scope of variable ret
* stress-fstat: add yield point to get lower-latency in stopping
* stress-dev-shm: handle interrupted wait to fix utime accounting
* stress-dev-shm: use shim_fallocate for older kernels that don't
support it
* stress-pthread: don't block threads from SIGALRM for DragonFly BSD
* stress-pthread: don't block threads from SIGALRM for OS X
* stress-fstat: don't block threads from SIGALRM for OS X
* stress-dev: skip devices that are not standard chr or blk devices
* Check for chr or blk device using S_ISCHR/S_ISBLK
* Fall back to mutexes instead of spinlocks for OpenBSD
* stress-iomix: make kill and wait into two phases
* stress-msg: add extra yield points for prompt death of children
* stress-msg: add yielding to boost performance and help NetBSD
* shim: make FreeBSD use the emulated fallocate for the moment
* stress-zlib: constify data, cleans up clobbering warning
* stress-dev-shm: close fd on exit
* stress-sigpipe: move declaration of sigpipe_count
* Add /dev/shm memory stressor
* stress-dev: remove duplicated BLKSSZGET ioctl
* stress-cyclic: reformat table contents
* stress-clock: add 4.17 CLOCK_MONOTONIC_ACTIVE clock
* stress-mmapfixed: add new 4.17 MAP_FIXED_NOREPLACE flag
* stress-matrix: only print matrix method on first stressor instance
* stress-matrix: add more yield points for snappier exits
* stress-socket-fd: remove debug message
* stress-socket-fd: add more yield points on fd recv and closing
* stress-sctp: handle failures more gracefully, retry rather than
abort
* stress-cpu: Add LIKELY hint on callfunc stressor, speeds up
by ~0.8%
* stress-cpu: optimize primes a little further
* Add UNLIKELY hint on sqrt stressor, speeds up by ~3%
* stress-cpu: add UNLIKELY hint on hanoi zero depth
* stress-ng: call free_settings to fix memory leak on process exits
* cache: fix removed assignment to cpu count and make buffer larger
* cache: use sizeof types to fix segfault
* helper: put PRAGMAs around function rather inside function
* Use trusty dist in travis
* Force disabling of warnings on older versions of gcc
* Add travis build yaml
* stress-ng: rename abort to do_abort to avoid shadowing of global
function abort
* stress-zlib: rename rand to rnd to avoid shadowing with global
function rand
* stress-zlib: rename index to idx to avoid shadowing with global
function index
* stress-utime: rename times to timevals to avoid shadowing with
global function times
* stress-sigpending: rename sigset to _sigset to avoid shadowing of
global sigset
* stress-rtc: rename alarm to wake_alarm to avoid shadowing with
function alarm
* stress-rawdev: rename function shift to shift_ul
* stress-link: remove need for symlink argument
* rename acct to account to avoid shadowing with function acct
* stress-fanotify: rename mount to mnt to avoid shadowing with
function mount
* rename times to timespec to avoid shadowing with global function
times
* stress-dev: rename stat to vt_stat to avoid shadowing with
function stat
* stress-cpu: rename gamma to _gamma to fix shadowing with
function gamma
* stress-context: rename link to uc_link to avoid shadowing with
function link
* stress-branch: rename index to _index inside macro to avoid
global shadowing
* Rename mount to mnt to ensure we don't shadow global function
mount
-- Colin King <colin.king@canonical.com> Wed, 27 jun 2018 19:12:17 +0100
stress-ng (0.09.31-1) unstable; urgency=medium
* Makefile: bump version
* cache: fix out of bounds access and potential null pointer
dereferences
* cache: fix various warnings when building with gcc-8.1.1
* stress-memfd: fix build warning on whence not being used
* Makefile.config: add detection for APPARMOR_PARSER failures
* perf: Add some more SW perf events
* Makefile: fix perf HW events, need to pick up $(CFLAGS)
* stress-matrix: add a square product matrix method
* Ensure apparmor binary data is removed
* Add extra sanity checking for apparmor builds
* stress-mmapaddr: use correct signal handler
* Re-order message queue stressor, it's not in the correct place
* stress-timerfd: reduce scope of buffer
* stress-efivar: reduce scope of varname and guid_str
* stress-chdir: remove hard coded chdir_dirs setting
* stress-rmap: child should _exit rather than return on error
* stress-zlib: add a zero block data method
* stress-sigfpe: just clear siginfo.si_code field
* stress-sigfpe: use assignment rather than memset to zero siginfo
* stress-timerfd: remove shadowed declaration of ret
* stress-sigfpe: remove shadowed declaration of ret
* Don't exit child sub-processes with exit() (LP: #1777564)
* stress-inotify: fix various gcc-8 warnings
* stress-sysbadaddr: pass non-aliased addresses to system calls
* stress-filename: clean up gcc 8.1 warning
* stress-fanotify: clean up gcc warning
* Clean up gcc-8 warning by making filename 5 chars smaller
-- Colin King <colin.king@canonical.com> Thu, 21 jun 2018 14:38:18 +0100
stress-ng (0.09.30-1) unstable; urgency=medium
* Makefile: bump version
* stress-socket: fix build warning if FIONREAD is not defined
* Add sanity check that child stressor processes are not calling exit()
* stress-sigio: don't exit in sighandler; return back normally
* stress-utime: fix failing utimes and futimens calls
* stress-memcpy: fix clobbering of stats data when copying b_str
* stress-shm: perform extra file operations on shm file descriptor
* Add new real time signal stressor, sigrt
* stress-sigsegv: add some verification checking
* stress-access: voidify return from umask
* stress-splice: remove variable bytes, replace with ret
* stress-apparmor: add a few more yield points
* stress-fifo: retry on select timeout rather than terminate
-- Colin King <colin.king@canonical.com> Fri, 15 jun 2018 16:52:25 +0100
stress-ng (0.09.29-1) unstable; urgency=medium
* Makefile: bump version
* Manual: fix spelling mistakes and update date
* stress-sigfpe: remove need for fp_zero
* stress-sigfpe: cater for systems without SA_SIGINFO
* stress-socket: fix warning on unused variable ret
* stress-sigfpe: remove feenableexcept, it is extraneous
* stress-sigfpe: fix verify mode, match exception with error code
* stress-sigfpe: zero siginfo struct
* stress-apparmor: kill child processes aggressively
* stress-sigfpe: reset fp exception states to fix math issues
* stress-apparmor: add more yield point checking
* Makefile.config: move pthread library to end to fix static linking
issues
* Fix typo in manual, --mmapfixedA-ops -> --mmapfixed-ops
* stress-sigfpe: force more fpe exceptions, exercise handler more
* stress-socket: use TCP_QUICKACK if available
* stress-socket: add FIONREAD size peeking
* stress-userfaultfd: exercise /proc/$pid/fdinfo/$timerfd proc file
* stress-timerfd: exercise /proc/$pid/fdinfo/$timerfd proc file
* Rename g_terminate_signum to terminate_signum and make it static
* Renaming symbols to indicate they are used in process termination
* Remove some unused old struct typedefs
* Make some functions static
* Deconstify some const pointers (ughh)
* Add deconstifier helper.
* remove redundant and shadowing variable ret
* stress-dccp: add missing ,
* Move the class info into the stressor_info_t for each stressor
* Rename class_t to class_info_t
* stress-cpu: fix bitops checksum
* stress-access: fix build warning on Solaris with %o on mode_t
* stress-memthrash: restore accidentally removed function
stress_set_memthrash_method
* stress-mergesort: fix missing {
* affinity: fix prototype of set_cpu_affinity
* stress-cyclic: fix build warning on non-linux systems
* Point to stress_not_implemented rather than wrapping each time
* Add stressor_info_t for stress specific info
* Clean up optarg handling, make it more table driven
* Revert Add pr_* logging sleepy locks (LP: #1774571)
* Add pr_* logging sleepy locks
-- Colin King <colin.king@canonical.com> Fri, 8 jun 2018 11:30:00 +0100
stress-ng (0.09.28-1) unstable; urgency=medium
* Makefile: bump version
* stress-zlib: rename variable i to j to fix variable shadowing
warning
* stress-prctl: make function stress_prctl_child static
* stress-fanotify: remove shadow'd declaration of ret
* stress-access: remove redundant declaration of ret
* stress-sysbaddaddr: fix indenting
* stress-flock: fix indenting
* stress-enosys: fix indenting
* test/test-modify-ldt: return ret to stop clang warning
* test/test-pselect: make rfds, wfds static, stop clang warnings
* stress-clone: put statements of if block in { }
* stress-shm-sysv: voidify return from shmctl call
* stress-prctl: voidify return from prctl system call
* stress-clone: voidify return from modify_ldt system call
* stress-iomix: fix early termination due to incorrect bogo ops
comparison
* Manual: update thread information for memthrash stressor
* stress-memthrash: add warning and hint about sub-optimal stressor
choice
* stress-af-alg: fix errno = ENOENT assignment, should be == comparison
* stress-set: add autodetect for setregid, setresgid, setresuid,
setreuid
* stress-af-alg: skip over ciphers that may not exist
* stress-af-alg: make ENOKEY a non-critical failure
* stress-af-alg: forgot to add in \n
* stress-af-alg: expand error message to capture more information
* stress-shm-sysv: add exercising for SHM_SET for linux only
* stress-shm-sysv: add SHM_LOCK/SHM_UNLOCK commands
* stress-mq: POSIX mq on linux allows one to read MQ status, add this
* stress-af-alg: add crc32c
* syscalls.txt: update swapon/swapoff info
* stress-hsearch: fix spelling mistake in comment
* syscalls: update statx and umount system calls
* stress-chown: add lchown system call
* stress-xattr: exercise the filename based xattr system calls
* stress-pthread: use tgkill and gettid system calls
* syscalls: mark tkill as obsolete
* syscalls: ignore ugetrlimit
* stress-hdd: use truncate as well as the ftruncate
* syscalls: add update to setsid
* stress-set: add setsid call
* stress-efivar: fix error return in efi_get_variable
* split mlocked region into mlocked text segment and mlocked data segment
* stress-ng.h: add empty macro definitions for ALIGNED and SECTION
* stress-efivar: add ioctl and fstat exercising on efivar fd's
* test/test-setpgid: don't pass -ve args
* stress-set: voidify returns to discard warnings
* Add set stressor
-- Colin King <colin.king@canonical.com> Fri, 25 May 2018 16:18:12 +0100
stress-ng (0.09.27-1) unstable; urgency=medium
* Makefile: bump version
* Remove empty end lines from debian/control, debian/changelog
* stress-filename: set rc to EXIT_SUCCESS if we get a timeout on again
loop
* stress-chdir: only use O_DIRECTORY if it is supported
* stress-xattr: remove need to #include <xattr/xattr.h>
* stress-utime: only declare ts when required
* stress-utime: don't use UTIME_NOW or UTIME_OMIT if they are not
defined
* stress-pthread: exercise set_robust_list linux system call
* stress-zlib: fix parity data generator
* Add build-time check for faccessat
* Add new access/faccessat stressor
* stress-zlib: reorder rand_data_funcs and add in missing funcs
* stress-zlib: Add sweep sin wave double prevision data
* Add parity bit data zlib method
* stress-cpu: fix parity sum check
* syscalls.txt: fix up utimensat
* stress-utime: add utimensat system call
* Add build check for utimensat
* stress-efivar: keep track of bad efivars and don't re-read them
* stress-ng.h: forgot to include <asm/ldt.h> when HAVE_MODIFY_LDT is
defined
* Update modify_ldt syscall
* stress-clone: add modify_ldt call
* Add build time check for modify_ldt
* Update syscall.txt with latest syscall additions
* stress-pthread: exercise setns()
* stress-clone: exercise setns()
* Add build time check for setns
* syscalls.c: add fchdir
* stress-chdir: add fchdir syscall
* stress-zlib: add pink noise data generation method
* stress-bind-mount: don't clone signal handlers in clone child
* stress-bind-bound: respawn process to handle limit on bind mounts
* Add a EFI variable reading stressor
* Add prctl stressor
* stress-ng.h: don't allow both HAVE_SYS_XATTR_H and HAVE_ATTR_XATTR_H
* Forgot to commit changes to Makefile.config
* xattr: autodetect for different xattr paths attr/xattr.h and
sys/xattr.h
* stress-dev: add BLKSECTGET ioctl
-- Colin King <colin.king@canonical.com> Mon, 14 May 2018 14:31:12 +0100
stress-ng (0.09.26-1) unstable; urgency=medium
* Makefile: bump version
* Remove TARGET_CLONES on some functions that break on gcc 7.2 on
kFreeBSD
* Use nanosleep where possible for usleep, add nanosleep check
* stress-dev: move wfds to select local scope to fix NetBSD warning
* stress-dev: NetBSD hangs on select on some devices, so disable this
* stress-dev: pass child failure status to parent
* stress-dev: fix warning on char being passed to isdigit on NetBSD
* stress-dev: NetBSD uses different sorting prototype
* stress-sigio: don't do fcntl F_SETOWN for minix, it always fails
* stress-sigio: fix hang in *BSD systems when we SIGALRM not handled
* stress-sigio: exit in sighandler to force earlier termination
* stress-sigio: add yield points to break out of heavy looping
* shim: cater for systems that don't have mlock
* stress-utime: check HAVE_FUTIMENS for declaration of ts
* test/test-mq-posix: mq_* is defined but not implemented on kfreeBSD
* test/test-syncfs: syncfs is defined but not implemented on kfreeBSD
* stress-dirdeep: use HAVE_FUTIMENS
* Makefile.comfig: fix typo in funtimens
* test/test-futimens: check also for UTIME_NOW and UTIME_OMIT
* Add build time check for futimens
* test/test-dup3: trigger failure with FreeBSD kernel
* stress-zlib: fix longjmp clobber warnings on data
* stress-revio: make alloc_buf void * to avoid type punning warnings
on gcc 3.4.3
* stress-hdd: make alloc_buf void * to avoid type punning warnings on
gcc 3.4.3
* Add shim wrapper for mlock for Solaris compat reasons
* stress-fanotify: peek into number of bytes to be read with FIONREAD
* stress-crypt: include <crypt.h> if on Solaris
* stress-enosys: avoid warning on unused procs on Solaris
* stress-sysbadaddr.c: avoid warning on unused procs on Solaris
* stress-sysbadaddr.c: include termios.h for TCGETS
* stress-vm-segv: remove debug, it is spamming the output
* stress-sysbadaddr: don't use ustat if it is not defined
* stress-sysbadaddr: ensure we have PTRACE_GETREGS defined
* Workaround failing pthread spinlock on DragonFly BSD
* stress-dev: add /dev/null nop to have at least one item in table
* stress-wait: use HAVE_WAITID to check for waitid() call
* stress-sysbadaddr + Makefile.config: Add HAVE_WAITID check
* stress-sysbadaddr: fix conditional build on bad_clock_gettime
* stress-sysbadaddr: use mincore shim to fix build on GNU/Hurd
* stress-sysbadaddr: ensure TCGETS is defined
* stress-file-ioctl: fix a file handle leak
* Add sysbadaddr stressor to exercise system call bad address handling
* stress-mmap: use new MAP_FIXED_NOREPLACE flag introduced in 4.17
* stress-clock: add CLOCK_MONOTONIC_ACTIVE that was added to Linux 4.17
* stress-oom-pipe: Explicitly drop capabilities to make root spawned
processes more OOMable
* Explicitly drop capabilities to make root spawned processes more
OOMable
* helper: remove some blank lines
* stress-dev: add linux stress for /dev/{mem|kmem|port|kmsg}
* stress-vm-segv: don't assume max size of size_t
* stress-vm-segv: ensure we force SEGVs by invalidating I$ cache
* Add --vm-segv option to force SEGVs on unmapping
* stress-fork: make it more OOMable
* stress-clone: make clone'd procs OOMable
* make main process less likely to be OOM-able
* snapcraft: add libsctp-dev
* stress-tree: rename BSD trees to fix build error on OpenBSD 6.3
-- Colin King <colin.king@canonical.com> Fri, 27 Apr 2018 15:59:11 +0100
stress-ng (0.09.25-1) unstable; urgency=medium
* Makefile: bump version
* stress-ng: don't enable TARGET_CLONES for kFreeBSD (LP: #1765050)
* stress-enosys: avoid calling vhangup with upper bits set (LP: #1757967)
-- Colin King <colin.king@canonical.com> Wed, 18 Apr 2018 15:25:51 +0100
stress-ng (0.09.24-1) unstable; urgency=medium
* Makefile: bump version
* Misc small fixes detected by static analysis (LP: #1762848)
* stress-fcntl: use | rather than |= to get new_flags
* stress-tmpfs: clear mnts and check if mnts[i] is null
* stress-sync-file: fix incorrect placement of break statement
* stress-af-alkg: check for more NULL cmsg pointers
* stress-pipe: ensure no uninitialized data is written to pipe
* stress-fcntl: use | rather than |= to get new_flags
* test/test-posix-memalign.c: free allocated buffer
* test/test-fanotify.c: free buffer
* stress-mmapfailed: check for null return from mremap
* stress-af-alkg: check for NULL cmsg
* stress-resources: don't open on a null slavename
* stress-sysinfo: ensure mnts array is zero'd
* stress-cpu: make loop index in jenkin func size_t to fix overflow
* stress-vm: don't loop forever in child sleep loop
* ignite-cpu: don't wait for parent to kill loop, add timeout
check too
* Double number of stressor processes up to 8192
* Add stream-index indexing option
* Make some settings global to fix args confustion
-- Colin King <colin.king@canonical.com> Wed, 11 Apr 2018 09:58:44 +0100
stress-ng (0.09.23-1) unstable; urgency=medium
* Makefile: bump version
* cache: revert using shim_str* funcs (LP: #1759515)
Using the shim_* str functions breaks the cache globbing paths,
so for now, revert these.
-- Colin King <colin.king@canonical.com> Wed, 28 Mar 2018 10:40:10 +0100
stress-ng (0.09.22-1) unstable; urgency=medium
* Makefile: bump version
* stress-mmap: add extra checking on fd, don't do I/O on -ve fd
* out-of-memory: ensure buffer is null-terminated
* out-of-memory: move non-linux variant of process_oomed
* out-of-memory: detect if a stressor was killed by the OOM killer and
don't mark it as a strict stressor failure (LP: #1755245)
* stress-mmap: add missing I/O to/from mmap'd buffer on mmap'd address
* stress-ng.h: fix missing perf option (LP: #1758383)
-- Colin King <colin.king@canonical.com> Fri, 23 Mar 2018 16:44:47 +0000
stress-ng (0.09.21-1) unstable; urgency=medium
* Makefile: bump version
* stress-dir: clean up warning on args on DragonFly build
* stress-dir: skip the sanitycheck on DragonFly BSD
* stress-rawdev: reduce the scope of 'ret'
* stress-mmapaddr: reduce the scope of 'ret'
* stress-mcontend: reduce the scope of variable 'cpu'
* stress-matrix: remove redundant initialization of a to NULL
* stress-filename: reduce scope of variable d
* stress-enosys: declare variable lim when only required
* stress-dev: make 'ret' local to ioctl test block scope
* Makefile.config: fix epoll_create build checking
* stress-ioprio: check for systems that don't support pwritev
* shim: overlooked another fallocate glibc call to fixup
* shim: use syscall to call fallocate, older glibc may not support it
* perf: cater for systems that don't support linux/perf_event.h
* stress-urandom: workaround __u32 definitions in pre-2.6.29 kernels
* stress-epoll: detect if epoll_create1 exists
* stress-netlink-proc: don't use PROC_EVENT_SID in kernels earlier
than 2.6.31
* Add detection for linux/fiemap.h
* test/test-librt.c: reorder functions in alphabetical order
* stress-dirdeep: use shim_strlcat instead of strlcat
* Replace strncat with safer strlcat
* Add shim version of strlcat
* Replace strncpy with safer strlcpy
* Add shim and implementation of shim_strlcpy()
* stress-dev: ensure we don't have a non-null terminated filename
* stress-dev: don't sync on fd when open failed
* stress-ng.h: check for spin lock failure
* stress-dev: add #ifdef around stress_dev_tty
* stress-dev: add #ifdef around struct termios tios declaration
* stress-dev: remove gettid, only used during debug on linux
* stress-dev: remove debug
* stress-dev: randomly mix up device path scanning, limit to max 3 of
same device
* stress-dev: add missing /dev/random ioctl handling
* stress-dev: add some Linux SCSI ioctls for block devices
* stress-file-ioctl: fix missing #if / #endif around shim_fallocate
* stress-procfs: mix up path name order to get a better spread
* stress-sysfs: mix up path name order to get a better spread
* stress-xattr: add missing setxattr and lsetxattr system calls
* stress-utime: add NULL utimes time and non-nul utime parameters
* stress-dir: add missing readdir() exercising
* stress-file-ioctl: add missing FIDEDUPERANGE ioctl
* stress-file-ioctl: exercise FS_IOC_RESVSP64
* stress-fcntl: ensure F_OWNER_GID is being exercised
* stress-get: add Linux lookup_dcookie call
* stress-dev: exercise tty ioctls on devices
* stress-file-ioctl: disable FIFREEZE/FITHAW filesystem ioctls
* test/test-ustat.c: ustat will fail on __arch64__, so don't enable it
* stress-enosys: add extra paranoid check on reboot syscall check
* stress-enosys: ensure all known syscalls are added to hash
table (LP: #1755358)
* Makefile.config: add -Wextra build check on ustat
-- Colin King <colin.king@canonical.com> Wed, 21 Mar 2018 12:59:58 +0000
stress-ng (0.09.20-1) unstable; urgency=medium
* Makefile: bump version
* stress-procfs: remove debug (LP: #1755552)
* stress-madvise: fix build issue for HPPA (LP: #1755551)
* stress-dev: add missing FIBMAP to block dev stressor
* Fix missing stressors in mini-help and re-order some
* Remove duplicated "futex" stressor from stressor table
-- Colin King <colin.king@canonical.com> Tue, 13 Mar 2018 17:58:49 +0000
stress-ng (0.09.19-1) unstable; urgency=medium
* Makefile: bump version
* stress-cyclic: fix typo in time measurement, us should be ns
* stress-enosys: add checks on RLIMIT_* macros
* bump target_clones attribute to gcc 5.5
* stress-mcontend: don't msync if it is not available
* Disable target_clones attribute on GNU_HURD
* stress-procfs: make stressor more stressful, less thread spawning
* stress-enosys: wider sanity checks for fork/vfork/cloning (LP:#1753705)
* Forgot to add test/test-personality.c
* stress-enosys: try to limit fork run-away (LP:#1753705)
* Add personality autoconfiguration detection
* stress-mcontend: fix non-Linux build
* stress-cpu: fix clang build error
* Add new mcontend memory contention stressor
* stress-af-algo: add a couple more crypto module tests
* Add GCC-5 target_clones attribute
* stressors: use the new cpu_is_x86 helper
* Add cpu.c and cpu_is_x86 cpu detection helper
-- Colin King <colin.king@canonical.com> Mon, 12 Mar 2018 10:30:58 +0000
stress-ng (0.09.18-1) unstable; urgency=medium
* Makefile: bump version
* stress-sysfs: sysfs_path does not need to be marked as volatile
* stress-flock: make function stress_flock_child static
* stress-dev: pass thread data using pthread_args_t context
* stress-dev: rename ret to wret to fix variable shadowing
* stress-seal: don't redefine MFD_ALLOW_SEALING
* test/test-ustat: fail for GNU/HURD, it is not implemented
* helper: use sz only in scope that requires it
* stress-fcntl: fix build error in do_fcntl
* Pass SHIM_PTHREAD_PROCESS_SHARED rather than 0 as flags arg
to shim spin lock init
* stress-dev: Fix compat shim build warnings on OS X
* stress-dev: use abstracted pthread spinlock for portability sake
* syscalls.txt: add getpagesize
* stress-get: use getpagesize if it is available
* helper: use getpagesize() for legacy systems without sysconf
* Add automatic build getpagesize detection
* stress-exec: where possible, use execveat() as well as execve()
* syscalls.txt: add epoll_create and epoll_pwait to syscall table
* stress-epoll: use epoll_create and epoll_pwait to get more coverage
* stress-sock: use accept4 to add more system call coverage
* stress-dev: add some block specific ioctls
* stress-dev: add more seeking and shared memory mapping
* syscalls: add ustat
* stress-sysinfo: add legacy ustat() system call
* Update syscalls log
* stress-poll: add ppoll and pselect calls to add more stress coverage
* stress-dev: make stressor more stressful, less thread spawning
* stress-sysfs: only stress sysfs if spinlock succeeded and bump counter
* stress-sysfs: remove redundant null check on path
* stress-sys: make stressor more stressful, less thread spawning
-- Colin King <colin.king@canonical.com> Wed, 28 Feb 2018 16:26:38 +0000
stress-ng (0.09.17-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* stress-rawdev: make some functions static
* stress-funcall: fix -Wmissing-declarations warning message
* stress-file-ioctl: remove extraneous shadowed variable 'ret'
* stress-madvise: make ret non-clobberable for gcc 4.2.1
* Add minimum GCC version for Pragma push/pop
* shim: older gcc required pragmas outside of functions
* stress-enosys: older gcc required pragmas outside of functions
* Check for clang version when using pragmas
* stress-file-ioctl: remove debug printf
* Add new file-ioctl stressor
* shim: disable warnings for brk and sbrk for OS X
* Swap ordering on compiler detection on pragmas
* stress-enosys: turn off warning on syscall, cleans up OS X warning
* Add no warning pragma macros
* Makefile: force sync after build in case reboot loses executable
* stress-enosys: add syscall7 shim
* stress-dirdeep: only print info message on instance #0
* stress-enosys: wrap with OOM catcher (LP: #1750787)
* stress-dev: add bug reference to hpet failure
* stress-enosys: exercise more arguments in syscall
* Manual: udp-lite should be for ipv6 as well as ipv4
* Manual: update arch specific limitations on lockbus and memthrash
stressors
* Return EXIT_NOT_IMPLEMENTED when system call returns ENOSYS
* stress-userfaultfd: don't fail with an error if ENOSYS is returned
* stress-membarrier: don't fail with an error if ENOSYS is returned
* stress-getrandom: don't fail with an error if ENOSYS is returned
* helper: make zero more obscure so that optimizer won't optimize
zero out
* stress-filename: remove shadowed redundant variable ret
* Makefile: build perf-event with $(CC) rather gcc
* stress-wcstr: fix warning on systems without wcs functions
* job: make fp non-clobberable, cleans up build warning on gcc 4.8.4
* stress-softlock: clean up clobbering warning on gcc 4.9.2
* mwc: add more information into the reseed mix
* stress-filename: don't closedir on a NULL dir pointer
* Move LIB_DL headers to stress-ng.h
* stress-dynlib: try to read the function memory to force page fault
* Manual: fix enosys-ops entry, missing e from enosys-ops
* Add new dynlib shared library dynamic loading stressor
* stress-tree: make nodes align naturally with padding
* stress-tree: move data to start of struct, ensures natural alignment
* stress-tree: clean splay nodes at removal time
* stress-tree: ensure splay tree data is cleared
* stress-exec: drop all capabilities before exec'ing
* stack-mmap: add MAP_STACK flag
-- Colin King <colin.king@canonical.com> Thu, 22 Feb 2018 14:04:11 +0000
stress-ng (0.09.16-1) unstable; urgency=medium
* Makefile: bump version
* Silence a build warning on %d for g_pgrp, cast to int
* Use the new is_dot_filename() helper
* Add is_dot_filename helper function to check for "." or ".." filenames
* stress-filename: clean up temporary files on forced termination
* stress-handle: catch any SIGKILL signals and report back
* stress-filename: catch any SIGKILL signals and report back
* Print process ID in [ ] braces
* Add debug to inform us when stress-ng kills process group with SIGKILL
* Makefile: make build output less noisy and cluttered
* helper: add in compiler major minor info
* stress-vecmath: don't built with clang less than version 5.0
-- Colin King <colin.king@canonical.com> Thu, 15 Feb 2018 17:41:32 +0000
stress-ng (0.09.15-1) unstable; urgency=medium
* Makefile: bump version
* debian/copyright: fix insecure debian copyright URL
* debian/compat: update to 11
* debian/control: update debhelper to >= 11
* stress-bind-mount: ensure we have clone support with HAVE_CLONE
check, fixes another FTBFS in ia64
* stress-wait: remove empty line
* Rename array and type unsupported to supported
* stress-flock: Add more flock lock types, add more stressing children
-- Colin King <colin.king@canonical.com> Sat, 3 Feb 2018 15:02:11 +0000
stress-ng (0.09.14-1) unstable; urgency=medium
* Makefile: bump version
* stress-sigpipe: reduce scope of int ret
* stress-wcsstr: sanity check to see if there are any wcs* functions
* Add full wide char function autodetection
* stress-chown: workaround a NetBSD hang on usleep
* stress-chmod: workaround a NetBSD hang on usleep
* stress-cpu: add __fp16 float16 support (ARM)
* test/test-float: ensure test code is not overly optimized out
* test/test-float.c: ensure build options are same as stress-cpu.c
* Generalize float type config tests
* stress-cpu: Add float32, float80 and float128 support
* stress-ng: add some alignment tweaks to naturally align fields
* Add a new vm-addr virtual memory address stressor
* README: update number of stressors
* stress-funccall: make functions non-static, force less optimization
* stress-vm: add UNLIKELY annotations to improve performance
* stress-procfs: don't write using a NULL badbuf
* Add sigpipe stressor
* Add bad write buffer to procfs write
* stress-procfs: do proc writes only if proc_write is true
* stress-vm-rw: fix build failure on ia64 with missing HAVE_CLONE
-- Colin King <colin.king@canonical.com> Tue, 30 Jan 2018 13:17:21 +0000
stress-ng (0.09.13-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* Makefile.config: reorder detection, no major change
* stress-userfault: add missing check for HAVE_CLONE, should fix
FTBFS for ia64 arch
* Rename stress_hdd_opts to stress_set_hdd_opts
* Rename stress_filename_opts to stress_set_filename_opts
* stress-matrix: make a couple of functions static
* stress-enosys: fix variable shadowing warning
* Add HAVE_SYSCALL_H detection and try to get more syscall coverage
* stress-enosys: add an a complete set of known syscalls to skip
* stress-enosys: make index ssize_t, fixes GNU/HURD build warning
* Ensure skip syscall array is at least 1 element
* Add a new enosys system call stressor
* test/test-notify: add sanity check on message length
* stress-cyclic: cast longs to int64_t before multiply to fix overflow
* stress-funccall: add arg swapped recursion to calls
* stress-funccall: add large data structure passing
* stress-vecmath: vectorize constants, make them const too
-- Colin King <colin.king@canonical.com> Thu, 25 Jan 2018 16:45:43 +0000
stress-ng (0.09.12-1) unstable; urgency=medium
* Makefile: bump version
* stress-clone: fix build issue on systems without the clone system call
* test/test-getmntent: remove unused variable 'n'
* stress-revio: fix build warning on OS X builds
* stress-swap: use mwc1() for single bit random value
* stress-shm: use mwc1() for single bit random value
* stress-shm-sysv: use mwc1() for single bit random value
* stress-schedpolicy: use mwc1() for single bit random value
* stress-key: use mwc1() for single bit random value
* stress-iomix: use mwc1() for single bit random value
* stress-dup: use mwc1() for single bit random value
* stress-aio: use mwc1() for single bit random value
* stress-madvise: add in new MADV options (Linux + BSD)
* stress-membarrier: add in new membarrier commands to enum
* Add fixed mmaping stressor, mmap-fixed
* stress-fcntl: add F_GET_RW_HINT/F_SET_RW_HINT fcntl controls
* stress-branch: optimization, remove a ! operator and align jmp table
* stress-dev: add some extra per-device ioctl exercising
* Makefile.config: generalize header detection
* stress-madvise: perform random file or anonymous mapping for MADV_FREE
* Add 1 bit mwc function
* stress-madvise: add MADV_KEEPONFORK advise flag
* Add reverse I/O stressor: revio
-- Colin King <colin.king@canonical.com> Mon, 22 Jan 2018 16:33:39 +0000
stress-ng (0.09.11-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* stress-sigio: don't build if missing various core functionality
* stress-sigio: remove sigprocmask, this is not used now
* Makefile: forgot to add the new stress-sigio stressor
* Add new sigio asynchronous I/O SIGIO stressor
* Add clone glibc wrapper autodetection, fixes ia64 builds
* Manual: remove excessive misplaced escape chars
-- Colin King <colin.king@canonical.com> Wed, 17 Jan 2018 17:01:02 +0000
stress-ng (0.09.10-1) unstable; urgency=medium
* Makefile: bump version
* stress-tlb-shootdown: ensure proc_mask is zero'd before use
* Makefile.config: make fdatasync test fail if prototype is different
* stress-rawdev: fix warning on non-linux builds
* Manual: add another contributor to the manual
* stress-unshare: throttle back when resources are getting low
* stress-rawdev: make min/max block size #define values
* stress-rawdev: ensure blksize cannot be less than 512 bytes
* stress-rawdev: don't allow insanely sized block sizes
* stress-rawdev: add a keep stressing check inside wiggle 2nd loop
* stress-rawdev: ensure shifted values are never zero
* stress-rawdev: use correct type for reading block size
* stress-resources: ensure we don't have too many resource forks
* stress-resources: try hard not to get too many OOMs
* stress-dev: disable /dev/hpet testing when running as root
* debian/control: skip requirement of libkeyutils-dev for ia64
* stress-matrix: fix broken xy vs yx matrix method selection
* stress-vm: remove a duplicated check addr == ptr
* stress-filename: compare to zero rather than <= 0
* stress-fcntl.c: fix syntax errors
* Update copyright year
-- Colin King <colin.king@canonical.com> Fri, 12 Jan 2018 13:47:57 +0000
stress-ng (0.09.09-1) unstable; urgency=medium
* Makefile: bump version
* stress-tlb-shootdown: only kill legitimate pids
* stress-tlb-shootdown: make child processes more OOM-able
* stress-rawdev: replace some spaces with tab for indentation
* stress-ng.1: fix table for rawdev-method option
-- Colin King <colin.king@canonical.com> Thu, 4 Jan 2018 01:37:11 +0000
stress-ng (0.09.08-1) unstable; urgency=medium
* Makefile: bump version
* Makefile.config: remove need for LIBBSD for wchar.h path detection
* stress-rawdev: fix linking failure on non linux systems
* Add wchar.h and bsd/wchar.h path detection, makes stress-ng.h cleaner
* Add rawdev raw device read stressor
* stress-vecmath: use uint128_put for 128 bit integer
* Move ALIGNED and SECTION macros to stress-ng.h
* Add OPTIMIZE0 level zero optimization hint macro
* stress-socket-diag: remove some consts, cleans up clang warnings
* Use the FORMAT macro for some printf style functions
* stress-vm: fix warning when building with PEDANTIC=1
* stress-tlb-shootdown: fix unterminated comment
* stress-timer: fix warning when building with PEDANTIC=1
* stress-itimer: fix warning when building with PEDANTIC=1
* stress-funccall: clean up warnings when building with PEDANTIC=1
* stress-physpage: only close an opened fd_pc file descriptor
* stress-tlb: fix incorrect affinity on cores
-- Colin King <colin.king@canonical.com> Sun, 31 Dec 2017 17:18:23 +0000
stress-ng (0.09.07-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: add stress-version.h to make dist rules
* test: clean up errors in config tests found by static analysis
* Add lockf autoconfigure detection
* stress-io: use HAVE_SYNCFS to detect syncfs availability
* stress-dirdeep: use HAVE_SYNCFS to detect syncfs availability
* Add syncfs autoconfigure detection
* Add fdatasync autoconfigure detection
* Add fsync autoconfigure detection
* stress-flock: remove __sun__ restriction
* Add posix_memalign autoconfigure detection
* Add futimes autoconfigure detection
* stress-zlib: remove restriction on __sun__
* stress-wait: only disable for broken GNU/Hurd
* Makefile.config: add -Werror to fix build warnings on Minix
* Add mount autoconfigure detection for BSD and Linux
* stress-rmap: remove build restrictions on non-linux systems
* stress-ng: ensure utsname.h is included for non-linux builds
* stress-get: ensure utsname.h is included for non-linux builds
* stress-get: fix build error on non-linux platform
* Add x86 cpuid autoconfigure detection
* Add strlcpy strlcat string func autoconfigure detection
* helper: clean up utsname includes
* Add uname autoconfiguration detection
* stress-msync: replace __minix__ with HAVE_MSYNC
* stress-mincore: use the HAVE_MINCORE macro rather than __gnu_hurd__
* Add sigwaitinfo and sigqueue autoconfig detection
* stress-hdd: replace __gnu_hurd__ with more generic posix fadvise check
* stress-wait: add notes on why this is disabled on GNU/Hurd
* helper: use HAVE_SIGALTSTACK instead of minix and GNU/Hurd checks
* stress-msync: enable build for GNU/Hurd
* Add posix_openpt autoconfig detection
* stress-mincore: remove extraneous space at end of error message
* test/test-posix-fadvise: force failures GNU/Hurd
* Add posix_fadvise autoconfig detection
* test: force failures for mincore and msync for GNU/Hurd
* stress-fcntl: fix incorrect usage of F_DUPFD_CLOEXEC flag
* stress-get: remove __minix__ #define check
* Add mincore autoconfig detection
* Add msync autoconfigure detection
* stress-mmap: call shim_msync rather than msync
* Add mprotect autoconfigure detection
* Add autoconfigure detection of sigaltstack
* Add autodetection of mlockall and munlockall
* Add mlock autodetection
* Add getpgid autoconfigure detection
* Add getpgrp autoconfigure detection
* split out version macros into stress-version.h
* Add dup3 autoconfigure detection
* stress-trees: voidify return of get_setting for tree-method option
-- Colin King <colin.king@canonical.com> Thu, 14 Dec 2017 18:12:01 +0000
stress-ng (0.09.06-1) unstable; urgency=medium
* Makefile: bump version
* Add more smarts in autodetecting wcs* functions
* stress-tree fixes that got discovered after the 0.09.05 release:
- stress-tree: minor changes to splay and rb tree setup and insertion
- stress-tree: fix up tree method calling and add AVL tree
* stress-tree: add binary tree
* stress-tree: use faster method to populate data
-- Colin King <colin.king@canonical.com> Fri, 8 Dec 2017 16:24:56 +0000
stress-ng (0.09.05-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: remove .xz tarball instead of .gz on make clean rule
* debian/control: update Standards-Version to 4.1.2
* Debian: watch: change watch URL to use .xz rather than .gz
* Makefile: use xz compression on tarball make dist rule
* Manual: Add more information in the tree description
* stress-wcstr: fix build issues for GNU/kFreeBSD builds
* Don't include bsd/wchar.h for GNU/kFreeBSD
* libbsd test: Add *BSD support
* stress-treee: don't build for __APPLE__
* Add DragonFly BSD to BSD support for libbsd
* stress-tree: fix build for systems without libbsd
* stress-ng: add funccall mini help options.
* Add libbsd tree stressor
* test/test-libpthread: remove POSIX semaphore checks
* stress-ng.h: fix indentation
* Move put values into global union, saves > 40K on x86
* Add the funccall function call stressor
* Makefile: move fanotify stressor to correct alphabetical order place
* stress-dev: perform open with O_RDONLY | O_WRONLY for ioctl opens
* stress-clone: catch OOM'ing clone stressors and re-spawn them
-- Colin King <colin.king@canonical.com> Wed, 6 Dec 2017 13:20:46 +0000
stress-ng (0.09.04-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* stress-sigsegv: catch SIGBUS for systems such as __APPLE__
* stress-fault: catch SIGBUS for systems such as __APPLE__
* stress-mmapaddr: cast uint64_t value to intptr_t
* stress-mmapaddr: set addr correctly, fixes null ptr issue
* stress-mmapaddr: add mremapping if supported
* stress-mmapaddr: add MAP_LOCKED random flag setting
* stress-mmapaddr: 2nd mmap should check remap addr, and add MAP_32BIT
* stress-mmapaddr: add random MAP_FIXED flag
* Add stress-mmapaddr random address mmap stressor
* stress-icache: remove constification of page_addr
* stress-hrtimes: make a couple functions static
* stress-vm-rw: constify pointer ctxt
* stress-vm: add a couple of constifications in macros
* stress-userfaultfd: constify a couple of function args
* stress-tmpfs: constify rnd
* stress-stream: constify advice in struct stream_madvise_info_t
* stress-socket: constify type in struct socket_type_t
* stress-pty: fix typo in comment
* stress-mmapfork: constify ln
* stress-mknode: constify greycode
* stress-mincore: remove some empty lines
* stress-mergesort: reorder statements and int declaration
* stress-malloc: add some constifications
* stress-ioport: constify flag
* stress-icache: constify page_addr
* stress-hdd: add some more constifications
* stress-full: constify fields of a struct
* stress-flock: constify ppid
* stress-filename: add various variable constifications
* stress-fiemap: add various variable constifications
* stress-dirdeep: constify inodes_avail
* stress-dentry: add a constification to a data structure
* stress-clock: add a few more constifications
* stress-branch: make array labels const
* affinity: constify max_cpus
* Add more comments to stress-ng.h
* stress-vforkmany: call vfork syscall directly when possible
* stress-open: only close fd's that have been opened
* stress-cpu-online: only allow all CPUs to be offlined with 1 instance
* stress-cpu-online: by default, don't offline/online CPU 0
-- Colin King <colin.king@canonical.com> Sun, 26 Nov 2017 22:46:23 +0000
stress-ng (0.09.03-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* stress-physpage: move unsupported function
* Add new physpage stressor
* Manual: add more notes on the OOM behaviour of the stack stressor
* Add in stressor name or core context as prefix in pr_dbg messages
* stress-fanotify: write "test" rather than "foo"
* stress-exec: don't allow this to run as root, skip rather than fail
* stress-ng: remove semaphore.h, it is in stress-ng.h already
* stress-hrtimers: don't kill pid 0
-- Colin King <colin.king@canonical.com> Sun, 19 Nov 2017 16:01:11 +0000
stress-ng (0.09.02-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update contributors names and date
* README: update, add OS X instructions and add clean rule
* shim: cast to int for brk for __APPLE__
* stress-ng.h: fix missing _ off __APPLE_ macro name
* Use shim_sbrk and shim_brk wrappers
* Add shim for brk and sbrk
* stress-pthread: use shim_sched_yield instead if pthread_yield
* stress-ng.h: use shim spinlock in warn_once inline helper
* pthreads: shim spinlocks so we can use mutex if not available
* Makefile.config: add missing (
* Make BSD library more flexible, especially with __APPLE__ arch
* stress-inode-flags: reset flags to zero at end of loop (LP: #1730297)
* stress-inode-flags: move counter to bump once per loop iteration
* stress-random: enable random stressor for __APPLE__ arch
* stress-filename: default to POSIX filename chars for __APPLE__
* stress-filename: OS X can't have ':' in filenames
* stress-fcntl: fix up incorrect name of failed system call
* stress-fcntl: remove need for 2nd fd in F_DUPFD
* stress-mmap: add MAC OS X mmap flags
* stress-schedpolicy: disable this for __APPLE__ arch
* sched: detect __APPLE__ and don't used sched funcs for this arch
* stress-zlib: correct text start/end for all OS choices
* test/test-libpthread: ensure we check all pthread functionality
* Update README.Android notes
-- Colin King <colin.king@canonical.com> Tue, 7 Nov 2017 14:54:23 +0000
stress-ng (0.09.01-1) unstable; urgency=medium
* Makefile: bump version
* stress-fcntl: fix build issue when F_OWNER_PGRP is not
defined (LP: #1709905)
* Makefile: remove special rule for wcstr
* stress-rmap: fix bogo-ops max checks
* stress-memthrash: make bogo-ops checking more granular
* stress-iomix: make bogo-ops checking more granular
* stress-sleep: make bogo-ops checking more granular
* stress-socket-diag: make bogo-ops checking more granular
* stress-socketpair: make bogo-ops checking more granular
* stress-stack: make bogo-ops checking more granular
* stress-dirdeep: make bogo-ops checking more granular
* stress-sigsuspend: catch SIGUSR1 to avoid children getting killed
* stress-nice: make bogo-ops checking more granular
* stress-aio: make bogo-ops checking more granular
* stress-shm-sysv: make bogo-ops checking more granular
* stress-shm: make bogo-ops checking more granular
* stress-sem-sysv: make bogo-ops checking more granular
* stress-sem: make bogo-ops checking more granular
* stress-resources: make bogo-ops check more granular
* stress-open: make bogo-ops check more granular
* stress-key: increment counter on tidy phase
* stress-inode-flags: don't over-run bogo-ops count
* stress-dup: check for bogo-ops more accurately
* stress-dev: make bogo-ops count on per directory
* stress-sysfs: make bogo-ops count on per directory
* stress-timerfd: fix bogo-ops, counter was not being incremented
* stress-vm: fix bogo_ops threshold checks
* stress-yield: fix bogo-ops timeout and accounting
* stress-iomix: improve counter checking to make termination more
responsive
* stress-itimer: ensure we stop timers when timer handler is saturated
* stress-hrtimers: ensure we stop timers when timer handler is saturated
* stress-timer: ensure we stop timers when timer handler is saturated
-- Colin King <colin.king@canonical.com> Thu, 2 Nov 2017 15:06:11 +0000
stress-ng (0.09.00-1) unstable; urgency=medium
* Makefile: bump major version
* Makefile Add perf-event.c and usr.bin.pulseaudio.eg to dist rule
* test/test-mathfunc.c: ensure link fails if function is not available
* Add exporting of MATHFUNC for BSD builds
* stress-ng: fix typo in comment
* shim: remove leading tab on empty line
* Add hrtimers stressor
* sched: use pr_* logging and quiet flags rather than fprintf
* Add CFLAGS and add -I to path so that stress-ng.h can be included
* Add ioport (port 0x80) stressor
* stress-resources: don't abort early on cleanup, fixes msg leaking
* stress-cpu: use L suffix for all long double constants
* stress-bigheap: cast uint8_t ptr to void * for %p format
* stress-af-alg: remove unused macro SEMI_BLOCK_SIZE
* stress-affinity: cast return type from stress_get_processors_configured
* Remove ; at end of macro STRESS
* Makefile: remove the rm of test-decimal.c, it is now redundant
* Makefile: remove cpu decimal float test, it is in the Makefile.config
* Move test config sources to test directory
* stress-dev: catch SIGKILL et al on device access breakage
* debian/control: change Priority to optional
-- Colin King <colin.king@canonical.com> Thu, 26 Oct 2017 09:56:32 +0100
stress-ng (0.08.18-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* debian/control: update Standards-Version to 4.1.1
* stress-hsearch: use sizeof on size of object and not the type
* stress-vm: use sizeof on size of object and not the type
* stress-ng: use sizeof on size of object and not the type
* stress-radixsort: use sizeof on size of object and not the type
* stress-shm: use sizeof on size of object and not the type
* stress-zlib: use sizeof on size of object and not the type
* stress-udp: use sizeof on size of object and not the type
* stress-mlock: use sizeof on size of object and not the type
* stress-sigsuspend: use sizeof on size of object and not the type
* stress-tsearch: use sizeof on size of object and not the type
* stress-stream: use sizeof on size of object and not the type
* stress-yield: use sizeof on size of object and not the type
* test-libbsd: use sizeof on size of object and not the type
* stress-scpt: remove extraneous space
* stress-qsort: use sizeof on size of object and not the type
* stress-opcode: use sizeof on size of object and not the type
* stress-mergesort: use sizeof on size of object and not the type
* stress-lsearch: use sizeof on size of object and not the type
* stress-heapsort: use sizeof on size of object and not the type
* stess-fiemap: use sizeof on size of object and not the type
* stress-cpu: fix setting of data values for stats data
* stress-cpu: use sizeof on size of object and not the type
* stress-cpu-online: use sizeof on size of object and not the type
* stress-bsearch: use sizeof on size of object and not the type
* stress-apparmor: use sizeof on size of object and not the type
* stress-aio: use sizeof on size of object and not the type
* perf: use sizeof on size of object and not the type
* cache: use sizeof on size of object and not the type
* stress-cpu: add statistics computations (stats cpu method)
* Add eventfd autodetection
* Add chroot autodetection
* stress-cap: remove __linux__ check
* stress-netdev: make errno EADDRNOTAVAIL non-fatal
* Makefile: re-organize, put config probing into Makefile.config
* Add swapcontext autoconfig detection
* stress-zlib: add handler to catch code text read faults
* stress-cyclic: print 64 bit signed 0 value dist stats correctly
on 32 bit arch
* stress-cyclic: fix up bucket info
* stress-cyclic: dump more buckets and don't show lots of trailing
zeros
* stress-fiemap: add more yield points for snappier termination
-- Colin King <colin.king@canonical.com> Wed, 18 Oct 2017 10:27:43 +0100
stress-ng (0.08.17-1) unstable; urgency=medium
* Makefile: bump version
* debian/control: update Standards-Version to 4.1.0
* perf: rename perf_info argument to pi to avoid shadowing warning
* README: update number of stressors
* stress-procfs: add some seeks to further exercise procfs
* test-mathfunc: ensure we link in the math func
* Fix test-mathfunc checks - fails on BSD.
* Makefile: add test-mathfunc.c and add it to dist rule
* Makefile + stress-cpu: add autodetection of missing math functions
* perf: inline perf_type_tracepoint_resolve_config
* perf: remove need for prefix of PERF_COUNT_ on perf counter names
* perf: remove need for the HW_CACHE wrapper macro
* perf: move PERF_INFO_TP macro
* perf: increase width of label by 1 char
* perf: rename STRESS_GOT to STRESS_PERF_DEFINED
* Remove perf_get_counter_by_index, simplify code
* Move perf_scale_t and perf_scale, make array const too
* perf: remove helper function perf_get_label_by_index
* perf: simplyify event handling, remove need for ids
* stress-ng.h: remove redundant minix #if def
* perf: remove some white spaces before tabs. bad formatting
* perf: add some more perf hardware events
* perf: add more trace point events
* perf: fix spelling mistake in comment
* perf: Add more units scaling, for when processors run really fast
* Manual: update contributors
* stress-key: bump timeout to 7200 seconds from 1 second
* stress-opcode: fix build warning when SECCOMP_SET_MODE_FILTER is
not defined
-- Colin King <colin.king@canonical.com> Mon, 9 Oct 2017 10:15:36 +0100
stress-ng (0.08.16-1) unstable; urgency=medium
* Makefile: bump version
* stress-aio-linux: automatically scale requests (LP: #1711675)
* stress-socket-diag: sockdiag_send zero return should be checked
* stress-socket-diag: sockdiag_send should return 0 on stress test end
* stress-socket-diag: ensure name is sockdiag and not sock-diag
* Add swapon/off stressor
-- Colin King <colin.king@canonical.com> Thu, 21 Sep 2017 10:17:11 +0100
stress-ng (0.08.15-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* Abstract a shim for off64_t
* shim: fix typo, error should be errno
* stress-opcode: don't use seccomp if SECCOMP_SET_MODE_FILTER is not defined
* stress-memrate: add volatile in void cast to fix buildw arning
* stress-socket-diag: constify attr and cast
* shim: move iopriority shims from io-priority.c to shim.c
* stress-pthread: fix typo mutx -> mutex
* Add cpu-online and oom-pipe stressors to the pathological class
* shim: move shim_sync_file_range from stress-sync-file to shim
* shim: use __NR_futex instead of SYS_futex in syscall
* stress-dup: use dup3 shim
* shim: add shim to dup3
* stress-mincore: reset random address if it matches previous address
* syscalls.txt: update
* stress-clock: add half-baked attempt to set timer
* helper: remove extraneous and incorrect < 0 after prctl call
* fix -x exclude option
* stress-ng: make index size_t type
* stress-opcode: add seccomp filtering to limit syscalls
* helper: stress_drop_capabilities: don't allow new privileges
* Enable SCHED_DEADLINE and rework some abstraction interfaces
* timers: cast to type of tv fields rather than long long int
* stress-madvise: add MADV_WIPEONFORK
* stress-vforkmany: cleanup build warnings on munmap on openindiana
* stress-memrate: cleanup build warnings on munmap on openindiana
* stress-matrix: cleanup build warnings on munmap on openindiana
* temporarily disable SCHED_DEADLINE scheduling
-- Colin King <colin.king@canonical.com> Wed, 13 Sep 2017 13:35:59 +0100
stress-ng (0.08.14-1) unstable; urgency=medium
* Makefile: bump version
* Update TODO list
* Add a latin (Lorem Ipsum) random text mode to zlib method
* test-mq-posix: force failure for GNU/HURD
* test-mq-posix: fix build failure because of missing <signal.h>
* stress-resources: clean up warning when POSIX MQs are not available
* include <sys/uio.h> in stress-ng.h
* stress-mq: make build depend on HAVE_MQ_POSIX being defined
* Add branch stressor that exercises process branch prediction
* stress-memrate: perform oom adjustment in child earlier than allocation
* test-sock-diag: voidify array unix_diag to work around clang warning
* stress-kcmp: fix kcmp shim and fully implement KCMP_EPOLL_TFD stressor
* stress-semaphore: make POSIX semaphores depend on HAVE_SEM_POSIX
* stress-resources: waste POSIX message queues
* stress-resources: waste SYSV message queues
* stress-resources: waste SYSV semaphores
-- Colin King <colin.king@canonical.com> Thu, 7 Sep 2017 11:59:01 +0100
stress-ng (0.08.13-1) unstable; urgency=medium
* stress-rdrand: use 32 bit rdrand for i386
* stress_drop_capabilities: voidify name to avoid warning
* Enable 64 bit large file system support by default
* debian/rules: Add hardening=+all
* manual: fix several spelling mistakes
* stress-cpu: fix spelling mistake "assigment" -> "assignment"
* stress-ng: fix spelling mistake "afer" -> "after"
* stress-opcode: drop all capabilities so we can't do much
damage (LP: #1714044)
* helper: add stress_drop_capabilities to drop all capabilities
* stress-socket-diag: use new HAVE_SOCK_DIAG_H build time check flag
* Add sock_diag.h auto configure build time checking
* Add sockdiag stressor
* stress-fcntl: fix build failure on SLES11 SP4 (LP: #1709905)
* stress-cyclic: fix build warning on systems w/o atomic ops
* stress-softlockup: fix build warning on systems w/o atomic ops
-- Colin King <colin.king@canonical.com> Wed, 30 Aug 2017 22:06:11 +0100
stress-ng (0.08.12-1) unstable; urgency=medium
* Makefile: bump version
* helper: add more debug to filenames to help debugging
* stress-inode-flags: fix incorrect path being used on
directory (LP: #1712857)
-- Colin King <colin.king@canonical.com> Thu, 24 Aug 2017 16:59:33 +0100
stress-ng (0.08.11-1) unstable; urgency=medium
* Makefile: bump version
* stress-zlib: use _start for OpenBSD builds
* stress-zlib: don't build objcode stress method for sun targets
* Manual: update date
* Add objcode zlib stressor method to compress object code data
* stress-zlib: sort zlib methods by name
* exit immediately on end of --stressors option
* stress-inode-flags: remove temp file and directory
* Fix comment in helper
* stress-radixsort: fix warning on calloc sizeof
* Add new inode-flags stressor
* stress-dev: correct a comment
* stress-dev: add select and F_GETSIG fcntl calls
-- Colin King <colin.king@canonical.com> Tue, 22 Aug 2017 11:11:12 +0100
stress-ng (0.08.10-1) unstable; urgency=medium
* Makefile: bump version
* stress-dirdeep: fix warning on unused variable ret on BSD systems
* Update manual description for the --all option
* job: allow classes to be run as jobs (LP: #1706970)
* stress-dirdeep: don't remove directories in main exercise function
* return EXIT_SUCCESS for class cpu? class command
* stress-dirdeep: exercise files rather than create/delete
* manual: fix wording in memthrash table
* stress-dirdeep: Fix inode accounting, add more -v information feedback
* Add --dirdeep-inodes option to limit of inodes being consumed:
* parse-opts: don't allow negative percentages
* Add stress_get_filesystem_available_inodes to get inode number
* Add generialized percentage opt parser get_uint64_percent
* helper: remove debug message from stress_get_filesystem_size
* stress-ng: ensure --version option terminates immediately
-- Colin King <colin.king@canonical.com> Mon, 7 Aug 2017 21:31:32 +0100
stress-ng (0.08.09-1) unstable; urgency=medium
* Makefile: bump version
* stress-memrate: don't fail so badly when we can't allocate memory
* stress-ng: fix segfault on --memcpy, requires 1 arg and not zero
* Manual: update date
* stress-cpu: Minix also does not have lgammal so work around this
* stress-dirdeep: fix clang + Minix build warning, cast char to int
* stress-memrate: add OOM check detection
* stress-cpu: NetBSD does not have lgammal so work around this
* stress-radixsort: fix build issues on systems w/o libbsd
* Add new memrate stressor
* shim: trivial fix to comment typo
* stress-cpu: optimize factorial calculation
* job: avoid memory overflow on strncpy on txt
* Add --matrix-yx option
* iterate over size of classes and remove need for terminator
* stress-radixsort: remove casting, clean up build warning with PEDANTIC=1
* README: Add notes on PEDANTIC builds
* No need to extern define opterr, it is already defined in getopt.h
* Fix static build issues with the use of getpwuid
* Add longjmp handling to unwind parsing errors
* Improve job error handling
* Add a LIKELY annotation to the 75% likely path on mwc8()
* Add a radixsort CPU/memory/cache stressor
* stress-rmap: force faster termination and cleanups
* stress-ng.h: forgot to commit matrix size increase to 8192
* stress-matrix: scale up default float values by 65535
* stress-matrix: don't allocate matrices on the stack, mmap them instead
* stress-icache: call shim_cacheflush to flush ICACHE
* Add --vm-madvise option
* stress-ng: forgot to add in stream-madvise option in help
* stress-resources: make memory mappings private and exercise random madvise
* stress-vm: make mappings private, helps with hugepage madvise
* stress-shm: make mappings private, helps with hugepage madvise
* stress-memthrash: make mappings private, helps with hugepage madvise
* stress-stream: add --stream-madvise option
* manual: fix typo, --no-advise should be --no-madvise
* stress-fcntl: add 4.13 hints F_GET_FILE_RW_HINT F_SET_FILE_RW_HINT
-- Colin King <colin.king@canonical.com> Tue, 18 Jul 2017 09:34:47 +0100
stress-ng (0.08.08-1) unstable; urgency=medium
* Makefile: bump version
* manual: update date
* stress-filename: sanity checks on sz_max file size
* stress-cyclic: fix build warning on non-linux platforms
* stress-open: ignore open_pt if building on GNU/HURD
* make str const char *, fixup some PEDANTIC=1 build warnings
* setting: fix const warnings with PEDANTIC=1
* stress-ng: make get_nth_proc a static function
* job: rename argc to new_argc to fix shadowing parameter argc
* stress-vforkmany: fix PEDANTIC=1 build warning on munmap
* stress-softlockup: remove duplicate ret
* Rename tmp vars so we don't shadow pid
* stress-memthrash: fix build warnings with PEDANTIC=1
* stress-fstat: remove extraneous cast to void *
* stress-dev: don't make path const
* Rename array dccp_opts dccp_options to avoid name clashes
* stress-static: make a few local functions static
* exit_status: make it a WARN_UNUSED function
* stress-iomix: add FS_IOC_GETFLAGS/SETFLAGS inode operations
* stress-open: use posix_openpt and O_NOCTTY flag
* stress-zombie: zombie-max should not be a byte size value
* stress-vm: vm-hang option should be a time based option
* stress-tsearch: tsearch-size should not be a byte size value
* stress-sleep: sleep-max should not be a byte size value
* stress-sem: sem-procs should not be a byte size value
* stress-sem-sysv: sem-sysv-procs should not be a byte size value
* stress-qsort: qsort-size should not be a byte size value
* stress-pty: pty-max should not be a byte size value
* stress-pthread: pthread-max should not be a byte size value
* stress-mq: mq-size should not be a byte size value
* stress-mergesort: mergesort-size should not be a byte size value
* stress-memfd: memfd-fds option should not be a byte size value
* stress-matrix: matrix-size option should not be a byte size value
* stress-lsearch: lsearch-size option should not be a byte size value
* stress-hsearch: hsearch-size option should not be a byte size value
* stress-heapsort: heapsort-size option should not be a byte size value
* stress-fork: fork-max and vfork-max options should not be a byte size value
* stress-exec: exec-max option should not be a byte size value
* stress-bsearch: bsearch-size option should not be a byte size value
* stress-clone: the clone-max option should not be a byte size value
* stress-dir: chdir-dirs option should not be a byte size value
* stress-dirdeep: add a --dirdeep-dir option to make more dirs per level
* stress-dir: dir-dirs option should not be a byte size value
* stress-socket-fd: remove process name change on client and server
* stress-memthrash: make child processes OOM-able
-- Colin King <colin.king@canonical.com> Mon, 10 Jul 2017 13:40:50 +0100
stress-ng (0.08.07-1) unstable; urgency=medium
* Makefile: bump version
* test-inotify: initialize variable i to zero
* Manual: update date
* stress-cyclic: add pselect sleep method
* stress-rmap: fix comment, remove 'of'
* stress-netlink-proc: add more PROC event types
* Add inotify build time detection
* stress-get: re-format macro, no functional change
* stress-dup: use fcntl(2) F_DUPFD to perform a dup
* stress-dnotify: check if F_NOTIFY is available
* test-fanotify: clean up some static analysis warnings
* Ensure plural of cpus online and configured is correct
* Add fanotify build time detection
* stress-softlockup: fix builds where RLIMIT_RTTIME is not defined
* stress-fanotify: only build if FAN flags are defined
* stress-cyclic: fix build where RLIMIT_RTTIME is undefined (LP: #1700484)
* test-sem-posix: voidify returns
* test-mq_sysv: voidify ret rather than msg
* stress-socket-fd: don't force overcommit on fd allocations (LP: #1692668)
* stress-cyclic: use check_range instead of check_range_bytes for
scalar values
-- Colin King <colin.king@canonical.com> Wed, 28 Jun 2017 11:09:11 +0100
stress-ng (0.08.06-1) unstable; urgency=medium
* Makefile: bump version
* Debian/control: update standards version to 4.0.0
* Make test-sem-sysv.c fail for GNU/HURD
* Make test-mq-sysv.c fail for GNU/HURD
* Make test-affinity fail for GNU/HURD
* stress-cyclic: fix build issues on non-Linux platforms
* Clean up some warnings found on test config code
* Add --cyclic-method to cyclic measurements stressor
* Add build-time checks for SYSV shared memory APIs
* stress-sigsegv: add NOCLOBBER hint to fix warning with gcc 5.4.1
* test-sem-posix: include time.h to build on BSD
* stress-sem-sysv: make semtimedop a linux only feature
* Add build-time checks for SYSV message queues
* Forgot to add in new test-mq-posix.c test source
* Add build-time checks for POSIX message queues
* Add in cyclic help options
* stress-vforkmany: add self adjusting waste memory allocation
* stress-vforkmany: make child processes larger to be more OOM'able
* stress-socket-fd: Add checks for sendmsg failures
* stress-socket-fd: send SIGALRM rathe rather than SIGKILL to child
* Add new --cyclic-dist distribution option
* stress-vforkmany: allow children to be OOM'd (LP: #1698747)
* sem-sysv: add linux checks for linux only semctl commands
* Add SYSV semaphore autodetection at build time
* job: voidify some function returns and constify len
* stress-cyclic: fix tab/spacing indentation
-- Colin King <colin.king@canonical.com> Wed, 21 Jun 2017 17:33:49 +0100
stress-ng (0.08.05-1) unstable; urgency=medium
* test-sem-posix: don't build for FreeBSD kernels
* stress-cyclic: only produce stats for first instance
* stress-sem: hust build on systems that provide POSIX semaphores
* stress-madvise: fix build warning with clobbered sz with gcc 3.4.3
* stress-vm: fix build warning on munmap
* stress-fcntl: fix build issue on kFreeBSD
* stress-softlockup: fix build error on GNU/HURD
* stress-madvise: fix another BSD build warning
* stress-madvise: fix build warnings on BSD
* stress-cyclic: fix build issues on non-Linux systems
* Add build time checks for POSIX semaphores
* stress-cyclic: add NOCLOBBER hints to avoid gcc 4.9.2 longjmp warnings
* fix bogo ops setting, this was broken in the set/get settings changes
* stress-cyclic: avoid division by zero error
* Add new real time cyclic stressor
* Propagate stressor killed status back up to parent
* Make --class cpu? exit 0 rather than 1
* stress-fcntl: only build in fd_get when it is required
* stress-fcntl: only build in check_return if required
* test-affinity: voidify unused rc return
* stress-sigsegv: remove redundant null assignment to ptr
* stress-rlimit: reduce scope of fds, ptr and oldbrk
* stress-softlockup: constify fields in data structure
* stress-seccomp: check for specific macros after including the headers
* Add --abort option to force all stressor to abort if a stressor fails
* stress-softlockup: try to synchronize start of all children
* stress-futex: use shim'd futex calls
* Add abstraction shims to futex operations
* madvise: fix build failure because of incorrect build config check
* Add new softlockup stressor, use with caution
* Forgot to add test-affinity.
* Add madvise build time checks
* Add test-affinity to dist rule
* stress-clock: don't do zero nanosecond sleeps
* Add automatic affinity checking at build time
* stress-sigsegv: produce fault using write to read-only page
* stress-vforkmany: remove as many calls as possible
-- Colin King <colin.king@canonical.com> Fri, 16 Jun 2017 11:42:56 +0100
stress-ng (0.08.04-1) unstable; urgency=medium
* Makefile: bump version
* debian/control: use libgcrypt20-dev (Closes: #864137)
* stress-kcmp: add new KCMP_EPOLL_TFD to enums
-- Colin King <colin.king@canonical.com> Mon, 5 Jun 2017 10:12:14 +0100
stress-ng (0.08.03-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* stress-pthread: don't use pthread_yield for NetBSD and Solaris
* stress-wait: fix waitpid, make sure it's waiting with correct flags
* stress-wait: fix WCONINUED typo and add better waitpid error detection
* stress-nice: where possible force a sched yield
* stress-memcpy: force calls to memcpy and memmove
* stress-longjmp: remove extraneous tab
* stress-matrix: Add a few more simple matrix method
* stress-longjmp: make it a little more stressy
* Add OPTIMIZE1 -O1 optimization hint
* Add NOINLINE macro for forcing no-inlining of small functions
* stress-exec: Make exec fail detection more intelligent
* Add comment hinting to fallthrough macro to help static analyzers
* stress-epoll: fix comment about delay time
* stress-cpu: make macro args distinguishable from function names
* stress-cpu: correct a comment function name
* stress-pthread: add pthread_yield() call for more scheduler stress
* cache: add in missing const to argument
* cache: minor code clean ups
* constify set/get setting function args
* stress-aio-linux: use DIRECT_IO and aligned buffers
* Remove the main_opt_t and set/get these using the set/get settings
* perf: constify n in perf_yaml_label
* stress-cpu: add factorial computation and approximations method
* manual: update contributors list, add Abdul Haleem
* stress-ng: help: fix typo and replace method m with method M
* stress-cpu-online: EBUSY shouldn't be a fatal error
* Fix: Macro definition for SECCOMP_SET_MODE_FILTER
* stress-socket-fd: fix fork failures correctly, make child oomable
* stress-memthrash: try harder to get mmap'd memory
* Update documentation and help for timeout, specify times in T
* stress-ng: remove white space in some -ops help information
* move help_t to main stress-ng.c as it's just local to that source
* move ionice help to the generic options
-- Colin King <colin.king@canonical.com> Thu, 1 Jun 2017 17:32:58 +0100
stress-ng (0.08.02-1) unstable; urgency=medium
* Makefile: bump version
* stress-dev: don't build for __sun__, it does not have DT_* macros
* example-jobs/device.job: Add dev stressor
* Move the --dev stressor to the CLASS_DEV class
* example-jobs/memory.job: add memthrash example
* Expand the default run time text into human time units for large times
* stress-dev: remove linux only build constraint
* stress-dev: use pthread_args_t rather than a special context struct
* Makefile: update perf rule to match output of other CC rules
* stress-dev: ensure we check for all watchdog names
* Make zero timeouts run forever.
* Add dev stressor to exercise /dev entries
* stress-sockpair: make parent less oomable than the child
* stress-memthrash: optimization tweaks, makes it run a bit hotter
* stress-memthrash: add OOM detection handling
* stress-memthrash: Add MAP_POPULATE to mmap'd region
-- Colin King <colin.king@canonical.com> Thu, 18 May 2017 13:26:50 +0100
stress-ng (0.08.01-1) unstable; urgency=medium
* Makefile: bump version
* stress-memthrash: implement stress_set_memthrash_method for
non-pthread builds
* stress-memthrash: provide some feedback about the method being used
* typedef a pproc_info_t ptr to proc_info_t type, we can use this on g99
* Revert "Use g11 as we are using C11 forward typedef declarations"
* Use g11 as we are using C11 forward typedef declarations
* stress-zlib: no need to initialize info
* stress-str: no need to initialize info
* stress-matrix: no need to initialize info
* stress-cpu: no need to initialize info
* stress-wcs: replace static option with set/get option settings
* stress-wcs: rename stress_wcs_stressor_info_t to
stress_wcs_method_info_t
* stress-vm: rename stress_vm_stressor_info_t to stress_vm_method_info_t
* stress-str: rename stress_str_stressor_info_t and use set/get method
* stress-matrix: rename stress_matrix_stressor_info_t to
stress_matrix_method_info_t
* stress-cpu: rename stress_cpu_stressor_info_t to
stress_cpu_method_info_t
* Add --memthrash-method methods
* stress-cpu: move HOT OPTIMIZE3 to correct function
* thermal-zone: fix tab indentation
* Add memthrash memory thrashing stressor
* TODO: remove acl from list, it is covered by stress-xattr.c
* stress-netdev: remove unused macro MAX_INTERFACES
* Add new netdev (network device) stressor
* stress-fork: remove unused static option variables
* Add #! handling in jobs, allow one to run stress-ng from a job script
-- Colin King <colin.king@canonical.com> Fri, 12 May 2017 17:03:49 +0100
stress-ng (0.08.00-1) unstable; urgency=medium
* Makefile: bump version to 0.08.00
* Makefile: add test-aligned-128.c to dist rule
* stress-vm: voidify return from get_setting call
* Add an example job that exercises all the matrix methods
* Quote the name of the stressor method to make it clearer
* Allow multiple instances of the same stressor to be run
* stress-vm: use new set/get_setting on vm-method option
* stress-matrix: use new set/get_setting on matrix-method option
* stress-cpu: add debug info on the cpu method being used
* stress-ng: clean up some of the overly wide lines
* Use struct field tags to specify field settings for new args_t
* Comment new settings types
* job: fix old gcc warnings, cast char to int before passing to isblank()
* remove stressor_id_find(), it is no longer used
* stress-iomix: voidify iomix_bytes for non-linux builds
* stress-hdd: ensure flags are zero
* Add check for no stress workers being run
* Be tidy and free up stashed settings
* stress-cpu: use set/get_settings on cpu-method option
* stress-shm: allocate addr and shm_names on heap rather than stack
* Ensure that when rounding to nearest page we don't round to zero
* Add new set/get_settings() mechanism to stash settings
* stress-vm-splice: ensure minimal mmap size is at least a page size
* Use the correct number of procs for sequential running
* Rework the proc info setup, clean up and refactor chunks of code
* Pass a list of proc_info_t's to stress_run, remove not_runnable flag
* Replace procs[] array with a doubly-linked list of proc_info_t
* Track per stressor stats with a pointer to the shared stats data
* stress-sync-file: clean up warning on signed integer comparison
* More minor job fixups
* scheduler.job: fix incorrect name of job
* Add a hot-cpu example job
* remove debug from --ignite-cpu option
* Add scheduler class example job
* manual: move mq options to correct location in man page
* Add filesystem class example job
* stress-hdd: ensure we do not divide by zero
* test-libbsd: voidify returns from test calls
* TODO: update things to do
* Move number of instances into args struct, remove stressor_instances()
* Add net class example job
* Re-order the class names into alphabetical order
* Add vm class example job
* manual: add missing full stop in userfaultfd section
* Add security class example job
* Makefile: update dist and install rules to incorporate example jobs
* Add pipe class example job
* Add interrupt class example job
* Add io class example job
* Add device class example job
* Add cpu-cache class example job
* Add cpu class example job
* Ensure stressor names are mungified from _ to - in class option
* memory.job: make default run time 60 seconds per stressor
* stress-mergesort: replace uint8_t sort with random mixer sort
* stress-stream: remove args-> prefix from instance message
* Add example memory job
* man page: fix the resources option with line wrapping
* man page: fix typo on sigpending-ops
* Add new --job option allowing one to script stressors
* split out arg parsing into a helper function, put opt data in a struct
* snapcraft: remove icon and update snapcraft yaml
* Add 128 byte cacheline alignment
-- Colin King <colin.king@canonical.com> Sat, 6 May 2017 13:27:11 +0100
stress-ng (0.07.30-1) unstable; urgency=medium
* Makefile: bump version
* stress-fstat: fix build warning on struct shim_statx bufx on BSD*
* stress-fstat: don't use statx if AT_SYMLINK_NOFOLLOW or
AT_EMPTY_PATH are not defined
* stress-rlimit: restore brk point without using
sbrk(-MAX_RLIMIT_DATA)
* stress-rlimit: fill in empty {} fields
* Add statx system call to shim and fstat stressor
* stress-ptrace: formally voidify return from various system calls
* stress-lsearch: formally voidify return from lsearch() call
* stress-cpu: ensure variable b and b_flt are not re-assigned
* stress-*timer: explicitly use float rather than integer constant
* STRESS_*BIT macros: cast 1 to desired type before shifting
* stress-rlimit: formally voidify return from sbrk() call
* stress-get: formally voidify returns from get*() calls
* stress-chroot: fix missing else in fork return state checks
* stress-cpu: use helper to write data to sysfs
-- Colin King <colin.king@canonical.com> Thu, 20 Apr 2017 00:06:02 +0100
stress-ng (0.07.29-1) unstable; urgency=medium
* Makefile: bump version
* mwc: flush cached 8 and 16 bit values on reseeds (LP: #1681503)
* voidify returns from various function calls
* out-of-memory: #define constants and use these
* Use the stress_handle_stop_stressing for child case
* extern stress_handle_stop_stressing as it is a useful generic handler
* Use new stress_sig_stop_stressing helper
* Add stress_sig_stop_stressing helper to flag up end of stressing
* stress-cpu-online: minor formatting clean-up of source
* oomable option does not have any args, fix that
* Add new --oomable option to stop OOM'd stressors from being restarted
* stress-rlimit: add more rlimit limits, fix CPU limits
-- Colin King <colin.king@canonical.com> Tue, 11 Apr 2017 10:54:26 +0100
stress-ng (0.07.28-1) unstable; urgency=medium
* Makefile: bump version
* shim: voidify flags argument to shim_mlockall
* stress-mlock: forgot to use shim_mlockall rather than mlockall
* stress-mlock: use munlockall/mlockall shims, rename mlock_shim to do_mlock
* shim: add shims for mlockall and munlock all
* mwc: optimize 8 and 16 bit mwc functions (LP: #1677645)
* stress-ng.h: remove unused macro STRESS_IONICE
* Clean up some formatting of macros and long lines
* rename type stress_op to stress_op_t
* rename type stress_id to stress_id_t
* stress-ng.h: rename type stress_func to stress_func_t
* stress-cpu: verify idct method more efficiently
* Add autoconfig test for 64 byte alignment too
* Fix test for 64K alignment (instead of 64 byte)
* Makefile: add missing .PHONY and correct spelling of .PHONEY
* Add autodetection for 64 byte alignment of functions (LP: #1676834)
* stress-rmap: use shim fallocated rather than posix_fallocate
* Makefile: no need to make configuration when making pdf
-- Colin King <colin.king@canonical.com> Thu, 30 Mar 2017 17:26:17 +0100
stress-ng (0.07.27-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: Add TODO list to make dist rule
* manual: update date
* stress-pty: don't conditionally build out stress_set_pty_max
* Update TODO list
* stress-memfd: use correct printf format specifier for uint64_t type
* stress-chdir, stress-dir: remove unused static flags
* stress-socket-fd: remove unused macro MAX_FDS
* stress-memfd: fix comment
* stress-chdir: correct the chdir-dirs option name
* stress-chdir: set default to correct DEFAULT_CHDIR_DIRS
* Add missing control for 4 stressors: (LP: #1676419)
* - Add --pty-max option to specify max number of ptys to try to open
* - Add --memfd-fds option to specify the number of memory file descriptors
* - Add --dir-dirs option to specify number of directories to stress on
* - Add --chdir-dirs option to specify number of directories
* log: add some more comments
* ignite-cpu: add some more minor comments
* helper: add some more comments
* stress-ng: add some more comments
* stress-ng: remove some blank lines
* mlock: remove const from m_addr_start to fix clang warning
* stress-fanotify: remove const from metadata declaration
* stress-cpu: remove unnecessary packed attribute on a union
* rename optarg args to opt as these shadow the global oparg variable
* fix up incorrect args to various stressors
* net: make stress_set_sockaddr_port net_addr const
* Minor layout re-formatting of long_options table
* stress-ng: Set per stressor default settings using stressor_set_defaults
* Manual: update copyright year
* Add TODO list
* stress-chroot: fix typo, ENODIR -> ENOTDIR
* stress-vecmath: remove -O3 optimisation as this breaks gcc on ppc64el
* Remove PEDANTIC=1 from makefile
-- Colin King <colin.king@canonical.com> Mon, 27 Mar 2017 13:49:11 +0000
stress-ng (0.07.26-1) unstable; urgency=medium
* Makefile: bump version
* fast-test-all: revert back to maximum of 4 stressors
* stress-zero: disable write to /dev/zero for minix
* shim: fix build error and warnings on Minix builds
* stress-fstat: allow threadless builds for systems without pthreads
* stress-ng: fix cppcheck style warnings: reduce scope of variables i and j
* stress-fstat: reduce scope of variable fd
* stress-zlib: clean up cppcheck style warnings
* stress-stackmmap: clean up cppcheck style warning
* stress-bind-mount: use args_t wrapper for clone to fix warning
* Wrap const *args_t to pass non const void * arg to pthread_create
* stress-tmpfs: constify array mmap_flags[]
* stress-shm-sysv: constify array shm_flags[]
* stress-opcode: constify static array sigs[]
* stress-mmap: constify mmap_flags
* stress-af-alg: constify static data structures
* test-asm-nop: add copyright boiler plate message
* Make default cache size information debug only
* thrash: add some function comments
* shim: add more comments
* Use the mincore shim to hide BSD/linux 3rd argument differences
* Add shim for mincore(2)
* shim: madvise: map madvise advice to posix_madvise advice
* stressors: use shim_madvise rather than madvise
* Add shim for madvise(2)
* stress-fp-error: check for EDOM, ERANGE (LP: #1674000)
* Make FORCE_DO_NOTHING build in a nop before other ways of doing nothing
* stress-matrix: align matrices to 64 bytes to reduce cache stalls
* stress-matrix: use restrict on arrays for more compute
* stress-icache: add missing support for PPC64
* Add ppc64 arch to defined STRESS arch types
* stress-icache: add missing support for IBM s390
* Add s390 arch to defined STRESS arch types
* stress-icache: don't build in 64K page support for ARMEL
* Makefile: replace 'got' with 'using' in autoconfiguration text
* stress-getrandom: check for EINTR failures (from SIGALRM)
* Makefile: generate apparmor raw binary data silently
* Explicitly call pr_closelog() and flush pending output (Closes: #857942)
-- Colin King <colin.king@canonical.com> Mon, 20 Mar 2017 10:32:35 +0000
stress-ng (0.07.25-1) unstable; urgency=medium
* Makefile: bump version
* helper: avoid calling sched_cpu on ppc64le
* Makefile: remove NOTPARALLEL, it's not helpful
* fast-test-all: remove xattr as it can break some file systems
* Makefile: don't autoconfig if we are making dist clean or install
* stress-mlock: add in const to void when calling mlock
* stress-icache: unconstify page_addr to clean up build warnings
* stress-vm: rename ret to waitret to fix variable shadowing
* stress-chroot: rename ret to waitret to fix variable shadowing
* stress-chroot: rename static path to temppath
* Makefile: display config steps and don't break if config is not available
* Add NOPARALLEL to config rules
* Makefile: Add .PHONY to rules
* manual: forgot to add the manual from the zlib changes
* stress-madvise: avoid overuse of MADV_HWPOISON (LP: #1672387)
* vecmath: use gcc __int128_t types if they are available
* Makefile: remove -g flag from default build
* README: update number of stressors and examples on how to build
* manual: update contributors list
* manual: fix escape around - for a stress-ng iomix example
-- Colin King <colin.king@canonical.com> Thu, 16 Mar 2017 10:57:11 +0000
stress-ng (0.07.24-1) unstable; urgency=medium
* Makefile: bump version
* stress-fstat: remove siglongjmp, bad idea in threads
* stress-fstat: forgot to sigfillset on set
* helper: use correct format specifier to print size_t variable
* syscalls: add statx entry to table
* stress-fstat: run multiple threads on fstat for more stress
* stress-wait: fix spelling mistake in comment
* stress-socketpair: remove empty line
* stress-null: add mmap'ing and msync writes to /dev/null
* stress-memcpy: add in structure copying
* stress-flock: remove empty line
* stress-zero: privately mmap to /dev/zero rather than shared map
* stress-zero: add write to /dev/zero as this is also allowed
* stress-zlib: remove redundant assignment to ret
* stress-zlib: use PRIu64 format specifiers for uint64_t types
* stress-fcntl: fix build warning on minix
* helper: sigaltstack is available for GNU/HURD
* helper: fix random segfaults because of setting stack start incorrectly
* stress-zlib: clean up some tabbing/whitespace alignments in table
* stress-ng: don't use stress_set_zlib_method if zlib is not available
* helper: set sa_flags to SA_ONSTACK to fix stackmmap segfault
* stress-stackmmap: ensure signal handler stack is not on the stack
* stress-stackmmap: fix random segfaulting
* stress-atomic: fix build of this stressor
* Add a stress_sigaltstack alt stack helper and use helper
* Revert "helper: ensure ss_flags are set to SA_ONSTACK"
* helper: ensure ss_flags are set to SA_ONSTACK
* helper: GNU/HURD and Minix don't support sigaltstack, so ignore this
* stress_sighandler: ensure signal handlers use alternative signal stack
* stress-stackmmap: jump back to main loop via swapcontext
* Forgot to check in modifications to stress-ng.[ch] for the zlib changes
* stress-zlib: add check sum sanity checking and --zlib-method
* affinity: voidify returns from printf family of calls
* voidify returns from fflush
* voidify returns from printf family of calls
* voidify return from kill()
* voidify return from close, fclose and closedir
-- Colin King <colin.king@canonical.com> Mon, 13 Mar 2017 11:42:12 +0000
stress-ng (0.07.23-1) unstable; urgency=medium
* Makefile: bump version
* stress-fcntl: minix does not require fd_get
* helper: use STRESS_SC_PAGES as defined in previous commit
* helper: try to use avg available phys pages and then total phys pages
* stress-ng.h: Re-organise ordering and formatting of macros
* Clean up the GCC attribute macros
* Add ALWAYS_INLINE gcc macro, force inlining of some critical functions
* Add a NORETURN gcc attribute macro and flag waste_resources accordingly
* stress-vm: initialize bit_error_count as MAP_FAILED
* stress-vm: check for bit errors and report them rather than ignoring them
* stress-bigheap: ensure heap growth size is rounded to pagesize
* Add new helper to check sizes in bytes and print in human readable format
* Allow memory stressors to run with ridiculously large allocations
* Allow one to specify sizes of files or memory in % of total available.
* Manual: clarify --cpu-load and --cpu-slice options
* Print out stressors in a class when using --class <name>?
-- Colin King <colin.king@canonical.com> Mon, 6 Mar 2017 15:02:01 +0000
stress-ng (0.07.22-1) unstable; urgency=medium
* Makefile: update version
* stress-vforkmany: move counter increment to pre-vfork stage
* stress-vforkmany: don't call setpgid in a vfork child
* stress-socket: unlink AF_UNIX path only if addr is not NULL
* stress-dccp: unlink AF_UNIX path only if addr is not NULL
* stress-iomix: remove redundant increments of posn
* stress-iomix: ENOSPC on fallocate is a EXIT_NO_RESOURCE error
* Update conversion tables, bytes and times
* Emit metrics even when counter is zero if test has been successfully run
* stress-futex: fix a broken comment
* stress-ng: fix rounding error in bogo ops-calculation
* stress-iomix: force page to be read even on high optimization levels
* stress-iomix: fix mmap flags, should be PROT_READ | PROT_WRITE
* stress-fcntl: reduce scope on variable fd
-- Colin King <colin.king@canonical.com> Tue, 28 Feb 2017 17:59:58 +0000
stress-ng (0.07.21-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: add test-asm-nop.c to dist rule
* Makefile: add config to dist rule
* stress-fault: fix build on BSD, missing g_ prefix on keep_stressing_flag
* Makefile: save and re-load configuration
* stress-apparmor: prefix global data with g_
* mwc: make __mwc static, it's not referred to globally nowadays
* Prefix all globals with g_ to indicate they are in global scope
* stress-chroot: make functions static
* stress-iomix: fix build warnings with gcc 3.4.3
* stress-ng.h: include strings.h for sun builds for rindex
* shim: fix build warning on FreeBSD
* stress-icache: forgot to add addr voidification
* shim: handle ENOSYS on posix_fallocate by using emulated fallocate
* stress-icache: fix warning when madvise does is not being used
* Add no-op nop cycle waster stressor
* stress-icache: cater for 4K, 16K and 64K page sizes and alignments
-- Colin King <colin.king@canonical.com> Fri, 17 Feb 2017 14:58:11 +0000
stress-ng (0.07.20-1) unstable; urgency=medium
* fast-test-all: print system information
* stress-key: handle ENOSYS on KEYCTL_SET_TIMEOUT and bail out early
* stress-iomix: remove redundant directory removal on fallocate failure
* shim: add emulation for failed fallocate(2)
-- Colin King <colin.king@canonical.com> Thu, 9 Feb 2017 11:08:01 +0000
stress-ng (0.07.19-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* stress-iomix: don't use fdatasync on non-linux systems
* stress-chroot: make this unsupported for non-Linux systems
* stress-iomix: use shim_msync instead of msync for portability reasons
* stress-iomix: only use fadvise on linux
* stress-iomix: only use MAP_POPULATE on systems that provide this flag
* stress-iomix: only use FALLOC_FL_ZERO_RANGE on systems where it is available
* Correctly default iomix size to 1GB
* Move page_size to args struct, remove need for stress_get_pagesize calls
* Add a new iomix mixed I/O stressor
* stress-chroot: EINTR should not flag up as an error
* Add a chroot stressor
* Makefile: add pdf manual making rule
* stress-socketpair: abort on read failure
* stress-yield: remove args-> from instacne message text
* stress-msync: add another missing \n
* stress-sync-file: abort early on sync failures
* stress-msync: add missing \n on error message
-- Colin King <colin.king@canonical.com> Wed, 8 Feb 2017 13:47:31 +0000
stress-ng (0.07.18-1) unstable; urgency=medium
* Makefile: bump version
* stress-resources: don't build in timer data if SIGUNUSED is not defined
* mwc: move inlined functions back into mwc.c
* stress-resources: don't build timer code of SIGUNUSED is not defined,
fixes builds on mips, mips64el, alpha, sparc64
-- Colin King <colin.king@canonical.com> Wed, 1 Feb 2017 07:03:54 +0000
stress-ng (0.07.17-1) unstable; urgency=medium
* Makefile: bump version
* fast-test-all: add more feedback on failed or skipped tests at
end of test
* stress-tlb-shootdown: ensure we have a sensible number of child
processes
* stress-fcntl: disabled F_DUPFD_* stressors for minix
* stress-fcntl: ensure we are not dup'ing onto an already open fd
* stress-fcntl: only use flock64 for linux
* stress-fcntl: fix F_OFD_GETLK error message
* stress-fcntl: use flock64 for locking fcntl calls
* stress-get: treat EOVERFLOW on prlimit as not a fatal error
* mincore: fix incorrect inverted logic to test for minix
* fix build warning with missing const on BSD builds
* fix build warnings with missing const on GNU/HURD builds
* Make opt_all and wait_flag static, they do not need to be global
* Fix up some spelling mistakes
* ignite-cpu: make settings static
* rename opt_do_wait to wait_flag as a more appropriate name
* rename opt_sigint to caught_sigint
* Replace opt_do_run with keep_stressing_flag
* mincore: ensure we touch pages even when calloc or mincore fail
* stress-ng: func_supported should be a void arg
* stress-resouces: add calloc resource suckage
* stress-resources: add posix semaphore resource suckage
* stress-resources: add timer resource suckage
* stress-resources: add socketpair to resource suckage
* Optimize mwc64/32/16/8 functions
* stress-noop: add loop and inc to show minimal stressor example
* Optimize __keep_running helper
* Add LIKELY/UNLIKELY macros
* time.c: add another constification
* helper, stress-ng.h: add a couple more constifications
* cache: more constifications, remove comment from #endif
* perf: use scientific notation to define double constants
* stress-sleep: constify cast
* constify args_t *args parameters
* cache.c, stress-ng.h: move generic_map to cache.c, make it a typedef
* stress-ng.h: add some more comments to various fields
* stress-fifo: fix wrap around detection
* stress-get: need to assign ret before checking it
* stress-fcntl: remove "name: " prefix in error message
* stress-icache: add missing ; to fix *BSD build
* stress-tmpfs: use args->pid instead of getpid on pid
* stress-hdd: fix build issue on GNU/HURD
* stress-atomic: fix missing ;
* use a new helper keep_stressing() to check if we should keep on running
* Fix up pr_msg va_args, requires a shim
* log: make args const
* make pr_* macros into shim functions, shrinks the build size
* pr_fail always writes to stderr, so remove the need to specify the
stream
* pr_err always writes to stderr, so remove the need to specify the
stream
* pr_tidy always writes to stderr, so remove the need to specify the
stream
* pr_dbg always writes to stderr, so remove the need to specify the
stream
* pr_inf always writes to stdout, so remove the need to specify the
stream
* Remove need to pass name in pr_fail_err, pr_fail_errno, pr_fail_dbg
* Add stress_temp_filename_args helper
* Add stress_temp_dir_args helper
* Add stress_temp_dir_rm_args helper to rmdir given stressor args
* Add stress_temp_dir_mk_args helper to mkdir given stressor args
* Use arg->pid and arg->ppid rather than getpid() and getppid
* stress-tsc: fix missing typo
* Add pid, ppid and re-order args to pack more efficiently in args_t
* Pass args to stressors via a args_t struct
* Use the new mmap_check/set helper funcs
* Add mmap set/check helpers
* thrash: perform some sanity checks on mmap ranges
* stress-tmpfs: remove unnecessary mypid variable
* Add a tmpfs file/mmap stressor
* stress-af-alg: fix fd leak, add close on error exit path
* stress-af-alg: check for null ptr on cmsg to keep clang scan happy
* stress-resources: reduce scopeof slavename, make it const char *
* stress-netlink-proc: reduce scope of newname
* stress-vm-rw: return EXIT_NO_RESOURCE on resource failure
-- Colin King <colin.king@canonical.com> Tue, 31 Jan 2017 13:57:12 +0000
stress-ng (0.07.16-1) unstable; urgency=medium
* Makefile: bump version
* fast-test-all: remove vforkmany, this can be aborted by the OS
* stress-numa: abort when no NUMA nodes found with EXIT_NO_RESOURCE
* stress-numa: make determining number of nodes non-fatal
* stress-numa: correctly deduce number of available NUMA memory
nodes (LP: #1656419)
* stress-*: make all pr_inf info messages write to stdout and not stderr
* stress-numa: add some info about number of NUMA nodes found
* stress-numa: add in better error failure abort and error return
* stress-numa: probe for maximum number of NUMA nodes
* stress-wcstr: fix build error for stress_wcscpy
* stress-wcs: fix wcslcpy and wcslcat test cases
* stress-wcs: improve failure detection, bail out early if tests fail
* stress-str: fix strlcpy and strlcat test cases
* stress-str: improve failure detection, bail out early if tests fail
* stress-seccomp: add openat to system calls to fix failure on aarch64
* stress-seccomp: use pr_fail for seccomp errors
-- Colin King <colin.king@canonical.com> Fri, 20 Jan 2017 19:44:11 +0000
stress-ng (0.07.15-1) unstable; urgency=medium
* Makefile: bump version
* fast-test-all: use --stressors to get the list of stressors
* stress-ng: fix typo in tlb-shootdown-ops option
* stress-ng: correct the alphabetical order of stressor names
* fast-test-all: sync before running next test
* mounts: cater for *BSD mount info fetching
* stress-netlink-proc.c: fix build issue on non-Linux systems
* Fix build issue introduced in commit 39025068b1fe1c2a72220
* stress-ng.h: remove double line spacing, add some comments
* Manual: update contributors list
* stress-rename: fix incorrect end of test logic
* stress-ng: minor cleanup of spacing, some inlining and comments
* Remove white space and replace ^ . with \t
* Forgot to add in stress-netlink-proc.c
* Add netlink-proc stressor
* stress-rlimit: force checking of run time in case we miss SIGALRM
-- Colin King <colin.king@canonical.com> Tue, 17 Jan 2017 13:43:22 +0000
stress-ng (0.07.14-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* stress-socketpair: make stress_sockpair_oomable static
* stress-socketpair: detect an oom-killed stressor
* helper: don't use prctl PR_SET_DUMPABLE, it disables oom adjustment
and hence we can easily overcommit when running as root (LP: #1654971)
* out-of-memory: use /proc/self/... rather than /proc/$mypid/...
* helper: use /proc/self/... rather than /proc/$mypid/...
* stress-hsearch: don't free keys, some don't free them in hdelete
* stress-vforkmany: use sighandler alternative stack
* stress-context: make stack_sig static
* Makefile: remove -g flag
* stress-itimer: initialise start time
* Add new --vforkmany stressor
* stress-fanotify: ensure stress_fanotify_supported is built
* Add fanotify stressor
* Expand --get option in manual
* stress-get: don't verify on adjtimex if not root, add sysfs calls
* Add sysfs(2) shim wrapper
* stress-membarrier: also exercise CMD QUERY
* stress-dccp: report correct errno from connect failure
* Makefile: update copyright year
* update copyright year
-- Colin King <colin.king@canonical.com> Tue, 10 Jan 2017 15:32:10 +0000
stress-ng (0.07.13-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: rename check rule to fast-check-all
* manual: update date
* stress-udp: fix build warning on minix
* stress-mmap: fix build issue with ms_flags on GNU/HURD and minix
* add a make check rule to run debian/tests/fast-test-all
* stress-pthread: add error checking on cond, mutex and spinlock init
* add shim abstraction to msync, use this on various stressors
* stress-pthread: check for init failures and use a spinlock on counter
* add new dirdeep max depth directory stressor
* README: Update info on libraries required for a full build
* stress-cpu: fix missing bogo ops counter increment
* enforce 64 byte alignment to buffer
* stress-futex: fix typo in comment
* ensure stacks are aligned to 64 byte boundaries
* stress-hdd: use new align_address helper
* helper: add align_address helper to align a address to power of 2 boundary
* stress-sysinfo: only dump out info on number of mount points on instance 0
* trivial typo in man page
-- Colin King <colin.king@canonical.com> Tue, 27 Dec 2016 19:40:19 +0000
stress-ng (0.07.12-1) unstable; urgency=medium
* Makefile: bump version
* stress-udp: minix fails on setsockopt SO_REUSEADDR, so ignore it
* stress-get: don't use NULL delta, just pass a zero delta timeval struct
* stress-fifo: catch EINTR as non-fatal error on open
* stress-resources: fix warning message on unused parameter 'pipe_size'
* debian/tests: remove dccp from fast-test-all
* helper: fix build issues on non-linux targets
* update date in the manual
* stress-resources: add pty resource suckage
* stress-resources: add inotify resource suckage
* stress-resources: try to expande pipe to maximum allowed size
* stress-oom-pipe: use stress_probe_max_pipe_size helper
* helper: add stress_probe_max_pipe_size to fine max pipe size
* Add Datagram Congestion Control Protocol dccp stressor
* stress-resources: add single pthread as another resource hogger
* ensure -v output is no wider than 80 chars to avoid line wrap on std tty
* stress-schedpolicy: set policy with param, remove unused new_param
-- Colin King <colin.king@canonical.com> Mon, 19 Dec 2016 14:33:23 +0000
stress-ng (0.07.11-1) unstable; urgency=medium
* Makefile: bump version
* thrash: bump the priority to 10
* thrash: use RR scheduler if possible on linux
* stress-sctp: don't unlink on an address that is NULL
* stress-schedpolicy: the set/get param was a bit unsound, fix it
* stress-fault: silence a clang warning
* stress-membarrier: pass thread arg as a ctxt_t * type
* helper: make __stress_get_stack_direction static
* stress-fstat: rename jump buffer to jmpbuf to avoid name shadowing
* mlock: fix warning with older pre gcc 4.4 on solaris
* helper: fix some more print pid_t warnings
* fix warnings on printing pid_t type
* stress-cpu: only use gcc optimise attribute on gcc 4.4 or higher
* small cleanups to stress-ng.h
* stress-personality: return EXIT_NOT_IMPLEMENTED if no personalities exist
* replace #ifdef with #if defined() as the default idiom
* makefile: use grep -e instead of grep -f
* add support macro for gcc-7 switch statement case fallthrough
-- Colin King <colin.king@canonical.com> Wed, 14 Dec 2016 18:15:14 +0000
stress-ng (0.07.10-1) unstable; urgency=medium
* add copyright boiler plate on fast-test-all
* stress-personality: move memset to avoid memset 0 sized array
* forgot to add shim_getlogin to stress-ng.h
* shim: add more secure version of getlogin
* stress-mmapfork: fix typo on buffer sizeof
* stress-link: ensure buffer returned from readlink is terminated with zero
* shim_usleep: use nanosleep if it is available, fallback to older usleep
* stressors: use shim_usleep instead of deprecated usleep
* shim: abort early from shim_usleep if opt_do_run is false
* add usleep shim
* stress-opcode: rename signal handler dummy arg to signum
* stress-membarrier: memset pthread_ret with correct size
* stress-shm: use shim_fallocate rather than posix_fallocate
* stress-hdd: workaround lack of posix_memalign on sun
* stress-rmap: sun builds may not have posix_fallocate, so don't build it
* stress-wait: work around long int pid_t warnings on Sun systems
* stress-wcstr: sun wide char support has some wcs funcs missing
* stress-flock: disable this stressor for sun machines
* makefile: use -f instead of -e for Solaris versions of test
-- Colin King <colin.king@canonical.com> Tue, 13 Dec 2016 19:43:11 +0000
stress-ng (0.07.09-1) unstable; urgency=medium
* Makefile: bump version
* helper: fix cppcheck warning by initialising val1
* stress-fstat: don't open /dev files to stat them when running as root
* stress-fstat: don't bump counter if fstat fails
* stress-fstat: perform end of test check earlier than later
* stress-sync_file: use sync_file_range2() where required
* allow for static building, using STATIC=1 make
-- Colin King <colin.king@canonical.com> Tue, 6 Dec 2016 21:41:22 +0000
stress-ng (0.07.08-1) unstable; urgency=medium
* Makefile: bump version
* add NOCLOBBER macro and make some variables noclobberable
* stress-aio-linux: clean up clang warnings
* remove need to pass an argument to stress_get_stack_direction
* add smatchify script to make dist rule
* add smatchify static analysis script
* stress-userfaultfd: remove unnecessary exit_status call
* stress-socket: fix inconsistent indenting
* fast-test-all: remove tailing tabs
* snapcraft Makefile: remove trailing whitespace
* stress-daemon: clean up fd closing and add SIGALRM handler
* make daemon stressor a little more responsive to SIGALRMs
* make snapcraft confinement strict
* getrandom: add support for systems that support getentropy(2)
* shim: add comment about shim functions
* helper: remove caches = NULL for non-linux systems to fix build error
* shim: fall back to allocation via writes on fallocate
* stress-yield: remove need to use alloca, use calloc instead
* manual: add Luis to contributors list and sort names alphabetically
* shim: fix userfaultfd failures due to a typo
* increase STRESS_PROCS_MAX to 4096 for higher load on large iron
* stress-userfaultfd: work around static analysis false positive on fd
* stress-stream: avoid re-assignment of cpu_caches on linux case
* trash: remove traced, it is serving no purpose
* helper: don't re-assign cpu_caches on __linux__ build
* net: iterate to the size of domains rather than using sentinel
* affinity: remove #includes as these are included in stress-ng.h
* stress-oom: add in missing space between ooms and =
-- Colin King <colin.king@canonical.com> Thu, 1 Dec 2016 11:45:11 +0000
stress-ng (0.07.07-1) unstable; urgency=medium
* Makefile: bump version
* fast-test-all: don't run spawn test for testing
* fast-test-all: remove check for existence of stress-ng
-- Colin King <colin.king@canonical.com> Fri, 25 Nov 2016 19:55:33 +0000
stress-ng (0.07.06-1) unstable; urgency=medium
* update build rules for Solaris
* add MINIX notes to README
* shim: add check for posix_fallocate (fixes minix build error)
* abstract loff_t as it is not available on *BSD systems
* fix *BSD systems that don't support ino64_t and off64_t types
* stress-fallocate: use shim_fallocate wrapper
* shim: fix non-Linux build failure on shim_mlock2
* stress-fallocate: remove __linux__ only constraints on modes
* cache: make DCACHE and ICACHE #defines kernel gemeric
* remove white space and tabs at end of lines
* shim: add mlock2 system call to shim
* shim: add sched_getattr and sched_setattr shims
* shim: prefix linux_dirent* structs with shim_
* stress-seal: use shim for memfd_create
* stress-ng: minor re-ordering of structs and shim functions
* shim: rename sys_ioprio_* to shim_ioprio_*
* shim: add unshare system call to shim
* shim: add seccomp system call to shim
* shim: add userfaultfd system call to shim
* shim: add some more __linux__ checks
* stress-opcode: use shim_clear_cache
* shim: add NUMA specific system calls to shim
* shim: add memfd_create system call to shim
* shim: add membarrier system call to shim
* shim: add syslog system call to shim
* shim: add kcmp system call to shim
* shim: add __clear_cache GNUC cache clearing helper to shim
* shim: add getramdom system call to shim
* shim: add getdents and getdents64 system calls to shim
* shim: add getcpu system call to shim
* stress-get: use shim_gettid
* shim: add gettid system call to shim
* shim: add fallocate system call to shim
* shim: add copy_file_range system call to shim
* shim: add cacheflush system call to shim
* add shim abstraction layer for sched_yield()
* fast-test-all: add some feedback on when a test is being run
* use pr_fail_err on some more error messages
* fast-test-all: allow for STRESS_NG to specify stress-ng
* stress-epoll: fix build for GNU/HURD
* move all common #includes into stress-ng.h
* stress-ng.h: Add alloc.h include for sun arch
* stress-ng.h: include some more common headers and define _GNU_SOURCE
* stress-schedpolicy: fix broken counter, it was never being incremented
* stress-resources: fix broken counter, it was never being incremented
* stress-personality: fix broken counter, it was never being incremented
* stress-fp-error: fix broken counter, it was never being incremented
* fix broken counter, it was never being incremented
* stress-bind-mount: fix broken counter, it was never being incremented
* stress-handle: fix memory leak on line and also bump counter
* stress-apparmor: free apparmor_path to fix minor memory leak
* ensure cache region is free before termination
* stress-fstat: use sigsetjmp instead of sigjmp
* wrap some overly wide lines
* use pr_fail_err() instead of pr_fail where appropriate
* reduce scope of iterator variable i
* remove alloca in stressor_name_find
* remove space prefixed on klog-ops option
* mincore: touch pages even when mincore fails
* update syscalls.txt
* stress-schedpolicy: add sched_setattr/sched_getattr calls for Linux
* stress-schedpolicy: add more sched syscalls, clean up code
* add schedpolicy stressor
* stress-ng.h: change macro param name in STRESS macro
-- Colin King <colin.king@canonical.com> Fri, 25 Nov 2016 10:43:11 +0000
stress-ng (0.07.05-1) unstable; urgency=medium
* Makefile: bump version and update codename
* stress-fstat: fix resource leak on dp on error exit path
* stress-fstat: forcibly abort any system call on SIGALRM
* stress-aio-linux: use return as errno rather than errno
* stress-aio-linux: use return as errno rather than errno
* Need to #include <sched.h> when using clone(2)
-- Colin King <colin.king@canonical.com> Thu, 17 Nov 2016 22:55:21 +0000
stress-ng (0.07.04-1) unstable; urgency=medium
* Makefile: bump version
* Add SIGUSR2 load average and memory stats information
* Makefile: don't remove apparmor-data.o
* Rename stress_sethandler to stress_set_handler
* Manual: add notes on how to properly terminate stress-ng
* Add SIGHUP to comment about terminating stress-ng
* Makefile: clean up objects and apparmor-data.o
* affinity: add some comments to functions
* stress-cpu: add some optimisation hints
* stress-cpu: add some more precision to constants
* stress-fallocate: verify file size if posix_fallocate succeeded
* stress-aio-linux: check for io_setup resource failures (LP: #1640547)
-- Colin King <colin.king@canonical.com> Fri, 11 Nov 2016 12:42:12 +0000
stress-ng (0.07.03-1) unstable; urgency=medium
* Makefile: bump version
* stress-ioprio: use current pgrp and not global pgrp (LP: #1640631)
-- Colin King <colin.king@canonical.com> Thu, 10 Nov 2016 00:00:01 +0000
stress-ng (0.07.02-1) unstable; urgency=medium
* Makefile: bump version
* Manual: Add exit status 4 EXIT_NOT_IMPLEMENTED to documentation
* Treewide: remove messy #if defined() build checks
* Allocate io_reqs on heap rather than alloca
* Makefile: re-format PEDANTIC CFLAGS
* stress-fiemap: fix up --fiemap-bytes option
* stress-sock-fd: add --sockfd-port option
* Add PEDANTIC build flags for extra checking
* stress-icache: fix volatile cast warning
* stress-vm: fix volatile cast warning
* stress-socket: fix shadowing on addr
* stress-mincore: addr does not need to be volatile
* stress-ng, thermal_zone, remove shared param, it is global
* parse-opts: fix char * cast warnings
* perf: remove (char *) cast
* helper: fix warnings
* use gnu printf style attributes to pr_yaml
* helper: cast pointer to const to fix warning
* stress-poll: fix shadowing on ret, rename one to rc
* Fix various bad castings for munge_underscore
* stress-oom-pipe: fix shadowing on fd, rename to pfd to avoid confusion
* stress-mq: remove shadowing variable attr
* stress-hdd: remove duplicate declarations of ret; make it a ssize_t
* stress-ng: make helper functions static
* thrash: rename pid to thrash_pid
* stress-zombie: make helper functions static
* stress-zlib: make helper functions static
* stress-xattr: remove redundant shadowing variable ret
* stress-mremap: fix shadowing on rc, remove rc
* stress-link: fix shadowing on ret
* stress-rw-vm: fix shadowing of ret
* stress-vm-rw: make helper functions static
* stress-unshare: make helper function static
* stress-tsearch: constify pointers
* stress-socket-fd: make helper function static
* stress-seek: fix shadowing on ret
* stress-readahead: make helper function static, fix shadowing on ret
* stress-qsort: constify pointers
* stress-mlock: constify addr pointer cast
* stress-mergesort: constify pointers
* stress-memfd: fix shadowing of variable name
* stress-fork: make helper function static
* stress-lsearch: constify pointer casts
* stress-itimer: make helper function static
* stress-iopri: remove local pgrp that shadows global
* stress-inotify: make helper func static, fix some const casts
* stress-heapsort: fix constify warnings
* stress-handle: make helper functions static
* stress-fp-error: fix float comparison
* stress-fifo: make helper function static, fix ret shadowing
* stress-filename: make helper functions static
* stress-fiemap: make helper functions static
* stress-dnotify: make dnotify_attrib_file static, fix newpath const
* stress-dentry: fix shadowing of variable j
* stress-bsearch: correctly constify casts on i1, i2
* stress-bind-mount: make stress_bind_mount_child static
* stress-cpu-online: make stress_cpu_online_set static
* stress-clone: make stress_clone* helper functions static
* stress-bsearch: constify i1 and i2
* stress-aio-linux: remove duplicate and shadowing variable ret
* stress-af-alg: make helper functions static
* Remove redundant re-declaration of mwc_seed
* stress-cap: sscanf on pid_t should be %d
* Make munge_underscore arg const char *
* Mungify _ to - in stressor names in --stressors option
-- Colin King <colin.king@canonical.com> Tue, 8 Nov 2016 15:58:11 +0000
stress-ng (0.07.01-1) unstable; urgency=medium
* Makefile: bump version
* manual: update date
* stress-ng: fix build issues for Solaris
* stress-rmap: fix warnings with gcc 3.4.3
* stress-rmap: Don't build for OpenBSD, it does not support posix_fallocate
* stress-rmap: don't build for Minix
* stress-rmap: rename macro CHILD_MAX to RMAP_CHILD_MAX
* Add dnotify stressor
* stress-*: voidify calls to setpgid
* thrash: remove ptrace waits, not really required
* thrash: use more standand %jx to scan in memory sizes
* thrash: remove debug messages
* manual: fix missing escape on - in --metrics-brief
* Add --stressors option to show available stressors
* cache: ensure path is set correctly for CPUs > 0
* cache: fix FIXMEs on determining the CPU number a process is running on
* Add stress_get_cpu() helper to fetch CPU number process is running on
* manual: fix typo --stack-full should be --stack-fill
* stress-rmap: remove redundant NO_MEM_RETRIES_MAX
* stress-apparmor: another fix to signal handler comment
* stress-rmap: uncomment setpgid call
* stress-rmap: replace white spaces with tab
* Add rmap stressor
* stress-apparmor: fix comment
* stress-icmp-flood: just count number of sendto failures
* Add --thrash option. Don't use it unless you are crazy.
* debian tests: expand the SKIPPED notes on the test script
* debian test: use STRESS_NG var for stress-ng
* debian test: Use sh and make use POSIX string compare
* Add proc helper to help with init/destroy stressor helpers
* call stress_unmap_shared if share cache region allocation fails
* Add stress_map_shared helper to mmap stress-ng shared region
* generalise max proc limiting
* Factor out random stressor setting into helper function
* Factor out pathological stressor disabling into helper function
* stress-resources: declare pid if O_TMPFILE is also defined
-- Colin King <colin.king@canonical.com> Fri, 28 Oct 2016 11:49:41 +0100
stress-ng (0.07.00-1) unstable; urgency=medium
* Makefile: bump version
* Make ICMP flood stressor conditional build on OS basis
* debian/rules: add hardening flags
* helper: fix white space indentation (spaces replaced by tab)
* stress-ng: bracket pid number on abort early message
* stress-userfaultfd: catch OOMs and report these as no resource issues
* stress-timer: make stress_timer_set static
* stress-sysfs: add zero byte writes to sysfs files
* stress-procfs: add zero byte writes to procfs files
* stress-icache: ensure we mprotect on page aligned boundary
* stress-opcode: unmap the shared region so we don't clobber it
* stress-ng: generalise the run-time unsupported stressor checks
* Add ICMP flood stressor
* stress-shm*: minor change to comment
* stress-rtc: fix ioctl() issues, use rtc_wkalrm for wake alarm ioctls
* stress-rtc: add padding around rtc_tm to workaround an ioctl bug
* stress-oom-pipe: fix pipe fd offset bug, causing writes to fd 0 on ppc64el
* stress-ng: fix spelling of resrouces -> resources
* stress-rtc: handle return code correctly and -EINTR aborts
-- Colin King <colin.king@canonical.com> Mon, 17 Oct 2016 09:44:02 +0100
stress-ng (0.06.18-1) unstable; urgency=medium
* Makefile: bump version
* stress-resources: include alloca.h for __sun__ arch
* stress-ng: add missing break from switch on OPT_NO_RAND_SEED case
* stress-procfs/sysfs: abort rather than re-doing reads on read errors
* Add --no-rand-seed option to force reproduceable test start conditions
* stress-wcstr: use safe strlcat and strlcpy BSD* systems
* stress-str: use safe strlcat and strlcpy on *BSD systems
* stress-str: use safe strlcat and strlcpy if we have BSD string library
* Makefile: explicitly add -lc flags, stops a warning on FreeBSD builds
* stress-resources: pid variable declared only on specific builds
* stress-resources: don't build in syscall shims if we don't use them
* stress-mmapfork: set max strncat size appropriately
* Remove old deprecated --vm-stride from man page
* stress-resources: chew up less memory
* Remove resources stressor from fast test all
* stress-resources: add setpgid call
* stress-resources: try harder to terminate on SIGALRM
* Add resource stressor
-- Colin King <colin.king@canonical.com> Mon, 3 Oct 2016 13:29:23 +0100
stress-ng (0.06.17-1) unstable; urgency=medium
* Makefile: bump version
* Update manual to explain the caveats with --perf
* perf: detect when perf counters can't be used (LP: #1626009)
- add better explanation on how to enable --perf as
an unprivileged user
-- Colin King <colin.king@canonical.com> Wed, 21 Sep 2016 10:25:17 +0100
stress-ng (0.06.16-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: add test-libsctp.c to make dist rule
* test-libcrypt: fix cppcheck warning
* Debian/control: add libgcrypt11-dev
* stress-procfs: clear stack before use
* manual: update date
* stress-sysfs: only report an info message on instance 0
* test-libsctp: add some checks for required macros
* sched: fix build warning when building with clang on minix
* sched: fix build warning when building with clang on minix
* stress-stack: fix build warning when building with clang on minix
* stress-mmap: fix build warning when building with clang on minix
* stress-get: fix build warning with clang on minix
* stress-sctp: add in missing --sctp-domain option, update manual
* Update net helper to add addresses, add new SCTP stressor
* Some minor cleanups to main stress-ng header, nothing major
* rename get_unsigned_long to get_uint32
* Some more 80 column source line width fixes
* stress-sysfs: use fstat rather than access on path
* stress-procfs: forgot to re-open closed file
* stress-procfs: add some illegal read calls to try to break procfs
* stress-sysfs: add some illegal read calls to try to break sysfs
* Make snapcraft confinement devmode
* Minor formatting changes to ensure 80 column wide source
* stress-tlb-shootdown: fix indentation
* stress-context: don't build with sigaltstack if minix or hurd
* stress-context: add use of sigaltstack and SS_AUTODISARM
* helper: fix indentation
* stress-opcode: fix indentation
* stress-ioprio: remove duplicate and badly indented umask() call
* stress-epoll: fix indentation on if statement
* helper: set core size to zero if possible with setrlimit
* helper: force number of cpus to be 1 if sysconf not available
* net: declare missing in6addr_any for minix
* stress-mmap: make mprotect a no-op for minix
* stress-mmap: don't use msync for minix
* stress-shm-sysv: don't use msync for minix
* stress-stack: don't use sigaltstack for minix
* sched: make this a no-op for minix
* mlock: make this a no-op for minix
* don't enable STRESS_MSYNC for minix
* don't enable STRESS_YIELD for minix
* stress-flock: don't yield if minix
* mincore: make this a no-op for minix
* madvise: this is a no-op for minix
* stress-mlock: don't build for minix
* stress-cpu: minix does not support cabsl, use cabs instead
* stress-hdd: don't do madvise for minix
* stress-get: minix does not have getpgrp()
* stress-ng.h: don't build in mlock stressor if minix
* forgot to guard MLOCK stressor with STRESS_MLOCK check
* stress-get: minix does not have getpgid()
* mounts: fix build issues for minix
* mincore: fix build warning on minix
* stress-ng.h: only include <pthread.h> if it is available
* stress-wait: cater for systems that lack WCONTINUED
* stress-sigsuspend: remove <pthread.h> header inclusion, not required
* stress-quota: make err local to each code block
* stress-quota: remove redundant err assignment
* stress-quota: rename local errno so we don't alias global errno
* stress-quota: fix cppcheck style warning
* stress-madvise: fix cppcheck style warning
* stress-clock: fix cppcheck style warning
* stress-sysfs: fix cppcheck style warning, initialize stack
* stress-ng: clarify precedence of & and ?, fixes cppcheck style warnings
* stress-handle: ensure scanf %s field is limited to avoid overruns
* Fix SunOS builds, add socket and nsl library link flags
* Use mfence instead of __sync_synchronize for gcc pre 4.2 on x86
* Makefile: explicitly specify C standard using --std=gnu99
* stress-vm: don't use binary constants, gcc may not support these
-- Colin King <colin.king@canonical.com> Fri, 16 Sep 2016 16:15:48 +0100
stress-ng (0.06.15-1) unstable; urgency=medium
* Makefile: bump version
* stress-af-alg: account for number of ENOENT crypto bind failures
* stress-af-alg: don't report bind on ENOENT as a failure (LP: #1617788)
- retry is performed, failures are accounted for in debug verbose -v mode
-- Colin King <colin.king@canonical.com> Sun, 28 Aug 2016 19:02:11 +0100
stress-ng (0.06.14-1) unstable; urgency=medium
* Makefile: bump version
* stress-mmapfork: add more feedback on segv faults (LP: #1614099)
-- Colin King <colin.king@canonical.com> Wed, 17 Aug 2016 14:28:18 +0100
stress-ng (0.06.13-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: add snapcraft into make dist
* ignite-cpu: ensure buffer is null terminated before calling strlen
* stress-affinity: only check CPU move if sched_getaffinity succeeds
* Add snapcraft packaging
* stress-seccomp: inject some random BPF op codes
* force indirect libc calls to enforce calls to libc wide str functions
* stress-str: fix incorrect order on args in call to stress funcs
* stress-str: force indirect libc calls to enforce calls to libc str functions
* ensure cache info is only printed once
* Manual: fix typo: build -> built
-- Colin King <colin.king@canonical.com> Tue, 16 Aug 2016 11:38:12 +0100
stress-ng (0.06.12-1) unstable; urgency=medium
* Makefile: bump version once more
* Update manual page date since we've touched the manual
* stress-seal: don't abort fatally if memfd_create is not available.
* fast-test-all: cater for non-fatal test exit status
* Add oom-pipe to fast-test-all exclusion list
* Manual: clarify that return code 3 could refer to missing system call
* stress-fcntl: handle EAGAIN lock requests more robustly
* stress-fcntl: don't check initial GETLK status
* stress-icache: don't fail if advice fails on EINVAL
-- Colin King <colin.king@canonical.com> Fri, 15 Jul 2016 15:24:56 +0100
stress-ng (0.06.11-1) unstable; urgency=medium
* Makefile; bump version
* fast-test-all: don't run seccomp, it may not pass on some kernels
* stress-fault: handle segfaults that occur on some BSD kernels
* stress-icache: only madvice if MADV_NOHUGEPAGE is defined
* stress-icache: don't assume that read/write/exec protection is allowed
* Update cache-mfence helper. It supports ARM now.
-- Colin King <colin.king@canonical.com> Thu, 14 Jul 2016 10:11:12 +0100
stress-ng (0.06.10-1) unstable; urgency=medium
* Makefile: bump version again
* stress-atomic + build: the autodetect smarts did not work, fix them
- need to check that the linker also provides all the atomic built-ins
too.
-- Colin King <colin.king@canonical.com> Tue, 12 Jul 2016 17:29:46 +0100
stress-ng (0.06.09-1) unstable; urgency=medium
* Makefile: bump version
* stress-atomic: don't make tmp volatile, fixes clang warnings
* Add smarts to Makefile to detect if atomic GCC functions are supported
- fixes FTBFS issues on mips, mipsel, powerpc, m68k, powerpcspe, sh4
-- Colin King <colin.king@canonical.com> Tue, 12 Jul 2016 10:52:18 +0100
stress-ng (0.06.08-1) unstable; urgency=medium
* Makefile: bump version
* Manual: update date
* stress-ptrace: EINTR is not a failure on waitpid
* stress-tlb-shootdown: remove case where < 2 CPUs abort the test
* Add GCC atomic ops stressor
* stress-copy-file-range: handle ENOSPC as non-fatal
* stress-icache: call __clear_cache() between code modifications.
* Enable icache stressor for arm
* Add renameat2 to syscalls
* Add preadv2/prwritev2 to syscalls
* stress-lockbus: use GCC builtin __atomic_add_fetch to test lock bus
* stress-epoll: void return on timer_settime
* Manual: update contributors, add Zhiyi Sun
-- Colin King <colin.king@canonical.com> Tue, 12 Jul 2016 08:26:59 +0100
stress-ng (0.06.07-1) unstable; urgency=medium
* Makefile: bump version
* stress-msg: add in IPC_INFO, MSG_INFO, MSG_STAT msgctl calls
* stress-vecmath: add more ops to make vecmath more demanding
* stress-sync-file: sync on mode rather than on the sync_modes index
* stress-opcode: use __builtin___clear_cache to avoid clang warning
* stress-get: fix typo on syscall name
* replace mfence with __sync_synchronize builtin
* stress-bigheap: remove redundant call to stress_get_pagesize
-- Colin King <colin.king@canonical.com> Fri, 24 Jun 2016 09:56:23 +0100
stress-ng (0.06.06-1) unstable; urgency=medium
* Makefile: bump version
* stress-shm-sysv: don't msync on GNU HURD, it is not implemented
* stress-shm: don't msync on GNU HURD, it is not implemented
* stress-ng: build in OPT_MEMFD_BYTES case if STRESS_MEMFD defined
* manual: fcntl: add in missing locking commands
* stress-socket: add --sock-type socket type option
* Add Linux open file description locks stressor
* Add POSIX advisory locking stressor
* stress-fcntl: add more locking fcntl commands
* man page: add --taskset example
* stress-memfd: add better termination exit points, don't fail on EXNIO
* stress-memfd: add a --memfd-bytes size specifier option
* perf + Makefile: Add some smarts to detect available perf enums
* stress-shm: msync the shm region
* stress-shm-sysv: msync the shm region
* stress-memfd: add hole punching to memory
* stress-mremap: add MAP_FIXED remappings
* stress-memfd: add random madvise to add some more page stress
* stress-memfd: add seeks to memfd stressor
* stress-xattr: rename name to attrname to stop shadowing on name
* Update README stress test count
* Add in missing seccomp from the --help info
* Add a fcntl SEAL command stressor
* README: update number of tests
* time_now: return -1.0 for failed time fetch
* stress-get: add getcpu system call
* stress-dup: only close fd's that are open
-- Colin King <colin.king@canonical.com> Fri, 10 Jun 2016 12:36:33 +0100
stress-ng (0.06.05-1) unstable; urgency=medium
* Makefile: bump version
* stress-mmap: ensure we don't leak fd, cleanup on exit
* fast-test-all: don't run exec test
* stress-mremap: catch SEGV and OOM restarts
* stress-mmap: catch SEGV and OOM restarts
* fast-test-all: exclude pty
* Revert "stress-mremap: add random MAP_FIXED option to mremap"
* stress-zero: #if def around ptr declarion for non-Linux systems
* stress-zero: only perform /dev/zero mmapping on Linux
* stress-cacheflush: remove sys_cacheflush for non linux systems
* stress-shm-sysv: SHM_INFO and IPC_INFO are linux only
* stress-cache: only call cacheflush on Linux systems
* stress-filename: filename option should be from the .opt field
* stress-rtc: fix some overly pedantic warnings from cppcheck
* stress-shm: sync, expand and shrink shm region, extra stress
* stress-open: use different forms of open flag combinations
* stress-zero: mmap /dev/zero and check if the contents is zero
* stress-pipe: sanity check pipe size setting
* stress-dup: add dup2 on same fd exerciser
* stress-fcntl: add some more fcntl commands
* stress-seek: add SEEK_CUR, SEEK_END seek options
* stress-utime: exercise UTIME_NOW and UTIME_OMIT settings
* stress-userfaultfd: add poll to add some more kernel coverage
* Add stress_set_nonblock to set fd to non-blocking I/O
* stress-userfaultfd: add in zeropage handling
* stress-mremap: add random MAP_FIXED option to mremap
* stress-readahead: remove redundant if defined() checks on fadvise
* Add SIGHUP trapping and send SIGALRM to all processes on death
* stress-personality: only print number of personalities in instance 0
* syscalls: update pause information
* stress-cache: use cacheflush() on systems that provide this syscall
* syscalls: update ioctl entry
* perf: add "per" / marking for per second
* Add pty stressor
* Add semtimedop to syscalls, it is present in stress-sem-sysv.c
* stress-cap: add capset call for current stressor process
* stress-shm-sysv: add some additional exercising of shmctl commands
* stress-sem-sysv: exercise more of the semctl commands
* Add trivial chown stressor
* stress-dup: use dup3() on linux if it is available
* Makefile: vecmath: make the file touch silent
* stress-key: add request_key system call
* syscalls: update pipe2 entry, this is now being exercised by stress-pipe
* stress-mq: memset sigev to zero
* stress-madvise: only build in if STRESS_MADVISE defined
* Add madvise stressor
* syscalls: add mq_timedsend to mq
* stress-mq: use timed and non-timed versions of send/receive
* stress-mq: add mq_notify calls every 1024 iterations
* stress-link: lstat the link
* Widen metrics dump stressor name field to 13 chars
-- Colin King <colin.king@canonical.com> Fri, 27 May 2016 11:37:09 +0100
stress-ng (0.06.04-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: remove gcc coverage build flags
- these were accidentally added in the previous release and not
removed
-- Colin King <colin.king@canonical.com> Wed, 18 May 2016 19:16:45 +0100
stress-ng (0.06.03-1) unstable; urgency=medium
* Makefile: bump version
* stress-cap: cap data needs _LINUX_CAPABILITY_U32S_3 elements in size
* stress-nice: add some randomness to the delay to unsync nicenesses
* stress-opcode: remove white spaces
-- Colin King <colin.king@canonical.com> Wed, 18 May 2016 15:06:34 +0100
stress-ng (0.06.02-1) unstable; urgency=medium
* Makefile: bump version
* Makefile + stress-vecmath: add more smarts to detect gcc build failures
* stress-af-alg: don't fatally fail on bind on AF_ALG
* stress-af-alg: fix up error messages
* Add stackmmap stressor
* stress-stack: ensure signal handling stack is aligned
* stress-context: ensure stack is aligned to 64 byte boundaries
* stress-opcode: disable signal count tracking
* stress-opcode: clean up code a little
* Add opcode stressor
* update syscalls.txt
* stress-ioprio: perform some io writes to exercise i/o priorities
* Add ioprio stressor
-- Colin King <colin.king@canonical.com> Sun, 15 May 2016 17:36:11 +0100
stress-ng (0.06.01-1) unstable; urgency=medium
* Makefile: bump version
* stress-af-alg: avoid any unterminated strings (unlikely)
* debian/control: add libcap-dev to Build-Depends
* stress-hdd: should use SIZEOF_ARRAY instead of sizeof
* stress-full: don't close fd before trying a read
* stress-af-alg: ensure the rng read size is correct
* stress-af-alg: fix more -ve fd closes
* stress-af-alg: don't close fd that is -ve
* stress-tlb-shootdown: fix incorrect comparison on ENOMEM
* stress-af-alg: check for errors on setsockopt
* stress-full: try read test rather than skip if write fails
* stress-full: clear buffer before we write
-- Colin King <colin.king@canonical.com> Fri, 6 May 2016 22:58:01 +0100
stress-ng (0.06.00-1) unstable; urgency=medium
* Makefile: new major version and codename
* stress-msync: cast off_t to intmax_t to print with %jd format specifier
* debian/control: update Standards Version to 3.9.8
* manual: update date
* stress-msync: add in conditional STRESS_MSYNC build check
* stress-af-alg: add simple rng to the mix
* stress-af-alg: remove redundant type field info
* manual: rephrase the --seq description
* manual: clean up the SEE ALSO section
* Add TLB shootdown stressor
* stress-af-alg: remove (void)name
* Add /dev/full stressor
* stress-urandom: where possible also read data from /dev/random
* Manual: update af-alg skciper section.
* stress-hdd: work through all the --hdd-opts if --maximize is enabled
* stress-xattr: fix error messages, they were reporting wrong syscall
* stress-af-alg: use array size so we don't need NULL sentinels
* stress-af-alg: Add skcipher stessing
* stress-procfs: add /proc/tty, /proc/self, /proc/thread_self
* stress-key: Add some more keyctl calls
* Rename stressor names to match their command line name
* Add msync stressor
* Fix non-Linux build for set_cpu_affinity
* stress-rtc: also read /proc/driver/rtc
* Add RTC stressor
* stress-get: use prlimit only with glibc >= 2.13.0
* stress-procfs: add more /proc directory traversal
* stress-inotify: add ioctl FIONREAD to peek at available data on fd
* Add the CPU affinity option '--taskset'
* stress-cache: make pinned a linux only variable
* stress-cache: fix pinned message, swap cpu and instance around
* stress-cache: fix failure to build on GNU/HURD
* Update contributions authors in manual
* Ensure processes are kept to the CPU affinity set
* taskset -c 4-7 stress-ng --cache 4 --stream 4 --yield 4
* Update README with other OS build notes
* stress-spawn: make this a Linux only test
* Disable MLOCKED sections for now on SunOS, we get linker issues
* stress-ng: correct casts of void *
* stress-ng: include alloca.h for SunOS
* stress-ng: cater for systems that don't support RLIMIT_NPROC
* mincore: cater for SunOS mincore API difference
* stress-yield: correct casts of void *
* stress-yield: include alloca.h for SunOS
* stress-vm: correct casts of void *
* stress-stream: correct casts of void *
* stress-str: include strings.h for SunOS builds for index() prototype
* stress-stack: include alloca.h for SunOS
* stress-sigsuspend: correct casts of void * and uint64_t *
* stress-mmapmany: correct casts of void * and uint8_t *
* stress-mmap: correct casts of void * and uint8_t *
* Fix alignment mask to ensure stacks are 16 byte aligned (LP: #1573117)
* stress-mlock: correct casts of void * and uint8_t *
* stress-icache: cast addr to (void *) in mprotect calls
* mounts: SunOS requires *BSD style build arrangements
* stress-hdd: cast data to (void *) to silence warning
* stress-hdd: don't use futimes for Solaris UNIX
* Add logging to syslog of free memory info post-OOM
* Add system and memory syslog logging
* stress-brk: catch EAGAIN errors on sbrk/brk
* Remove debug log test message
* stress-socket-fd: only build stressor if STRESS_SOCK_FD defined
* Add logging of who and how stress-ng was invoked to syslog
-- Colin King <colin.king@canonical.com> Wed, 4 May 2016 09:57:59 +0100
stress-ng (0.05.25-1) unstable; urgency=medium
* Makefile: bump version
* debian/control: update standards version to 3.9.7
* Ensure all clone() calls are 16 byte aligned for aarch64 (LP: #1573117)
-- Colin King <colin.king@canonical.com> Fri, 22 Apr 2016 09:50:44 +0100
stress-ng (0.05.24-1) unstable; urgency=medium
* Makefile: bump version
* stress-mmap: handle SIGBUS signals (LP: #1569468)
* stress-mmapmany: sanity check sysconf return
* stress-mmapmany: detect SEGV deaths
* stress-mlock: detect SEGV deaths
* stress-brk: detect SEGV deaths
* stress-bigheap: detect SEGV deaths
* stress-memfd: detect SEGV deaths
* stress-mmapmany: allocate mappings on heap rather than stack
* stress-mlock: allocate mappings on heap rather than stack
* stress-cpu: move sieve buffer to static to reduce stack size
* stress-sem*: differentiate between which semaphore init that failed
* stress-remap-file-pages: abort if remap fails
* stress-fiemap: remove \n from pr_fail_err messages
-- Colin King <colin.king@canonical.com> Thu, 14 Apr 2016 11:00:11 +0100
stress-ng (0.05.23-1) unstable; urgency=medium
* Makefile: bump version
* stress-aio: fix segfault on --maximumize option (LP: #1568335)
* stress-chmod: just instance 0 should create the file (LP: #1568333)
-- Colin King <colin.king@canonical.com> Sat, 9 Apr 2016 17:48:23 +0100
stress-ng (0.05.22-1) unstable; urgency=medium
* Makefile: bump version
* stress-af-alg: retry open if we get EAFNOSUPPORT (LP: #1564786)
-- Colin King <colin.king@canonical.com> Fri, 1 Apr 2016 09:40:56 +0100
stress-ng (0.05.21-1) unstable; urgency=medium
* Makefile: bump version
* Add test-cap.c to Makefile dist rule
* debian: tests: don't run remap stressor
* stress-ng: add klog (syslog) stressor
* syscalls: add remap_file_pages
* Add page remapping stressor
* stress-pthread: Add get_robust_list call
* stress-sysinfo: exercise fstatfs()
* Move wcs options to correct position in manual
* Add the sync-file stressor
* Add fp-error stressor
* syscalls.txt: update some missing syscalls and some re-ordering
* Add sys/capability.h and capget build time checks
* stress-get: add prlimit
* Update syscalls.txt with capget stressor
* Add capabilities stressor
-- Colin King <colin.king@canonical.com> Sun, 20 Mar 2016 11:39:31 +0000
stress-ng (0.05.20-1) unstable; urgency=medium
* Makefile: bump version
* stress-getdent: fix build warnings on systems with no getdents syscalls
* Manual: update date
* Debian/changelog: fix spelling mistake
* stress-udp: fix two warnings on uninitialised addr
* stress-socket-fd: fix two scan-build warnings
* stress-getdent: init ret to -ENOSYS, fix scan-build warning
* Use the generic signal handler helpers
* helper: add generic signal handling/restoring helper functions
* stress-oom-pipe: use stress_get_file_limit
* stress-open: use stress_get_file_limit
* stress-dup: use stress_get_file_limit
* stress-socket-fd: use stress_get_file_limit
* helper: add stress_get_file_limit to get max open files allowed
* Add sockfd stressor
* Add getdent stressor
* stress-filename: use strncpy rather than strcpy
* stress-qsort: use calloc
* stress-cpu: zeta method should be counting in integers
* stress-mergesort: use calloc
* stress-heapsort: use calloc
* stress-bsearch: use calloc
-- Colin King <colin.king@canonical.com> Sat, 12 Mar 2016 17:58:42 +0000
stress-ng (0.05.19-1) unstable; urgency=medium
* Makefile: bump version
* stress-switch: don't initialize buf_size twice
* stress-ng: don't stress-sleep options unless STRESS_SLEEP defined
* stress-shm-sysv: comparing j < i - 1 is incorrect when i = 0
* stress-shm-sysv: parent should close read end of pipe
* stress-context: make stacks larger, avoid segfault on kFreeBSD
* stress-oom-pipe: handle condition where pipe size can't be set
* stress-pipe: use O_DIRECT when possible
* stress-switch: use O_DIRECT with 1 byte buffer is possible
* stress-oom-pipe: ensure sz is set before we check it against prev_sz
* Add stress-oom-pipe pipe buffer stressor
* helper: fix comment on system_read()
* stress-fallocate: add in default mode 0
* stress-iosync: fix build warning when using old glibc:
* stress-fstat: add blocklist of paths not to open/fstat/close
* correctly spell stress_adjust_pthread_max
* stress-str: make some statics into static const
* stress-socket: make socket_opts static const
* stress-maxtrix: make some statics static const
* stress-vm: make some statics static const
* stress-wcstr: make variables static const
* stress-get: make priorities static const
* stress-filename: make filename_opts static const
* stress-dentry: make dentry_removals static const
* stress-cpu: make some variables static const
* stress-clone: make flags and unshare flags static const
* stress-chmod: make modes static const
* perf: make perf_tp_info static const
* cache: make struct generic_map const
* helper: make stress_temp_path static const
* stress-udp-flood: make data static const
* stress-spawn: make exec strings static
* Only define OPT_PTHREAD* macros if STRESS_PHREAD is defined
* Minor #define changes, no functional change
* stress-cpu: remove redundant initialisation of last_e
* stress-cpu: don't build _Decimal stressors with clang
* stress-shm-sysv: set entire shm_ids array to -1
* stress-fork: make child exit immediately and stash pid only in parent
* stress-xattr: free buffer on error exit path
* stress-timerfd: fix timer thresholding check
* Add sleep stressor
* stress-clock: add some comments and make source 80 column friendly
* bigheap: reorder some variables on the stack for better packing
* Add whitespace in return statement
* thermal-zone: minor clean up
* net: make loop iterator size_t
* cache: minor code tweaks, no functional changes
* cache: rework get_contents error return paths
* cache: reformat function declarations to match the stress-ng code style
* clean up and rename macro mk_path to MK_PATH
* Ensure we do not under run string buffer
* Add apparmor_parser executable check
* time: make source 80 column friendly
* thermal-zone: make source 80 column friendly
* sched: make source 80 column friendly
* perf: make source 80 column friendly
* mlock: make source 80 column friendly
* limit.c: remove redundant #includes
* io-priority: make source 80 column friendly
* ignite-cpu: make source 80 column friendly
* Include stress-ng.h first for __kernel_long_t and __kernel_ulong_t
-- Colin King <colin.king@canonical.com> Thu, 3 Mar 2016 17:20:01 +0000
stress-ng (0.05.18-1) unstable; urgency=medium
* Makefile: bump version
* stress-eventfd: fix incorrect return check on eventfd (LP: #1547450)
* stress-mknod: fix == comparison on errno (LP: #1547446)
* stress-tee: catch EINTR in splice() calls (LP: #1547434)
-- Colin King <colin.king@canonical.com> Fri, 19 Feb 2016 12:40:24 +0000
stress-ng (0.05.17-1) unstable; urgency=medium
* Makefile: bump version
* stress-aio: don't cancel the signal handler before exiting (LP: #1547108)
* stress-lockf: don't return failure if we get a timeout (LP: #154107)
* stress-aio: don't return failure if we get a timeout (LP: #1547090)
* Check for ENOMEM ENOSPC errors during init (LP: #1547062)
* make stress_temp_dir_mk and stress_temp_dir_rm return -errno on failure
* stress-dentry: fix file striding on clean-up (LP: #1547004)
* Add stress_get_prime64 to stress-ng header
* Add stress_get_prime64 to find a prime for filename striding
* typedef possibly missing __kernel_long_t and __kernel_ulong_t
* Add <linux/posix_types.h> for linux builds
* stress-aio-linux: fix clang scan-build warning
* Makefile: only do build time config detection when building target
-- Colin King <colin.king@canonical.com> Thu, 18 Feb 2016 17:52:11 +0000
stress-ng (0.05.16-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: add test-libaio.c to dist rule
* stress-seccomp: EINTR on waitpid is not a failure, so ignore it
* stress-numa: aborted test should not be a failure, nothing got tested
* stress-quota: check for EPERM, abort if we don't have permission
* stress-kcmp: check for EPERM, abort if we don't have permission
* debian/control: add libaio-dev dependency
* stress-aio: use aiolib instead of direct system calls
* Catch faults in child stressor and flag them as a fatal failure
* stress-socket: only build in sendmmsg test for glibc 2.14 or higher
* stress-iosync: build in syncfs call for glibc 2.14 or higher
* Add detection for <linux/seccomp.h>
* stress-handle: only build in if we have glibc 2.14 or higher
* ignite-cpu: don't print failure message as inf, make it dbg
* stress-malloc: calloc'd size is too big, fix the size (LP: #1544575)
* mincore: page align address of buffer before passing it to mincore
-- Colin King <colin.king@canonical.com> Fri, 12 Feb 2016 19:02:59 +0000
stress-ng (0.05.15-1) unstable; urgency=medium
* Makefile: bump version
* fast-test-all: add pass/fail summary at end
* fast-test-all: fix typo, socket-pair should be sockpair
* stress-handle: specify width of integer in sscanf
* Manual: expand the error exit code notes
* stress-qsort: cast data to (uint8_t *) to stop static analysis warnings
* stress-hdd: close file on a fstat failure
* stress-futex: add backoff delay if futex is too much in contention
* stress-sendfile: ignore EINTR on sendfile calls
* stress-readahead: handle -ENOSPC as a non-failure condition
* stress-vm-rw: re-organise the code into parent/child helpers
* stress-userfaultfd: set stack size to be STACK_SIZE
* stress-hdd: handle -ENOSPC as a non-failure condition
* adt: remove socket-pair from tests
* cache helper: output cache allocation size
* stress-cpu-online: only report root requirement on instance 0
* stress-cpu-online: Don't report a failure if not run as root
* Add L before cache level to make the debug less abstract
* stress-denty: ENOSPC should not be a fatal error that stops the test
* Fix -x option, compare munged strings to treat '_' like '-'
* Ensure pathological class is disabled if we don't enable --pathological
* stress-zlib: fix comparison which should not be an assignment
* helper: fix double free on error exit
-- Colin King <colin.king@canonical.com> Wed, 10 Feb 2016 10:35:16 +0000
stress-ng (0.05.14-1) unstable; urgency=medium
* Makefile: bump version
* Fix make dist - typo in test-libpthread.c
* stress-fiemap: initialise counter at start of loop
* stress-fiemap: ensure counter is being updated
* adt: exclude bind mount from list of stressors
* Don't emit warning on --pathological if number of stressors is zero
* ignite-cpu: add null entry at end of list, don't scan by array size
* Only include <sys/mount.h> for linux for the bind mount stressor
* stress-bind-mount: build stressor if STRESS_BIND_MOUNT defined
* stress-bind-mount: stop cppcheck whining about uninitialised pid
* stress-numa: don't fatally fail on -EIO with MPOL_MF_STRICT (LP: #1542741)
* Enabled IGNITE_CPU with the --aggressive option
* Add bind-mount stressor (LP: #1542010)
* Add --ignite-cpu option to maximize CPU frequency
* Make float decimal auto detect set -DHAVE_FLOAT_DECIMAL
* Minor re-org of Makefile, and add more files to dist rule
* Update README - increase number of stressors
* adt tests: remove membarrier, it fails on older kernels in Debian
* Add some more comments
* stress-affinity: handle EINVAL when CPU(s) are offline
* Set number of instances to on-line CPUs if N is -ve (LP: #1513546)
* Remove opt_long, replace with get_int32 or get_uint64
* Add libpthread build time checks
* Add librt build time checks
* Remove commented out old link line
* Add libcrypt check
* Makefile: remove test-libz correctly
* stress-cpu: make source 80 column friendly
* Add FORCE_DO_NOTHING macro do force compiler to stop opimizing out loops
* Add zlib stressor
* stress-stream: cater for systems without L3 cache
* stress-stream: only emit cache size info on instance 0
* Add libbsd-dev to README
-- Colin King <colin.king@canonical.com> Mon, 8 Feb 2016 18:29:11 +0000
stress-ng (0.05.13-1) unstable; urgency=medium
* Makefile bump version
* Makefile: add test-libbsd.c to dist rule
* adt: Bar a few more tests that can be problematic on different arches
* stress-fifo: don't return and error status if we have to abort early
* Exclude tests that may fail because system calls not fully implemented
* Build stress-mergesort if STRESS_MERGESORT is defined
* Built stress-heapsort if STRESS_HEAPSORT is defined
* Make *put globals volatile to force gcc to compute values
* Add BSD mergesort stressor
* Add BSD heapsort stressor
* madvise: add MADV_FREE
* stress-vm-rw: don't close already closed pipe ends
* stress-vm: just one top level iteration in rowhammer method
* Use MAP_SHARED where appropriate
* stress-qsort: fix typo in comment SIGARLM -> SIGALRM
* Makefile: call make using $(MAKE)
* stress-apparmor: reduce scope of ret
* stress-shm: reduce the scope of variable n
* stress-shm-sysc: reduce scope of variable n
-- Colin King <colin.king@canonical.com> Thu, 4 Feb 2016 16:02:00 +0000
stress-ng (0.05.12-1) unstable; urgency=medium
* Makefile: bump version
* cache: memset globbuf, work around clang warnings
* stress-cpu-online: free cpu_online on error return
* fast-test-all: use the -v verbose flag
* fast-test-all: Don't yet test copy-file
* stress-copy-file: only build if syscall is supported
* Change type of error messages in cache helper
* cache: use %zd format specifier for size_t
* cache: make source 80 column friendly
* fast-test-all: return with error exit status
* Tweak man page exit status table
* Exit with status 2 if a stressor failured
* Change mini help text to make it consistent
* Add cpu-online to mini help
* stress-cache: cater for non-powers of 2 cache size
* Remove hard #undef __linux__ used during debugging
* Re-work shared cache buffer allocation
* stress-memcpy: fix segfault due to changes in allocation of cache buffer
* Add kcmp to exclude list on adt test
* Add cpu-online to exclude list on adt test
* Make some helpers return int32_t rather than long
* Add WARN_UNUSED macro and use it against functions that need return checks
* Add CPU online stressor
* Fix indentation issue after --hdd
-- Colin King <colin.king@canonical.com> Thu, 28 Jan 2016 12:30:47 +0000
stress-ng (0.05.11-1) unstable; urgency=medium
* Makefile: bump version
* stress-stream: make L3 a uint64_t
* stress-clock: fix build warning on non-Linux systems
* stress-stream: fix FTBFS on non-Linux systems
-- Colin King <colin.king@canonical.com> Tue, 26 Jan 2016 20:50:11 +0000
stress-ng (0.05.10-1) unstable; urgency=medium
* Makefile: bump version
* stress-stream: use new cache probing api
* Add James Hunt to contributors in man page
* cache: constify a few args and (void) fclose returns
* Makefile: re-order cache.c in source list
* stress-cache: make source 80 col friendly, use name instead of __func__
* Removed bogus check.
* Reduce cache level to maximum available if specified too high.
* New function to check max cache level. Also, reduced variable scope.
* Merge branch 'master' into cache-handling
* Rather than failing, display a message and fall back to defaults.
* Reduce variable scope and remove redundant assignment.
* stress-copy-file: off_t should be loff_t
* Remove debug forced enabled of stress-file-copy
* Merge branch 'master' into cache-handling
* Add --cache-level=, --cache-ways=, and --cache-no-affinity to man page.
* Add linux guard for cpu cache function prototypes.
* Handle systems not providing cache details via sysfs
* Dispense with cache.h.
* get_contents(): Fixed resource leak.
* Add --copy-file copy_file_range() stress test
* Fix spelling mistake of "bandwidth"
* Fix spelling mistake of "weird" in comment
* man page: Fix formatting on vm stressor method table
* Fixes for building on non-Linux platforms.
* Add Linux support to specify cache type and size.
* Fix column width of vm-method options
* Fix column width of stream option description
-- Colin King <colin.king@canonical.com> Tue, 26 Jan 2016 16:44:00 +0000
stress-ng (0.05.09-1) unstable; urgency=medium
* Makefile: bump version
* Fix incorrect position of \ in man page
* stress-udp: fix UDP-Lite enable options
* stress-af-alg: don't build for non-Linux systems
* stress-udp: add error checking to setsockopt calls
* Add auto detection of xattr.h to avoid build failures
* Add auto detection of keyutils.h to avoid build failures
* stress-numa: prefix abort message with stressor name
* stress-udp: in UDP-Lite mode, limit checksum to 8 byte UDP header
* Fix formatting of --hdd-opts in man page
* Add --seek-punch option to punch holes in seek file
* Add UDP-Lite option --udp-lite
* Align bitfields in flags
* stress-socketpair: handle ENFILE errors more gracefully
* stress-filename: only emit filename information on instance 0
* Add fiemap stressor
* stress-stream: kludge around a false positive from static analysis
* Add --stream-l3-size option to specify stream L3 CPU cache size
* stress-unshare: don't complain on -EINVAL
* stress-stream: remove extraneous space between cache size and K
* Use RESTRICT macro as an alias for __restict
* Add stream memory bandwidth and computation stressor
* Add 8 more bits to OPT_FLAGS
* stress-aio: remove unused typedef
* refactor random string filling using stress_strnrnd()
* Add AF_ALG socket domain (hash) tester
* Add more tracing perf events to --perf output
-- Colin King <colin.king@canonical.com> Mon, 18 Jan 2016 11:07:02 +0000
stress-ng (0.05.08-1) unstable; urgency=medium
* Makefile: bump version
* Remove stress-leak.c, it was accidentally added
* Update man page date
* Debian control: Use dh_apparmor
* Fix incorrectly placed #endif around TSEARCH
* stress-iosync: (void)name if not building for Linux
* stress-mlock: remove debug message
* Add in options to *search stressors in mini built-in help
* Add TSC read stressor
* Remove some redundant (void)var statements
* stress-get: rename gettid to sys_gettid to avoid name clash
* Move uint64_put and double_put from helper.c to stress-ng.h
* Rename macros STRESS_{MIN|MAX} -> STRESS_{MINIMUM|MAXIMUM}
* Update debian copyright to 2016
* Update copyright year to 2016
* stress-iosync: don't close -ve fd
-- Colin King <colin.king@canonical.com> Wed, 6 Jan 2016 15:22:12 +0000
stress-ng (0.05.07-1) unstable; urgency=medium
* Makefile: bump version
* stress-yield: include signal.h to build on FreeBSD
* Exclude stressors that cannot be run
* stress-matrix: add copy and mean methods
* stress-yield: ensure at least 2 child processes per CPU
* Update syscalls.txt with syncfs
* stress-key: remove if def'd debug code
* stress-iosync: add syncfs() for Linux only
* Add --sock-nodelay option to disable the Nagle algorithm
* stress-socket: split out client/server code into separate functions
* stress-exec: remove (void)name;
* stress-dentry: add 'random' ordering option
* stress-affinity: set initial cpu to instance number
* stress-clock: output name of clock timer id on error
* Add --temp-path option
* Debian/control: change priority because of apparmor dependency
* Add apparmor to excluded adt tests
* Add sendmsg and sendmmsg to syscalls.txt
* Add --sock-opts option
-- Colin King <colin.king@canonical.com> Sat, 26 Dec 2015 17:34:00 +0000
stress-ng (0.05.06-1) unstable; urgency=medium
* Makefile: bump version
* Makefile + stress-apparmor: generate binary data using od and sed
-- Colin King <colin.king@canonical.com> Thu, 24 Dec 2015 00:10:00 +0000
stress-ng (0.05.05-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: --no-print-directory is required when make calls itself
* Add apparmor as a build dependency
* Makefile: Add test-apparmor.c usr.bin.pulseaudio.eg to make dist dist
* stress-seccomp: stop build warnings on systems without seccomp
* Ensure test-appormor build test covers the aa API
* Remove mwc_seed from mwc.c
* Add load average stats to --times option
* inline mwc_seed, faster and shrinks text size a bit
* stress-apparmor: perform some more devious corruption actions
* Debian: control: dependency should be libapparmor-dev
* stress-spawn: move spawn_calls to correct accounting stats
* Add a posix-spawn stressor
* Add unshare stressor
* stress-shm-sysv: ensure all shm_ids are initialised to -1
* Update Makefile to autogenerate AppArmor binary blob
* stress-apparmor: add some random bit corruption
* stress-apparmor: add profile add/replace/remove stressing
* Debian: control: add libapparmor1 dependency
* stress-apparmor: #if def global vars
* README: Add note about requiring GNU make
* Add initial simple AppArmor test, more features later
-- Colin King <colin.king@canonical.com> Wed, 23 Dec 2015 13:58:00 +0000
stress-ng (0.05.04-1) unstable; urgency=medium
* Makefile: bump version
* stress-userfaultfd: fix 32 bit build warning
* stress-shm: replace strides of 4096 with page size
* stress-shm-sysv: replace strides of 4096 with page size
* stress-mremap: replace strides of 4096 with page size
* stress-mmap: replace strides of 4096 with page size
* stress-bigheap: make stride the page size
* parse-opts: ensure_positive: don't reassign ptr twice
* stress-daemon: close dup'd fds on exit
* Add daemon stressor
* Move set_proc_name into helper, remove proc-name.c
* helper: make timer slack also depend on __linux__
* stress_mlock_region: constify args
* stress_get_stack_direction: constify arg
* Remove coredump, merge functionality into helper
* Update README
* syscalls: add mlock2
* stress-mlock: add support for mlock2
* stress-aio: clear io_reqs before use and disable handler later
* stress-rename: rename between directories
-- Colin King <colin.king@canonical.com> Mon, 14 Dec 2015 16:10:00 +0000
stress-ng (0.05.03-1) unstable; urgency=medium
* Makefile: bump version
* stress-seccomp: avoid build failures on arm64 targets
-- Colin King <colin.king@canonical.com> Sat, 5 Dec 2015 10:04:23 +0000
stress-ng (0.05.02-1) unstable; urgency=medium
* Makefile: bump version
* stress-get: define _DEFAULT_SOURCE to stop gcc 5.2.1 warnings
* Add new seccomp stressor
* stress-mmap: fix thinko, init no_mem_retires in correct place
* stress-shm-sysv: add more allocation smarts
* stress-shm-sysv: add mmap failure abort and OOM counting
* stress-shm: add mmap failure abort and OOM counting
* stress-seek: set a usable upper seek limit for 32 bit arches
* stress-mmap: add mmap retry mechanism if we can't mmap memory
* stress-memfd: trap SIGBUS as well as SIGKILL for OOM catching
* stress-vm: add spacing on OOM restarts message
* stress-malloc: add spacing on OOM restarts message
* stress-memfd: add spacing on OOM restarts message
* stress-vm: add mmap retry mechanism if we can't mmap memory
* refactor stack direction checking function
* stress-personality: fix warning on %lu being used on a size_t
* stress-ptrace: re-enable this stressor and fix up pr_failed_* macro
* Enable personality stressor
-- Colin King <colin.king@canonical.com> Fri, 4 Dec 2015 12:49:02 +0000
stress-ng (0.05.01-1) unstable; urgency=medium
* Makefile: bump version
* stress-shm: break out of loops when ok is false
* stress-fcntl: make F_SETOWN and F_GETOWN linux only for now
* helper: fix warning on FreeBSD, unused args caused warnings
* stress-switch: force more context switches
* stress-pipe: add pipe-data-size and pipe-size options
* stress-seek: only report error if SEEK_DATA/SEEK_HOLE supported
* stress-seek: add SEEK_DATA and SEEK_HOLE seeks
* syscalls.txt: add new userfaultfd syscall
* Manual: note that userfaultfd is only for Linux
* Add new userfaultfd stressor
* stress-membarrier: rename pr_failed_err -> pr_fail_err
* stress-cpu: force more jmps in cpu-jmp method
* stress-brk: add occasional brk shrink to add a bit more variety
* stress-shm-sysv: use some more random shm flags
* stress-mmap: use some more random mmap flags
* stress-fallocate: add some more fallocate modes
* Rename pr_failed_* macros to pr_fail
* log: rename logging functions
* log: don't be silent when we have failure messages
* stress-filename: Add more error handling feedback
* Update debian/rules: enable debian build flags
* Fix buffer not null terminated error with strncpy
* Add filename stressor
* Add --timer-slack option to adjust timer slackness
* disable core dump via prctl() to avoid massive core files
* Signal to child processes if parent has died.
* log: make variables static
-- Colin King <colin.king@canonical.com> Mon, 30 Nov 2015 10:55:00 +0000
stress-ng (0.05.00-1) unstable; urgency=medium
* Makefile: bump version to 0.05.00, update codename
* man page: fix wrapped line so 'lsearch' is not seen as a macro
* shm stressors: make final write failures a debug message
* shm stressors: exit child stressor if pipe write fails
* Add POSIX shared memory stressor
* stress-qsort: fix resource leak on error return path
* man page: make it 80 column tty friendly
* stress-qsort: bail out when SIGALRM triggers
* stress-rlimit: disable handlers once we finish to avoid setjmp looping
* log: remove debug cruft
* Add --log-file logging option
* stress-sem*: remove ; after while loop
* stress-icache: force cache clear using __clear_cache
* Make source more 80 column friendly
* manual: clarify number of cpus
* madvise: fix typo
* stress-shm-sysv: make shm cleanup robust
* stress-ng: remove setpgrp() calls
* stress-sem-sysv: handle signal during setup phase correctly
* stress-sem: handle signal during setup phase correctly
* fix -k option: it does not require a parameter
* stress-procfs: use non-blocking open
-- Colin King <colin.king@canonical.com> Wed, 18 Nov 2015 23:05:00 +0600
stress-ng (0.04.21-1) unstable; urgency=medium
* Makefile: bump version
* Fix man page --handle options, errors found by lintian
* Makefile: add personality.c to dist rule
* Add dep8 tests
* Add membarrier to syscalls.txt
* Fix spelling mistake in membarrier error message
* Add membarrier stressor
* stress-sysfs: make sysfs reader more stressful
* stress-procfs: make proc fs reader more stressful
* Makefile: remove -g option
* Add new lockbus cache line stressor
* stress-get: add adjtime() call
* Add utimes(2) call to stress-utime
* stress-mq: also exercise mq_timedreceive
* stress-key: don't abort on EDQUOT for a KEYCTL_UPDATE
* Update syscalls.txt
* Manual: update contributor list
* stress-cpu: check complex supported by C lib (LP: #1500349)
* Add handle stressor
* stress-socket: add nagle disable build option
* Move ionice options in manual to general settings section
* Move --syslog option in manual to general settings section
* Add stress-personality personality() stressor
* Add mknod stressor
* Add stress-exec execve stressor
* stress-sysfs: add access() check on file
-- Colin King <colin.king@canonical.com> Mon, 2 Nov 2015 17:03:00 +0600
stress-ng (0.04.20-1) unstable; urgency=medium
* Makefile: bump version
* cater for system V and BSD variants of setpgrp
* stress-fifo: avoid blocking on reader to avoid deadlock (LP: #1497268)
* stress-readahead: give feedback on premature exit
* stress-aio: no need to free io_reqs, its now on the stack
* Put all child processes under the parents process group ID (LP: #1497236)
* Remove SIGUSR1 and SIGUSR2 trapping, we don't need to trap these
* stress-fifo: check for run flag in child loop
* stress-eventfd: check for run flag in child loop
* stress-epoll: check for run flag on recv loop
* stress-mq: check for run flag in child loop
* stress-msg: check for run flag in child loop
* stress-pipe: check for run flag in child loop
* stress-sigfd: check for run flag in child loop
* stress-socket: check for run flag in child loop
* stress-switch: check for run flag in child loop
* stress-tee: check for run flag in child loop
* stress-vm-rw: check for run flag in child loop
* stress-sigq: check for run flag in child loop
* stress-kcmp: check for run flag in child loop
* stress_sigsuspend: check for run flag in child loop
* stress-socket-pair: check for run flag rather in child loop
* stress-pipe: bail out on zero byte pipe reads (LP: #1496966)
* stress-futex: bail out after 0.5 seconds of failed waits (LP: #1496963)
* stress-clone: remove CLONE_VM unsharing (LP: #1496957)
* stress-sigsuspend: remove spinlock to remove contention (LP: #1496439)
* Put stack in per clone struct, reduce stack size
* stress-aio: cancel signal handler at end of test (LP: #1496340)
-- Colin King <colin.king@canonical.com> Fri, 18 Sep 2015 15:38:00 +0100
stress-ng (0.04.19-1) unstable; urgency=medium
* Makefile: bump version
* stress-cpu: data and idct should be floats for idct (LP: #1495882)
* stress-cpu: use hex initialisers for G constants instead of binary
* stress-numa: fix out of bounds memory read on ARM64 (LP: #1495761)
-- Colin King <colin.king@canonical.com> Tue, 15 Sep 2015 10:43:11 +0100
stress-ng (0.04.18-1) unstable; urgency=medium
* Makefile: bump version
* Fix singular/plural of "stressors spawned" message (LP: #1494797)
* stress-ureadahead: provide feed back when timeout occurs (LP: #1494784)
* stress-timer, itimer: fix termination hangs (LP: #1494751)
-- Colin King <colin.king@canonical.com> Fri, 11 Sep 2015 16:24:42 +0100
stress-ng (0.04.17-1) unstable; urgency=medium
* Makefile: bump version
* stress-fstat: open devices with O_NONBLOCK (LP: #1493717)
* stress-epoll: ensure addr is initialised to NULL
* stress-vm: Add sanity check for rowhammer sizes
* stress-timer: fix incorrect setting of timer
* stress-itimer: fix incorrect setting of timer
* stress-shm-sysv: remove dead initialisation of sz
* stress-hsearch: remove dead initialisation of max
* thermal-zone: remove dead initialisation
* stress-epoll: remove redundant retries assignment
* stress-socket: remove redundant retries assignment
-- Colin King <colin.king@canonical.com> Wed, 9 Sep 2015 09:08:00 +0100
stress-ng (0.04.16-1) unstable; urgency=medium
* Makefile: bump version
* Don't build in stress-clone features if clone() not available
* stress-clone: add unshare call
* stress-get: add timex info get
* Update syscalls.txt with clone
* Add clone stressor
* Add the 8-queens solver to the CPU stressor
* stress-key: add build checks on KEYCTL_* features
-- Colin King <colin.king@canonical.com> Mon, 7 Sep 2015 10:03:00 +0100
stress-ng (0.04.15-1) unstable; urgency=medium
* Makefile: bump version
* Fix --vm-keep, it should be setting opt_flags
* Update man page contributions
-- Colin King <colin.king@canonical.com> Mon, 17 Aug 2015 08:41:00 -0700
stress-ng (0.04.14-1) unstable; urgency=medium
* Makefile: bump version
* Debian: control: don't depend on libkeyutils-dev for some arches
* Don't parse NULL exclude list
-- Colin King <colin.king@canonical.com> Thu, 30 Jul 2015 12:48:00 +0100
stress-ng (0.04.13-1) unstable; urgency=medium
* Makefile: bump version, change code name
* Move exclude parsing after we have parsed all the stressor options
* stress-ng: fix unitialised n, found by clang
* stress-key: handle clean up when we bail out early
* stress-stack should not be part of the CPU stress class
* Add the -x, --exclude test exclusion option
* Add libkeyutils-dev to debian control
* Update syscalls list
* Add key stressor (keyctl, add_key)
* stress-kcmp: bail out early after 5 kcmp test failures per instance
* Remove some trailing white spaces from lines
* stress-vm: replace logic with simplified version
* stress-vm: parenthesis around macro definition
* stress-rdrand: add more useful debug stats
* Add instruction cache stressor
* helper: fix spelling mistake
* Manual: fix a few spelling mistakes
* stress-str: make index a register size_t type
* stress-wdstr: make index a register size_t type
* stress-wait: tidy up formatting of function args
* stress-mmapmany: use STRESS_MAX macro
* stress-mmapfork: minor variable cleanup
* stress-inotify: make mk_filename static
* stress-matrix: replace #defined MATRIX_TYPE with typedef
* coredump: make string static
* mounts: make mount_add static, clean up code a bit
* Put MIN/MAX macros into stress-ng.h
* Small amount of white space empty line clean up
* Unify SET/GET/CLR macros
* stress-futex: move futex info into futex struct
* stress-sem-sysv: move sem sysv info into sem_sysv struct
* stress-sem-posix: move sem and init into sem_posix struct
* stress-xattr: add flistxattr calls
* Minor change to error message
* Fix typo in man page, exerised -> exercised
* stress-mq: use correct stressor name in dbg messages
* stress-mq: add occasional use of mq_getattr()
* Only call perf_* if --perf is actually being used
* yaml: times and system-info are not arrays, but lists
* Add perf tracepoint events
* coredump: pid_t should be %u rather than %d, pids are not -ve
* stress-mlock: avoid using void * ptr arithmetic
* helper: fix signum comparisons, use && instead of ||
* stress-cache: don't keep fetching number of cpus available
* stress-affinity: don't keep fetching number of cpus available
* Make u_time, s_time, t_time, u_pc, s_pc, t_pc doubles
* thermal-zone: cast to double rather than float
* stress-cpu: ensure we don't get double promotion issues
* minor adjustment to whitespace/tab indentation
* perf: fix spelling mistake: Aligment -> Alignment
* stress-cpu: add C union bit field stressor
* Really ensure we don't report perf counters if they are not available
* stress-sigfd.c: Fix compile warning
* stress-sigfd: user SIGRTMIN instead of SIGUSR1
* coredump: remove redundant code
* stress-mlock: clarify cast to void, ensure we are not doing void * math
* stress-socketpair: reduce the scope of variable ret
* stress-rlimit: reduce scope of variable ret
* stress-fcntl: put each fcntl cmd into its own block
* stress-brk: reduce scope of ptr
* stress-cpu: reduce scope of loop variable
* Add more system info to yaml output to help with test result gathering
* stress-getrandom: cater for builds without the syscall defined
* stress-aio-linux: clean up syscalls
* Clean up memfd syscall wrapper
* perf: call perf_event_open via a wrapper rather than direct syscall
* stress-getrandom: rename __getrandom to sys_getrandom
* stress-kcmp: break out early if we get multiple ENOSYS errors
* Fix spelling mistake 1Mhz -> 1 MHz
* README: fix spelling mistake
* stress-kill: fix typo in comment
* Remove 64 byte alignment on shared region, it does not save much
* Tidy main vars up, add more comments, make ticks_per_sec int32_t
* Add STRESS_ASSERT macro to catch incorrect stressor array size
* Make quota block devices message a little clearer and fix typo
* Use %s instead of %d in stress-malloc signum printing
* Forgot to include signal.h in helper to get NSIG define
* Print signal death number as human readable string
* Warn user if cwd is not read-writeable
* Show process name when a stressor process exits with an error
* Fix typo "quotctl" -> "quotactl" in man page
-- Colin King <colin.king@canonical.com> Wed, 29 Jul 2015 17:10:10 +0100
stress-ng (0.04.12-1) unstable; urgency=medium
* Makefile: bump version
* Fix segfault in metrics because MMAPFORK macro not defined correctly
* Add --cpu-load-slice option for CPU stressor time slice tweaks
* Minor re-organising of main globals and make ints into int32_t
* stress-ng.h: extern some misc funcs
* stress-pthread: make stress_pthread_func static
* stress-lockf: make lock helpers static
* stress-epoll: mlock handle_socket_sigalarm
* stress-context: make stress_context_init static
-- Colin King <colin.king@canonical.com> Wed, 15 Jul 2015 00:44:00 +0100
stress-ng (0.04.11-1) unstable; urgency=medium
* Makefile: bump version
* Add README and README.Android to make dist rule
* Add README
* Add Android porting notes, thanks to M.Srikanth Kumar.
* For now, enable ptrace stressor for just linux
* Remove unwanted sys/regs include from ptrace stressor
* Make mmapfork help and options build on STRESS_MMAPFORK
* Don't build ptrace stressor for GNU/HURD
* Fix stress-mmapfork builds on non-Linux systems
* Add ptrace stressor
* Use -pthread rather that -lpthread to allow for static builds
* stress-aio: cast to (long) for aio_buf for 32/64 bit portability
* Update syscalls.txt with sigsuspend
* Add sigsuspend stressor
* Update syscalls.txt w.r.t obsolete wait3, wait4 calls
* Add sigpending stressor
* stress-symlink: add readlink to symlink stressor
* Add getpeername call to sock stressor
* stress-quota: ensure we closedir on dir on error exit path
* stress-socket: initialise len to be sizeof(addr)
* stress-socket: fix fd resource leak
* Add mmapmany fork + mmap VM stressor
* Re-order MEMFD in header
* Add --yaml option to output data to a structured YAML file
* socketpair: handle shutdown when we've maxed out socket fds
* stress-sysinfo: Move ret so checks work on non-Linux systems
* stress-sysinfo: fix build for non-Linux systems
* Re-enable xattr tests
* Update syscalls.txt, add getcpu
* stress-numa: clean up code, add getcpu call
* Update syscalls.txt with getsock* calls
* stress-socket: correct dbg error text
* stress-socket: call getsockopt() for more stress overhead
* stress-socket: call getsockname() for more stress overhead
* stress-quota: improve error handling reporting
* stress-quota: minor resource leak and stat checks
* Update syscalls.txt with quotactl
* Add stress-quota quotactl stressor
* Make SIEVE macro not size dependent
* stress-aio-linux: change finish label, fixes close of fd -1
* Update syscalls.txt
* Add a fcntl stressor
* Re-order HDD and HSEARCH in stress-ng.h
* Correct man page concerning the 0 stressor option
* Use _SC_NPROCESSORS_CONF stressors when zero stressors selected
* Update syscalls with NUMA test update
* Add some NUMA clarifications in the manual
* Add NUMA stressor
* stress-lockf: re-align a comment
* stress-kill: improve comment on kill on -1 pid
* syscalls - rename aioabi to aiol
* Add fstatvfs to sysinfo test
* Add Linux asynchronous I/O io_* system call stressors
* Add shutdown to syscalls
* stress-socket: add socket shutdown
* stress-socketpair: close with shutdown, don't use magic string
* Update syscalls.txt
* Make socket pair even more stressy
* Close pipe, and don't report error on EPIPE as that is expected
* Add socketpair stressor
* Try to mlock all sig handlers and critical code into memory
* If a fork fails, set pid num to zero to avoid killing pid -1
* Make log type name fields the same width
* Change "stressors started" to "stressors spawned"
* Emit perf not enabled message just once.
* stress-brk: remove incorrect free on ptr
-- Colin King <colin.king@canonical.com> Tue, 14 Jul 2015 10:20:00 +0100
stress-ng (0.04.10-1) unstable; urgency=medium
* Makefile: bump version
* Fix typo in macro, STRESS_UPD_FLOOD -> STRESS_UDP_FLOOD
-- Colin King <colin.king@canonical.com> Thu, 2 Jul 2015 14:40:00 +0100
stress-ng (0.04.09-1) unstable; urgency=medium
* Makefile: bump version
* Make stress-udp-flood build dependent on AF_PACKET being defined
* stress-udp-flood: close fd, fixes resource leak
* Add UDP flood stressor
* Stress up to number of cpus configured not number that are online
* Avoid crazy temperatures in thermal zones
* Move syslog help to correct section
-- Colin King <colin.king@canonical.com> Thu, 2 Jul 2015 10:45:00 +0100
stress-ng (0.04.08-1) unstable; urgency=medium
* Makefile: bump version
* Only call tz_free() if STRESS_THERMAL_ZONES defined
* Rename dump_* to *_dump
* perf: re-organise, move dump into perf.c, more #if checks
* Add --tz thermal zone option
-- Colin King <colin.king@canonical.com> Wed, 24 Jun 2015 15:12:00 +0100
stress-ng (0.04.07-1) unstable; urgency=medium
* Makefile: bump version
* Make stress-sem conditional on STRESS_SEMAPHORE_POSIX
* Make semaphore stressors linux only because of timeout
* stress-sem: remove verbose timeout info, it can spam the output
* stress-sem-sysv: Add timeout to semaphore wait
* stress-sem: Add timeout to semaphore wait
* stress-sem-sysv: ensure parent is waiting and not thrashing
* stress-sem: ensure parent is waiting and not thrashing
* stress-sem: remove verbose timeout info, it can spam the output
* stress-sem-sysv: Add timeout to semaphore wait
* stress-sem: Add timeout to semaphore wait
* stress-sem-sysv: ensure parent is waiting and not thrashing
* stress-sem: ensure parent is waiting and not thrashing
-- Colin King <colin.king@canonical.com> Thu, 18 Jun 2015 16:34:00 +0100
stress-ng (0.04.06-1) unstable; urgency=medium
* stess-sysfs: Do not read sysfs files when running as root (LP: #1464073)
-- Colin King <colin.king@canonical.com> Fri, 12 Jun 2015 09:44:00 +0100
stress-ng (0.04.05-1) unstable; urgency=medium
[ Colin Ian King ]
* Makefile: bump version
* mincore: fix build for GNU/HURD; make it a no-op
* stress-mlock: don't build in munlockall for GNU/HURD
* stress-mlock: don't build in mlockall, munlockall for GNU/HURD
* Fix MINCORE dependency for GNU/HURD
* Ensure maximum sizes don't exceed 4GB-1 for 32 bit systems
* stress-crypt: only use re-entrant crypt_r on Linux for now
* Make madvise build on non-GNU/HURD systems
* Add perf reference in manual, update date
* stress-vm-rw: zero msg_wr just to be totally safe
* stress-crypt: use reentrant crypt_r to avoid any memory leaks
* stress-zombie: free items on list head on exit
* stress-lockf: free items on list head on exit
* stress-wcstr: fix incorrect wide string size
* Add int8, int16, int32 and int64 versions of mwc*()
* Move results emitting code into dump_* functions
* Increase various stressors upper memory limits
* Make --aggressive force more CPU migrations and context switches
* Fix comment for stress_get_ticks_per_second
* perf: enable inherit flag to trace children
* Update syscalls.txt with perf and getrandom
* Add the new --getrandom stressor
* Fix sigq options, missing because not using STRESS_SIGQUEUE
* Add Christian Ehrhardt to the contributors list on man page
* Fix help -h option, was --h, should be -h
[ Christian Ehrhardt ]
* stress-ng: avoid builtins when libs shall be tested
* stress-ng: add stressor for wide character string operations
* stress-ng: fix string names
* stress-ng: avoid compiler error in stress-vector
* stress-ng: fix EPOLL build
-- Colin King <colin.king@canonical.com> Tue, 2 Jun 2015 20:35:00 +0100
stress-ng (0.04.04-1) unstable; urgency=medium
* Makefile: bump version
* stress-hdd: make buffer in read/write helpers uint8_t *
* log: Reduce the scope of n, clean up cppcheck style warning
* perf: cater for zero time_running case, avoid division by zero
* Add --log-brief option to make output less verbose
* print perf counters as , separated decimals
* perf: scale using lookup table, add in quintillions
* perf: Add back PERF_FORMAT_GROUP, we get wrong stats otherwise
* perf: re-work to allow for more HW perf counters
* Don't build in stress-context for OpenBSD
* perf: fix build errors on GNU/HURD
* Add --perf option
* Fix STRESS_VECTOR, use the NEED_GNUC macro
* Add context stressor to stress context switch save/restores
-- Colin King <colin.king@canonical.com> Sun, 31 May 2015 13:33:00 +0100
stress-ng (0.04.03-1) unstable; urgency=medium
* Makefile: bump version
* Forgot to include new OPT_FLAG #defines
* Allow --class option to specify a list of classes
* Allow --seq and --all modes to have --class option
* Make break stress help into generic and per stress test sections
* stress-epoll: fix spelling mistake in comment "incomming"
* Manual: break options into stress-ng specific options and stressors
* Make sysfs conditionally compile on STRESS_SYSFS
* Add sysfs stressor
* Fix oom error message with corrupt name because name is not yet set
* stress-cpu: dither: correct min x boundary check, off by 1
* Change scope of variables in stress_cpu_parity
* stress-cpu: stash d and l to overcome over optimization
* Call "stressors" workers
* Manual, call stressors and processes "workers"
* Sync up syscalls.txt with latest changes to stressors
* Add chdir stressor
* Add syncfs option to hdd stressor
* stress-mlock: add mlockall/munlockall stressing too
* Add fsync, fdatasync hdd stressor options
* stress-cpu: add rand48 random number generator family cpu method
* Add human readable time duration to results output
-- Colin King <colin.king@canonical.com> Thu, 21 May 2015 16:24:00 +0100
stress-ng (0.04.02-1) unstable; urgency=medium
* Makefile: bump version
* stress-cpu: Add dithering stress cpu method
* stress-cpu: re-order cpu methods
* stress-cpu: Add parity computation method
* Fix in-built help in a few places
* Fix typo in manual, crc -> crc16
-- Colin King <colin.king@canonical.com> Mon, 11 May 2015 10:52:00 +0100
stress-ng (0.04.01-1) unstable; urgency=medium
* Makefile: bump version
* stress-rlimit: for now, make this Linux only
* stress-rlimit: add loop limit checking
* stress-mlock: report mlock failure with pr_failed_err()
* stress-itimer: remove the build dep on STRESS_TIMER
* stress-ng: Fix --seq mode
* Add resource limit stressor, stress-rlimit
* stress-chmod: use creat instead of open
* Makefile: sort order of sources, stress-yield, stress-xattr
* Add itimer stressor
* Fix typo: mimcore -> mincore
* Add mlock stressor
* stress-stack: Don't need alloc.h included, it comes in stdlib.h
-- Colin King <colin.king@canonical.com> Mon, 4 May 2015 21:08:00 +0100
stress-ng (0.04.00-1) unstable; urgency=medium
* Makefile: bump to version 4.0, update codename
* Update syscalls.txt with more annotations
* stress-hdd: forgot to include sys/uio.h
* mincore: cater for BSD mincore API difference
* Move do_wait inside #if/#endif to avoid warning on BSD systems
* Manual: sort --hdd-opts options
* stress-hdd: add utimes metadata update --hdd-opts option
* stress-xattr: also use fgetxattr
* stress-dup: add dup2 call on same fd
* stress-verify: refactor verify checking, small optimisation
* stress-timer: add timer overrun accounting
* stress-chmod: fix retries abort check
* Re-order stack-fill option in table
* Manual: fix spelling mistake, maxiumum -> maximum
* stress-memfd: initialize fd and maps for correctly cleanup handling
* Update syscalls.txt (added timerfd, minor other tweaks)
* Add timerfd stressor
* stress-timer: Fix random timers to adjust correctly by randomized rate
* stress-memfd: make bogo ops match iterations rather than per memfd-create
* Add stress-memfd stressor and fix mincore/pagein builds
* Update syscalls.txt with a fuller set of syscalls
* stress-get: add calls to time() and utime()
* Add aggressive mode CPU affinity changing
* stress-affinity: add a yield to push IPIs up
* Make inotify test depend on glibc 2.9 or higher
* Make aio test depend on glibc 2.1 or higher
* Make affinity test depend on glibc 2.3.0 or above
* Update syscall.txt with readv/writev
* Add iovec readv/writev mode to --hdd-opts
* stress-sem: don't report EINTR as an error on sem_wait
* stress-chmod: give up of we took too many tries to create file
* stress-epoll: add more delay on re-try connect failures
* stress-epoll: use a saved errno to report error
* Handle fork() EAGAIN correctly by re-trying
* stress-lease: correct and improve failure error messages
* stress-wait: increase wait timeout to 8 seconds
* stress-inotify: break out of init loop if end of tests, increase retries
* stress-sysinfo: make EACCES non-fatal error on stat
-- Colin King <colin.king@canonical.com> Mon, 27 Apr 2015 13:24:00 +0100
stress-ng (0.03.22-1) unstable; urgency=medium
* Makefile: bump version
* stress-eventfd: check if termination flag set
* stress-tee: handle EINTR in tee()
* Make timeval_to_double an inlined func
* stress-sigfd: return rather than _exit() on error
-- Colin King <colin.king@canonical.com> Sat, 18 Apr 2015 13:04:00 +0500
stress-ng (0.03.21-1) unstable; urgency=medium
* Makefile: bump version
* stress-crypt: fix build on FreeBSD
* stress-mmapmany: include signal.h to stop build warnings
* Make features.h dependent on GLIBC
* Make help info less than 80 chars wide
* stress-lockf: explicitly ignore return from waitpid and kill
* Add device, filesystem and pipe classes, re-classify some tests
* stress-pthread: fix comment
* Only allow futex test if system call is defined
* Check if rdrand is supported if sequential mode selected
* Make stress-lockf more aggressive with more concurrent locking
* Rename NEED_GLIB to NEED_GLIBC and use on newer system calls
* Add tee stressor
* Fix wait spawn to return pid_t rather than int
* Fix sem spawn to return pid_t rather than int
* Fix sem-sysv spawn to return pid_t rather than int
* Fix lease spawn to return pid_t rather than int
* Fix fifo spawn to return pid_t rather than int
* Fix epoll spawn to return pid_t rather than int
* Fix typo: _GNUC__ -> __GNUC__
* Add crypt stressor
* Add --timer-rand option for more of a mix in timer scheduling
* Fix uninitialised timer frequency in stress-timer
* Fix typo in manual
* Check for fork EAGAIN failure, polled retry
* Add mmanmany stressor
* The current VFORK build check fails, just make it build w/o checks for now
* Add zombie stressor - fill up process table with children wait to be reaped
* stress-null: fix comment
* Don't define HOT and OPTIMIZE3 for older versions of GNUC
* Add glibc and gcc version macros, use them for rdrand and vm-rw stressors
* Add depends on libattr1-dev
* Option --readahead-bytes should only built in if readahead supported
* stress-cpu: Use more optimal gray to integer conversion
* stress-cpu: minor tweaks to ensure optimizer does not over optimize
* Add and use OPTIMIZE3 -O3 macro
* Forgot to add the --str-method to the help
* Add the str string stressor
* stress-xattr: fix incorrect clean up path on error
* Add HOT macro, add it to cpu intensive busy loops
* stress-readahead: build only if readahead allowed on system
* Add xattr stressor
* stress-kill: Add some more kill variations
* Update syscalls table
* stress-mmap: unmap buf, fixes resource leak
* Add readahead I/O stressor
* Add deep function call cpu stressor method
* stress-vm: add rowhammer memory stressor
-- Colin King <colin.king@canonical.com> Tue, 14 Apr 2015 16:15:00 +0500
stress-ng (0.03.20-1) unstable; urgency=medium
* Makefile: bump version
* sched: Fix build warning on get_sched_name on GNU HURD
* stress-hdd: Fix incorrect format specifier %zu for a uint64_t
* stress-fallocate: Fix off_t printf warnings on 32 bit GNU HURD
* Fix resource leak (file descriptor) on error exit of stress-hdd
* Fix Manual, clarify the action of hdd stressor
* stress-aio: reduce scope of ret
* Fix missing stressor name in pr_err() messages
* Fix missing stressor name in pr_inf() and pr_dbg() messages
* Fix missing stressor name in pr_fail() messages
* stress-hdd: fix verify mode for hdd stressor
* stress-hdd: fix missing read if no read preference specified
* sched: fix default priority levels and lack of class name in messages
* stress-hdd: fix read of end of file when generated with random writes
* Fix extraneous leading space after the "hogs:" message
* stress-hdd: fix false error reports on short reads
* stress-hdd: fix noisy "incomplete reads" debug message
* stress-fallocate: fix incorrect errors reported on fallocate sizes
* stress-fallocate: fix error messages, they are rather meaningless
* stress-aio: report correct errno on async error
* stress-aio: handle EAGAIN and EINTR correctly
* stress-hdd: POSIX_FADV_RND should be POSIX_FADV_RANDOM
-- Colin King <colin.king@canonical.com> Thu, 26 Feb 2015 17:17:00 +0000
stress-ng (0.03.19-1) unstable; urgency=medium
* Makefile: bump version
* stress-sem: fix spelling mistake in comment: destory -> destroy
* Manual: fix spelling mistake: successfull -> successful
* Manual: fix typo: summaries -> summarise
* Manual: vecmath: Replace x with \(mu multiply sign for correct formatting
* Manual: Fix udp port description, add the default base port being used.
* Manual: remove deprecated --hdd-sync option
* Manual: fix typo: mremmap -> remap
* Manual: Replace x with \(mu multiply sign
* Manual: Fix typo: randonly -> randomly
* Manual: Fix spelling mistake: hightest -> highest
* Manual: Correct description for --fifo option
* Manual: Fix spelling mistake and epoll_wait section
* Rename id to s_id to stop variable shadowing
* Move scope of j, removes shadowing of j too.
* stress-aio: clean up clang warnings on integer conversions
* Re-format and slightly re-word debian control description text
* Remove trailing white spaces from lines and empty lines
* Remove duplicated changelog entries
* Fix macro expansion overflows on 32 bit architectures
* stress-matrix: clean up some more cppcheck style warnings
* stress-longjmp: move counter c, cleans up cppcheck style warning
* stress-inotify: fix buffer bounds checking on inotify input
* stress-ng: remove some debug that never got printed
* stress-pipe: ret should be ssize_t
* stress-hdd: ret should be ssize_t
* stress-mmap: better error handling on write
* out-of-memory: add better write error checking
* stress-null: better error handling on write
* stress-lockf: better error handling on write
* stress-fault: better error handling on write
* stress-vm-rw: better error handling on read/write
* stress-sigfd: better error handling on read
* stress-seek: better error handling on read/write
* stress-procfs: better error handling on read
* stress-poll: better error handling on read/write
* stress-pipe: better error handling on read/write
* stress-inotify: better error handling on read/write
* stress-hdd: better error handling on read/write
* stress-switch: cater for zero write w/o error
* stress-fifo: better error handling on read/write
* stress-pipe: better error handling on read/write
* stress-urandom: better error handling on read
* stress-zero: better error handling on read
* stress-eventfd: better read/write handling
* print correct number of hogs when --class is used
-- Colin King <colin.king@canonical.com> Mon, 23 Feb 2015 15:58:00 +0000
stress-ng (0.03.18-1) unstable; urgency=medium
* Makefile: bump version
* Move order of hadamard matrix method, now in alphabetical order
* Fix macro typos - STESS -> STRESS (LP: #1423241)
* Add in matrix info into help
-- Colin King <colin.king@canonical.com> Wed, 18 Feb 2015 16:08:00 +0000
stress-ng (0.03.17-1) unstable; urgency=medium
* Makefile: bump version
* Fix name clash on union on *BSD systems
* Explicitly ignore return from wait*() calls by (void) cast
* Add minimize/maximize to matrix size
* Add --cache-prefetch option
* Make opt_sequential int32 and print out hogs if --seq is being used
* Handle builds for system calls that don't exist
* stress-vm-rw: include missing header
* Ignore args in kcmp for systems that don't support this call
* Forgot ULL after fibonacci uint64_t assignment, warning on 32 bit mips
* Add longjmp stressor
* Constify a few more function args
* Add in some shifts to vecmath
* Constify a few more func args
* Make cache no-ops into do {} while (0) statement
* Move PR_* bit flags to bottom nybble, makes stress-ng smaller
* Fix spelling mistake in manual: subtrace -> subtract
* Forgot to capitalise the matrix product methods
* Add two more matrix product methods
* man page: long double floats -> floats for matrix
* Add matrix stressor with a bunch of stressor methods
* stress-shm-sysv: initialise shm_ids as -1 to indicate not set
* Use semun union when passing values to semctl, fixes powerpc segfault
* stress-rdrand: move #includes to fix build warning on ARM
* Make mallopt code depend on GNUC and linux
* Reduce MAX stress-fallocate allocation size for 32 bit systems
* Move #includes in io-priority to stop build warnings
* Add --malloc-thresh tuneable option
* Used #if defined(...) consistently.
* Munge stressor names when showing hoggers
* Remove repeated #if defined() checks, simplify them into stress-ng.h
* Add another example to the manual
* Increase maximum lease breakers
* stress-lease: max sure the pid array is large enough
* Add --aggressive option
* Don't print null string of no hogs listed when dispatching hogd
* Add --minimize and --maximize options
* Add --stack-fill option
* Update syscalls.txt with recently added syscalls
* stress-fallocate: only use fallocate if FALLOC_FL_* defined
* stress-fallocate: employ linux fallocate on linux builds
* Add --fallocate-bytes option
-- Colin King <colin.king@canonical.com> Tue, 17 Feb 2015 18:28:00 +0000
stress-ng (0.03.16-1) unstable; urgency=medium
* Makefile: bump version again
* Fix missing .TP in man page
* Re-work the "dispatching hogs" message to log atomically
* Add --syslog option to log non-debug messages to syslog
* stress-hdd: don't use strtok_r, we're not threaded
* Just define KCMP_* ourselves, broken distros don't have linux/kcmp.h
* stress-kcmp: close fd1, fix resource leak
* Add kcmp stressor
* Remove unnecessary { }
* Remove redundant assignment of first enum to zero
* Make --random 0 select the number of on-line CPUs
* Forgot to make RDRAND check arch specific
* Add check to see if rdrand is supported and skip stressor if not
* stress-pthread: increase to 1024 pthreads per stressor
* stress-pthread: handle error correctly; as from the return from pthread*
* Make pr_failed more generic and make a new pr_failed_errno macro
-- Colin King <colin.king@canonical.com> Fri, 13 Feb 2015 19:40:00 +0000
stress-ng (0.03.15-1) unstable; urgency=medium
* Makefile: bump version
* Don't make sieve static, it wastes space in the executable
* Keep make quiet on builds that don't support _Decimal types
* Makefile: more smarts to conditionally build stress-cpu
* remove STRESS_FLOAT_DECIMAL
* Try to build with _Decimal* floats, if fail, build without
* Check for __int128 and _Decimal support
* Don't complain about IPC_RMID failure if it's already been reaped
* Don't report sem-op errors on EINTR
* Only report OOM restarts and nomems if they actually occurred
* stress-chmod: remove some unnecessary debug info
* stress-socket: don't emit errno if EINTR
* stress-udp: don't emit errno if EINTR
* stress-chmod: only report number of retries if a retry occurred
* stress-stack: handle OOM killer with monitoring parent
* Add set_max_limits() to push user limits to maximum allowed
* stress-cpu: re-work math stressors with macros
* Add decimal{32|64|128} math ops in cpu stressor
* Re-work floating point and complex floating point stressors
* Re-work int stressors to use generic macro, and add int128 test
-- Colin King <colin.king@canonical.com> Mon, 9 Feb 2015 23:28:00 +0000
stress-ng (0.03.14-1) unstable; urgency=medium
* Makefile: bump version
* Fix build warning for systems w/o _SC_PAGESIZE
* Make semaphore creation non-fatal
* Fix a few warnings on gcc 4.5.3 (NetBSD)
* Make STRESS_SIGFD linux only
* Re-order sendfile #define
* Re-order hdd and hsearch #defines
* Forgot to make futex linux only
* Typo: replace __linux with __linux__
* Use pow since powl has less precision than advertised warning on FreeBSD
* Forgot to remove mremap from help if non-Linux
* Update manual, stress-mremap is linux only
* Make mremap test linux only
* stress-mremap: move to using page size helper
* Add helper to get cpu clock ticks
* Add number of processors online helper.
* Add page size helper, we don't need to repeat the sysconf calls
* Add malloc stressor
* Add some more comments
* Clean up BSD workarounds
* stress-brk: wrap an overly long line
* Add memory remapping stressor
* Turn off madvise DONTNEED as it can cause us checking errors
* Add another NetBSD long double workaround
* stress-hdd - don't allow fadvise on GNU HURD
* Add vmsplice stressor
* Correct error message on pipe failure
* Fix up latest stressors, re-order options and add vm-rw-* help
* Add splice stressor
* Add vm-rw stressor
* Add read64 and write64 vm memory stress methods.
-- Colin King <colin.king@canonical.com> Thu, 5 Feb 2015 15:22:10 +0000
stress-ng (0.03.13-1) unstable; urgency=medium
* Makefile: bump version
* Cater for non-existent long double math functions in NetBSD
* mounts: forgot to handle NetBSD in mount detection
* Make mounts build for NetBSD too
* Disabled stress-wait for NetBSD - can't see how to do CONT sig wait
* Cater for systems that do not have MAP_ANONYMOUS
* Add NetBSD support to stress-stack
* Make vector gcc'isms compile in for modern versions of gcc only
* stress-hdd: void unused params
* Also catch SIGILL for FreeBSD
* Remove trapping of SIGILL
* stress-qsort: fix cmp3 byte-wise re-ordering
* include signal.h in stress-pthread to fix FreeBSD build
* Minor source reformatting on stress-ng.c
* Reduce the precision and number of iterations for nsqrt
* stress-shm-sysv: also shrink and re-try if ENOMEM occurs
* Add some feedback of shm-sysv had to shrink shared memory size
* Cater for EINVAL on shmget if size is too large.
* Mungify stressor names when invoking the stressor
* Drop default System V shared memory size to 8MB for *BSD kernels
* Add check for BSD invalid chmod mode bits error
* Fix printing of stressor names, some names too long and _ -> - conversion
* stress-cache: put { } braces around cflush and mfence
* stress-mq: initialise mq to -1 to avoid gcc warning (false positive)
* Add full read checks in stress-hdd read stressor loops
* stress-hdd: remove debug cruft
* Forgot to escape some - hyphens in manual
* Stress-hdd: remove ad-hoc open flags, replace with --hdd-opts option
* Manual: fix spelling, destory -> destroy
* Add vector maths stressor
* Man page: naive -> naïve
* Manual, lease-breakers: for --> to
* Don't handle SIGSEGV and SIGBUS
* Don't build sem-sysv for GNU HURD
* Add sections of man pages for sys calls and libc functions
* Add System V shared memory stress test
* Fix error path on SYSV sem creation - need to reap semaphore
* Re-work POSIX sem test to be aligned with SYSV sem test
* Remove POSIX semaphore header, not required
* Add System V semaphore stressor
-- Colin King <colin.king@canonical.com> Sun, 1 Feb 2015 15:22:10 +0000
stress-ng (0.03.12-1) unstable; urgency=medium
* Makefile: bump version
* Add udp to --help output
* remove need to setup unix pathname in stress-socket
* stress-epoll: use net helper funcs
* stress-mq: memset msg to zero to stop valgrind complaining
* Clear epoll_event struct; warning from valgrind
* Add net helper functions, refactor udp and socket stressors
* Add udp stressor
* Reduce the minimum timer frequency to 1Hz
* Remove duplicate error message in rdrand stressor
* Correct error messages, removed "failed" and trailing "\n"
* Clear alternative signal stack, stops cppcheck warning
* Limit sscanf field to avoid overflows
* Remove memory locking, it wasn't such a good idea after all
-- Colin King <colin.king@canonical.com> Thu, 29 Jan 2015 11:49:00 +0000
stress-ng (0.03.11-1) unstable; urgency=medium
* Makefile: bump version
* Add --hdd-sync, --hdd-dsync, --hdd-direct, --hdd-noatime options
* Add sigfd stressor
* Move mount handling helper functions to mounts.c
* Add --brk-notouch option
* Account of out of memory nomems in stress-brk
* Explicitly ignore *close*() failures with (void) cast
* Update copyright at end of manual
* Update syscalls.txt with brk/sbrk calls
* Add a brk stress tester and --brk, --brk-ops options
* Fix incorrect comment on bigheap stressor function
-- Colin King <colin.king@canonical.com> Sun, 25 Jan 2015 14:23:00 +0000
stress-ng (0.03.10-1) unstable; urgency=medium
* Makefile: bump version
* Make mask ptrdiff_t and cast to allow clean 32 bit build
* Use ptrdiff_t for addr math
* Remove need for ms_flags if building for GNU HURD
* Cater for GNU HURD not supporting mincore()
* Cater for msync not functioning for GNU HURD
* Add --mincore-random option
* Update syscalls.txt with mincore test
* Remove the page reading from mincore
* Add mincore stressor
-- Colin King <colin.king@canonical.com> Sat, 24 Jan 2015 13:43:00 +0000
stress-ng (0.03.09-1) unstable; urgency=medium
* Makefile: bump version
* Add bounds checking on data from /proc
* Make stress-mq a no-op for non-Linux
* Update syscalls table
* Make mq a linux only stressor
* Add mq stressor for POSIX message queues
* Add --mmap-protect page protection settings option
* Add the chmod stressor
-- Colin King <colin.king@canonical.com> Tue, 13 Jan 2015 11:54:00 +0000
stress-ng (0.03.08-1) unstable; urgency=medium
* Makefile: bump version
* Update copyright year to sources
* Add epoll stressor
* stress-vm: reduce scope of addr
* stress-mmap: clarify calculation precedence of & in ternary expr
* stress-memory: reduce scope of addr
* Fix --sequential mode, correctly set up number of procs and pid list
-- Colin King <colin.king@canonical.com> Fri, 2 Jan 2015 09:57:11 +0000
stress-ng (0.03.07-1) unstable; urgency=medium
* Makefile: bump version
* Fix pluarity of --lease man page description
* Fix int64 float descriptions in man page
* Make lease help info appear only if it is supported
* Make assumption about nice limits if getrlimit fails
* Close and abort rather than close and break
* Fix incorrect closing on in stress-lease
* Clear buffer in lockf
* Check return of unlocking fcntl call in stress-lease
* Forgot to add stress-lease.c to Makefile
* Add lease stressor and --lease, --lease-ops, --lease-breakers
* Don't print full help on failed getopt '?' returns
* Add dup stressor and --dup, --dup-ops options
* Update syscalls table
* Minor lockf corrections in manual
* Add POSIX lockf file locking stressor
* Fix int64_{float|double|longdouble} verifies
* Add mixed integer and floating point cpu stressors
* Manual: don't -> do not
-- Colin King <colin.king@canonical.com> Wed, 31 Dec 2014 13:13:13 +0000
stress-ng (0.03.06-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: add mascot svg to dist
* Make getpid pid const
* Don't use 0600 flags, use constants instead
* Add --mmap-file and --mmap-async file based mmap options
* Make stress-mmap helper functions static
* Update manual for the new unix --sock-domain option
* Add unix --sock-domain option
* Add cache fencing and cache flushing to cache stressor
* Add mascot svg
* Fix comment in modulo-x comment, 20th -> 23rd
-- Colin King <colin.king@canonical.com> Mon, 29 Dec 2014 15:57:00 +0000
stress-ng (0.03.05-1) unstable; urgency=medium
* Makefile: bump version
* Fix stress-poll random slow hangs running on --poll-ops N
* Find index into stressors via id
* stress-fifo: cater for zero reads on closed fifo
* Tidy up stress-ng.h, re-ordering and adding more comments
* Re-organise per stressor process info into procs
* Remove hdd related global vars, add stress_set_hdd* helpers
* Remove global socket_port, use helper stress_set_socket_port instead
* Remove unused opt_vm_stride
* Remove global mmap_bytes, use helper stress_set_mmap_bytes instead
* Remove vm related global flags, add stress_set_vm_* helpers
* Remove global cpu_load, use helper stress_set_cpu_load instead
* Remove global sem_procs, use helper stress_set_sem_procs instead
* Make opt_sequential static
* Remove global fifo_readers, use helper stress_set_fifo_readers instead
* Remove global pthread_max, use helper stress_set_pthread_max instead
* Remove global seek_size, use helper stress_set_seek_size instead
* Remove global qsort_size, use helper stress_set_qsort_size instead
* Remove global sendfile_size, use helper stress_set_sendfile_size instead
* Remove global hsearch_size, use helper stress_set_hsearch_size instead
* Remove global lsearch_size, use helper stress_set_lsearch_size instead
* Make opt_tsearch_size static
* Remove global tsearch_size, use helper stress_set_tsearch_size instead
* Replace opt_fstat_dir with stress_set_fstat_dir()
* Replace sem_ok bool with OPT_FLAGS_SEM_INIT opt_flag bit
* Remove opt_timer_freq, replace with stress_set_option_freq()
* Make opt_class static
* Make array opt_ops static
* Make opt_backoff static
* Make opt_sched and opt_sched_priority static
* Make started_procs array static
* Make procs, opt_ionice_class, opt_ionice_level static
* No need to extern procs array
* No need to extern opt_ionice_class, opt_ionice_level
* Remove globals for fork/vfork opts, use stress_set_{fork,vfork}_max
* Remove global opt_denties, use helper stress_set_dentries instead
* Remove global bsearch_size, use helper stress_set_bsearch_size instead
* Remove global bigheap_growth, use helper stress_set_bigheap_growth instead
* Remove global aio requests, use helper stress_set_aio_requests instead
* Remove tailing . on man page title
-- Colin King <colin.king@canonical.com> Wed, 17 Dec 2014 14:37:41 +0000
stress-ng (0.03.04-1) unstable; urgency=medium
* Makefile: bump version
* Fix verify checks in int{64,32,16,8} cpu stressors
* lock-mem: only use mlockall if _POSIX_MEMLOCK is defined
* stress-vm: add finer grained bogo ops
* Set MIN_OPS to be 1, 100 is quite large for slow vm tests
* stress-vm: use PRIME_64
* stress-denty: use PRIME_64
* Define PRIME_64 to be large 64 bit prime value
* Fix thinko in prime striding of memory
* Add --denty-order option to try and mix up dentry unlinking order
* Remove the reference to /tmp being used as sendfile data
* Add pthread stressor
* Re-work seek offset, the module fails on some arm 32 builds
* stress-fifo: fix error message
-- Colin King <colin.king@canonical.com> Fri, 12 Dec 2014 12:23:12 +0000
stress-ng (0.03.03-1) unstable; urgency=medium
* Makefile: bump version
* Update date in man page
* IONICE_* opts are linux only
* Remove unwanted column headings
* Stress semaphore harder by multiple children
* Update syscalls, add send recv
* Add some more comments to stress-ng.h
* Move some #defines around
* stress-fork: use renamed constants
* Add in more #define'd min/max/default constants
* Re-order OPT_ case statement into alphabetical order
* Hide vm stressor option inside stress-vm
* Hide cpu stressor option inside stress-cpu
* stress-fifo: close fifo on exit
* stress-socket: add --sock-domain option
* stress-socket: use send/recv instead of write/read
* Use ssize_t for n to get write size
* Add named fifo stressor
* Break casting of uintptr_t into stages because GCC 4.9.2 complains
* stress-vm: no need to check sz if it is a 32 bit integer
* Force gcc not to optimise out the alloca
-- Colin King <colin.king@canonical.com> Fri, 5 Dec 2014 23:19:00 +0000
stress-ng (0.03.02-1) unstable; urgency=medium
* Makefile: bump version
* free procs array in child stressor, stops valgrind complaining
* stress-vm: don't use abs, use UNSIGNED_ABS instead
* Ensure mwc internal state is initialised.
* stress-memcpy: copy back buffer to share memory region
* stress-affinity: add --affinity-rand option
* man page: fix - hypenations
* stress-vm: remove debug on vm stressor names, too noisy
* mwc: move mwc constants into a struct and inline mwc
* Deprecate --noclean option
* Deprecate --vm-stride
* man page: Fix spelling mistakes and re-phrase some text for clarity
* stress-vm: use correct name when checking prime-gray-* results
* Add --stress-vm documentation in man page
* stress-vm: Add different vm stressors and --vm-method option
-- Colin King <colin.king@canonical.com> Tue, 2 Dec 2014 16:13:15 +0000
stress-ng (0.03.01-1) unstable; urgency=medium
* Makefile: bump version, update codename
* More --metrics explanation, expand other mior options as well
* Use %zu print format specifier for size_t variable
* Fix builds for OpenBSD too
* Makefile: minor tweaks to build rules
* stress-cpu: remove cpow and csinl csinl for FreeBSD builds
* stress-cpu: build without warnings with clang
* madvise: fix build issues on FreeBSD
* stress-sysinfo: build for FreeBSD
* Fix build issues on FreeBSD
* stress-cpu: zeta precision should be using cabsl
* Use double complex for fft
* stress-nice: include signal.h
* stress-tsearch: use & rather than &&
* stress-lsearch: use & rather than &&
* opt_flags && OPT_FLAGS_VERIFY should be using & rather than &&
* Remove duplicate const
* Remove duplicate func declaration, rename other to stress_func
* Fix division by zero on r_total, emit zero if num procs is zero
* Fix spelling mistake "performance" in man page
* Fix float man page entry
* Fix clongdouble man page entry
* Add hsearch and class options to --help
-- Colin King <colin.king@canonical.com> Thu, 27 Nov 2014 16:28:05 +0000
stress-ng (0.03.00-1) unstable; urgency=medium
* Makefile: bump to version 0.03.00
* Clarify cpu stressors and tidy up the table formatting
* Reduce number of loops for int, float and complex by factor of 10
* Add cpu complex stressors to man page
* Add complex math stressors, make float macro use appropriate trig funcs
* stress-aio: Fix spelling mistake "Succeeded" in comment
* stress-cpu: fix spelling mistake "version" in comment
* Add one more stress-ng example to man page
* stress-sysinfo: make ret linux only
* stress-sysinfo: make clk not linux only
* Remove linux only restriction for --times option
* sysinfo: check for times() returning -1
* Check for time() error correctly
* Make stress-aio linux only
* Output metrics in terms of time in wall clock and user+sys times
* stress-socket: terminate child properly to fix process accounting
* Make metrics based on child usr and sys ticks rather than wall clock times
* Force gcc from over-optmising loop cpu stressor accumulates
* Fix flock stress on open failure because of race on same file
* Update syscalls text file
* Add stack overflow stressor
* Fix flock - ensure it locks on one file between all workers
* Add hsearch stressor
* Add async I/O aio stressor
* Add --class option
* stress-cpu: Move math constants and suffix them with L
* Add Euler–Mascheroni (gamma) calculation in cpu-stress
* Fix another spelling mistake in man page
-- Colin King <colin.king@canonical.com> Mon, 24 Nov 2014 09:31:00 +0000
stress-ng (0.02.29-1) unstable; urgency=medium
* Makefile: bump version
* Fix spelling mistake in man page
* Add seek stressor and --seek, --seek-ops, --seek-size options
* Add memcpy memory copying stressor
* Makefile: remove gcov options that got accidentally added
-- Colin King <colin.king@canonical.com> Fri, 21 Nov 2014 10:19:00 +0000
stress-ng (0.02.28-1) unstable; urgency=medium
* Makefile: bump version
* stress-cpu: force matrixprod to actually save the results
* Use temp dir helpers to run stressors in temp directory
* Add temporary dir helpers
-- Colin King <colin.king@canonical.com> Thu, 20 Nov 2014 09:40:00 +0000
stress-ng (0.02.27-1) unstable; urgency=medium
* Makefile: bump version
* stress-utime: use also utime and make futimes linux only
* stress-fault: use posix_fallocate instead of fallocate
* stress-fault: clarify negation on boolean expression
* stress-hdd: close file on error exit path
* Use PATH_MAX for filename sizes
* stress-hdd: use temp filename helper
* stress-fallocate: use temp filename helper
* stress-inotify: use temp filename helper
* stress-flock: open using S_IRUSR | S_IWUSR
* stress-fault: open using S_IRUSR | S_IWUSR
* stress-denty: open using S_IRUSR | S_IWUSR
* stress-dir: use temp filename helper
* stress-link: use temp filename helper
* stress-rename: use temp filename helper
* stress-utime: use temp filename helper
* stress-sendfile: use temp filename helper
* stress-flock: use temp filename helper
* stress-fault: use temp filename helper
* stress-dentry: use temp filename helper
* Add stress_temp_filename for standard temp filename building
* stress-dentry: include instance number in filename
* Catch a range of signals and handle termination better
* Re-work process wait by re-writing this with a helper
* Fix build issues on Arch
* Man page: tweak width for cpu methods to work on wide ttys
* Only print out page fault stats to debug
* Correctly wait for all running processes to terminate
* Remove redundant exit check
* Add page fault stressor
* Remove -g flag from Makefile
* Add lsearch stressor
* Add tsearch stressor
* Ensure we allocate in multiples of 8 elements
* Add bsearch stressor
* stress-poll: set data in correct place, fixes verify failures
* Make hyperbolic cpu test more demanding
* Make trig cpu test more demanding
* Add 3 more hash cpu stressors
-- Colin King <colin.king@canonical.com> Thu, 13 Nov 2014 10:49:00 +0000
stress-ng (0.02.26-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: include syscalls.txt in dist
* Fix cut-n-paste error on waitpid for socket_server
* Ignore args in no-op mincore build case
* Make mincore a no-op for GNU HURD
* Don't allow wait stressor if building for GNU HURD
* Forgot to make times option Linux only too
* Make --times option Linux only
* Only print the names of stressors if they are going to run
* Ensure we have read all the inotify events
* Add the new --times option to show system and user times
* stress-msg: wait for child to exit
* stress-inotify: ignore EINTR on select as an error
* stress-eventfd: wait for child to die
* stress-vm: wait for child to die
* stress-switch: wait for child to die
* stress-socket: wait for children to die
* stress-sigq: wait for child to die
* stress-poll: wait for child to die
* stress-pipe: wait for child to die
* stress-bigheap: wait on child after killing it
* Add vfork to syscalls.txt
* Add --vfork, --vfork-ops, --vfork-max options
* stress-bigheap: don't treat EINTR on waitpid as an error
* Add mincore to syscalls.txt
* Add the --page-in option to page in out-of-core pages
* stress-cpu: run all cpu methods rather than sqrt() by default
* stress-vm: treat EINTR on waitpid as a not a reportable error
* stress-eventfd: treat read/write EINTR as not a reportable error
* stress-msg: treat EINTR as not a reportable error
* Make poll and select act on multiple pipe fds
* Add madvise to syscalls.txt
* Enable random madvise() advice for mmaps, add --no-madvise option
* Fix spelling mistake in coredump.c
* Add table of syscalls/libc vs test coverage
* stress-fstat: add more stat* calls, don't spin if no valid files
* Modify started on text to be more like original stress tool
* Add wait stressor and --wait --wait-pid options
-- Colin King <colin.king@canonical.com> Sat, 8 Nov 2014 14:24:00 +0000
stress-ng (0.02.25-1) unstable; urgency=medium
* Makefile: bump version
* Write file entry removal info to stderr rather than stdout
* Enable urandom for GNU HURD
* stress-fnotify: handle fnotify running out of resource
* Use timer_create for linux only
* stress-eventfd: make it build only for linux systems
* Forgot to add stress-eventfd.c
* stress-inotify.c: reduce scope of dirent
* stress-futex.c: reduce scope of variable ret
* stress-cpu.c: reduce scope of variable fn
* Replace stress fields with STRESSOR macro
* Check for timeout as an error and sanity check inotify buffer size
* Add stress-inotify and --inotify --inotify-ops options
* man page: fix spelling mistake
* parse-opts.c: fix spelling mistake
* Makefile: fix spelling mistake
* Fix more spelling mistakes in changelog
* Fix spelling mistake in changelog
* stress-clock: fully clear sevp
* Re-order long_options to make it easier to find options
* stress-sysinfo: move i to reduce scope
* Fix type on null ptr check on mnt
* Add sysinfo stressor and --sysinfo --sysinfo-ops options
* Make STRESS_PROCS linux only in stress-ng.h
* Add procfs stressor and --procfs --procfs-ops options
* Update manual date
* Add note about matrix produce CPU stressor
* Fix rdrand unrolled comment
* Re-order stress_op enum
* Re-order stress_id enum
* Remove redundant extra loop in stress_pipe
* Add linux eventfd stressor
* Add stress-clock, re-order man page and help info
-- Colin King <colin.king@canonical.com> Mon, 3 Nov 2014 19:16:00 +0000
stress-ng (0.02.24-1) unstable; urgency=medium
* Makefile: bump version
* Free procs on calloc failure
* stress-open: determine max number of fds allowed to open
* stress-vm: Handle WIFSIGNALED if waitpid succeeded
* Handle WIFSIGNALED if waitpid succeeded
* stress sock should be called sock and not socket in the metrics info
* Make futex waker verify less pedantic
* fix getpriorities returning < 0 for valid priority values
* Fix order of null stressor
* Add get stressor and --get, --get-ops options
* Add sendfile stressor and --sendfile, --sendfile-ops, --sendfile-size
* Re-order options man page
* Sort options in mini help
* Add null stress test and --null, --null-ops options
* Add zero stressor and --zero, --zero-ops options
* Add kill stressor and --kill, --kill-ops options
-- Colin King <colin.king@canonical.com> Thu, 30 Oct 2014 22:14:00 +0000
stress-ng (0.02.23-1) unstable; urgency=medium
* Makefile: bump version
* Initialise finish time in case it is never run (LP: #1387104)
* Add futex stressor (LP: #1386831)
-- Colin King <colin.king@canonical.com> Wed, 29 Oct 2014 10:32:00 +0000
stress-ng (0.02.22-1) unstable; urgency=medium
* Makefile: bump version
* Re-order some of the help options
* Fix --random option to create semaphore if semaphore is chosen by random
-- Colin King <colin.king@canonical.com> Sun, 26 Oct 2014 11:54:00 +0000
stress-ng (0.02.21-1) unstable; urgency=medium
* Bump version again
* Mixed up shared memory regions, fix these as --cache breaks
-- Colin King <colin.king@canonical.com> Fri, 24 Oct 2014 21:13:00 +0100
stress-ng (0.02.20-1) unstable; urgency=medium
* Makefile: bump version again
* Remove shm_* and replace with mmap'd shared memory (fix GNU hurd issues)
-- Colin King <colin.king@canonical.com> Fri, 24 Oct 2014 19:40:00 +0100
stress-ng (0.02.19-1) unstable; urgency=medium
* Makefile: bump version
* Don't enable stress-msg for GNU HURD
* Make lock_mem_current a no-op for GNU HURD
* Don't enable stress-sigq for GNU HURD
* Need <sys/time.h> in stress-ng.h
* Cater for systems where sem_init is not supported
* shm_open on /tmp path (for kFreeBSD)
* Fix non-linux build - don't build in options that are not available
* sched.c: make this build on non-linux systems
* io-proirity: make this more generic rather than linux specific
* stress-nice: work around systems that lack RLIMIT_NICE
* stress-mmap: fix kFreeBSD build failures, no MAP_POPULATE
* kFreeBSD has no MAP_POPULATE
* Update to latest policy standards
* debian/control: update to keep in sync with new features
-- Colin King <colin.king@canonical.com> Fri, 24 Oct 2014 16:46:00 +0100
stress-ng (0.02.18-1) unstable; urgency=medium
* Makefile: bump version, add copyright, change codename, fix make dist
-- Colin King <colin.king@canonical.com> Fri, 24 Oct 2014 09:24:00 +0100
stress-ng (0.02.17-1) unstable; urgency=medium
* Makefile: bump version again
* Break out of stress_run if we've timed out
* Add more exit points to check for early abort
* stress-vm: restart processes killed by OOM, add more exit checking
* stress-bigheap: add more exit checking
-- Colin King <colin.king@canonical.com> Thu, 23 Oct 2014 17:38:00 +0100
stress-ng (0.02.16-1) unstable; urgency=medium
* Makefile: bump version
* Make sequential minimum 0
* stress-fstat: free list on error return
* Default to number of online cpus if --sequential 0 is used
* Remove debug message
-- Colin King <colin.king@canonical.com> Thu, 23 Oct 2014 13:01:00 +0100
stress-ng (0.02.15-1) unstable; urgency=medium
* Makefile: bump version
* Add rdrand stressor (Intel Ivybridge+)
* stress-fstat: don't exit(), just return on error
* stress-fstat: don't exit(), just return on error
* stress-rename: don't exit(), return on error
* stress-utime: don't exit(), just return on failure
* Add more explanations to man page
* Spread --random stressors more evenly
* Fix minor issues in man page
-- Colin King <colin.king@canonical.com> Thu, 23 Oct 2014 11:22:00 +0100
stress-ng (0.02.14-1) unstable; urgency=medium
* Makefile: bump version
* Compile in asm no-op hints only if using gcc
* Make gcc optimisation hint a gcc only feature
* Add verify mode to omega computation
* Add verify mode to pi computation
* Add verify mode on hanoi computation
* Add verify mode to ln(2) computation
* Add verify mode to psi computation
* Add verify mode to phi computation and make it long double
* Make nsqrt long double precision and add verify mode
* Add verify on euler computation
* Add verify on IDCT
-- Colin King <colin.king@canonical.com> Thu, 23 Oct 2014 00:45:00 +0100
stress-ng (0.02.13-1) unstable; urgency=medium
* Makefile: bump version
* Properly report child exit error status
* mlock all pages down on so they don't get swapped out
* Add feedback on file system clean up on SIGINT
* Move ioprio_set out of stress-ng.h to io-priority.c
* Fix table width in stress-cpu stressors
* Add -ve value sanity checking
* Add --sequential option
-- Colin King <colin.king@canonical.com> Wed, 22 Oct 2014 16:32:00 +0100
stress-ng (0.02.12-1) unstable; urgency=medium
* Makefile: bump version
* Reduce scope of variables
* Add SIGFPE stressor --sigfpe --sigfpe-ops
* Add --fork-max option
* Move opt parsing to parse-opts.c
* Remove unrequired headers from coredump
* Re-organise code, move helper functions
* Update man page on random cpu stressor
-- Colin King <colin.king@canonical.com> Tue, 21 Oct 2014 13:16:00 +0100
stress-ng (0.02.11-1) unstable; urgency=medium
* Makefile: bump version
* Add fstat check in fallocate verify path
* Add verify to stress-yield
* Add verify to stress-vm
* Add verify to stress-poll
* Add verify to stress-fork
* Add verify to stress-fallocate
* Add verify on stress cpu sqrt
* Add verify to bigheap
* Add verify to stress-affinity
* Abort stressors after a threshold of failures reached
* Add --bigheap-growth option
* Clean up nice cpu consumer, add a little more info in manual about this
* Add --nice and --nice-ops for nice stressor
* Re-order some man page options
* Fix printf format specifier
-- Colin King <colin.king@canonical.com> Sun, 19 Oct 2014 17:29:00 +0100
stress-ng (0.02.10-1) unstable; urgency=medium
* Makefile: bump version
* Make n ssize_t
* Fix msg type field
* Add --msg and --msg-ops System V msg send/receive stressor
* Add --verify support to stress-pipe
* Minor code cleanup
* Print pid rather than status when printing failed stressor fork
* Add verification of qsort
* Add --verify example to manual
* Add verify mode to integer cpu stressors
* Enable OPT_FAIL for verify mode and all flags
* Add MWC_SEED and MWC_SEED_W MWC_SEED_Z macros
* Add mwc seeding helper
* Use pr_fail on test verify failures
* Add mmap memory verify
* Minor comment fix
* Add FAIL log state
* Add --verify option
-- Colin King <colin.king@canonical.com> Thu, 16 Oct 2014 23:12:01 +0100
stress-ng (0.02.09-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: add more smarts to detect header file and Makefile changes
* Re-structure sources, break into per test and helper funcs sources
-- Colin King <colin.king@canonical.com> Mon, 13 Oct 2014 22:22:22 +0000
stress-ng (0.02.08-1) unstable; urgency=medium
* Bump version
* Add more sanity checking for numeric options
* fflush output before we fork
* Allow one to request number of stressors to match number of online CPUs
* Fix up comment
* Add hand optimised Hamming H(8,4) code cpu stressor
-- Colin King <colin.king@canonical.com> Sun, 12 Oct 2014 22:33:00 +0100
stress-ng (0.02.07-1) unstable; urgency=medium
* Makefile: bump version
* Add computation of the reciprocal Fibonacci constant psi
* Add computation of the omega constant as a cpu stressor
* Add computation of pi cpu stressor
-- Colin King <colin.king@canonical.com> Sat, 11 Oct 2014 20:07:00 +0100
stress-ng (0.02.06-1) unstable; urgency=medium
* Makefile: bump version
* Rename ctxt -> switch
* Add metrics-brief example to man page
* Add Towers of Hanoi CPU stessor
* Add gray code cpu stressor
* Add --metrics-brief option
* Add brute force prime search
* Add Sieve of Eratosthenes cpu stressor
-- Colin King <colin.king@canonical.com> Sat, 11 Oct 2014 11:33:00 +0100
stress-ng (0.02.05-1) unstable; urgency=medium
* Makefile: bump version
* Add correlation cpu stressor
* Add Zeta function cpu stressor
* Add more information in manual
* Add hash pjw and make jenkin hash iterate more
-- Colin King <colin.king@canonical.com> Fri, 10 Oct 2014 16:26:00 +0100
stress-ng (0.02.04-1) unstable; urgency=medium
* Makefile: bump version
* Add hyperbolic function sinh cosh cpu stressor
* Expand man page
* Add CCITT CRC16 cpu stressor
* Add compare + jmp cpu stressor
* Add cpu explog stressor and tidy up man page
* Add Ackermann function cpu stressor
* Add log(2) computation for cpu stressor
* Update man page
* Add fibonacci cpu stressor, use register where appropriate
-- Colin King <colin.king@canonical.com> Thu, 9 Oct 2014 21:16:00 +0100
stress-ng (0.02.03-1) unstable; urgency=medium
* Bump version
* Add --fstat, --fstat-ops and --fstat-path fstat stress options
* Add --utime, --utime-ops, --utime-fsync options
* Add -R, --rename, --rename-ops rename stressor
-- Colin King <colin.king@canonical.com> Thu, 9 Oct 2014 11:03:00 +0100
stress-ng (0.02.02-1) unstable; urgency=medium
* Makefile: bump version
* bigheap: account for the type of out of memory conditions in debug
* Forgot to update the man page for --big-heap options
-- Colin King <colin.king@canonical.com> Tue, 7 Oct 2014 13:23:00 +0100
stress-ng (0.02.01-1) unstable; urgency=medium
* Fix up errors found by coverity scan
* Add bigheap stressor
* Makefile: bump version
* Add coredumping limits
* Add oom killer adjustments
* Add maxtrix product cpu stressor
* Expand float and int tests to various sized arithmetic
-- Colin King <colin.king@canonical.com> Tue, 7 Oct 2014 12:18:00 +0100
stress-ng (0.02.00-1) unstable; urgency=medium
* Bump version to 0.02.00
* Minor tweaks to man page
* Add qsort stressor and --qsort, --qsort-ops, --qsort-size options
* Remove some whitespace
* Add some notes about the CPU methods used
* Add RGV <-> YUV cpu stress method
* Add more bithack stressors to bitops cpu method, update man page
* Remove --int, --int-ops, --float, --float-ops from help
* Re-order cpu stressor methods alphabetically
* Remove the need for cpu stressors to return anything
* Remove --float and --float-ops and merge into cpu stress
* Make uint64_put take 1 arg
* Remove --int and --int-ops, merge into int cpu stress
* Remove extraneous space
* Add comments and some consts
* Add IDCT and "all" cpu stress methods
* Add euler and jenkins cpu stress methods
* Add Fast Fourier Transform cpu stress method
* Add Golden Ratio computation as a cpu stressor
* Execute the correct stress function
* Fix indexing error on procs <---> stress id
* Add --cpu-method option to stress the CPU different ways
* Add const where applicable, small code tidy up
* Replace APP_NAME with app_name static string
* Guard against bad flag type
* Re-work print, saved ~60 bytes
* Sort stressors by name order
* Get page size for mmap using sysconf
* Make *_put helper args const
* Make maximum number of procs a #defined constant
* Track mmap'd memory, this stops coverity scan getting confused
* Add --hdd-write-size option
* Add mmap stressor and --mmap, --mmap-ops, mmap-bytes options
* Fully #define out unused stress tests
* Check for end-of-table on stressors
* Use err and dbg helpers to print syscall failures
* Make short get_opt short int
* Remove human readable label field, it's duplication
* Make short opts a stress_op enum
* Make all ops lo, hi thresholds the same (100,100000000)
* Make options table driven for stress test options
* Add segmentation fault stressor, --sigsegv and --sigsegv-ops options
* Add directory stressors
* Add link and symlink stressors
* Fix help information, start -> stop
-- Colin King <colin.king@canonical.com> Thu, 3 Oct 2014 10:44:00 +0100
stress-ng (0.01.32-1) unstable; urgency=medium
* Makefile: bump version
* Handle forced abort and tidy up when errors occur during start up
* Add more termination checks to try to abort faster
* Fix --sched option that had missing .TP
* Remove duplicate const
* Neaten up the see also list
-- Colin King <colin.king@canonical.com> Thu, 28 Aug 2014 00:21:01 +0100
stress-ng (0.01.31-1) unstable; urgency=medium
* Makefile: bump version
* Minor fix-ups in man page
* Re-order globals, saves 8 bytes
* Make mwc uint64_t
* Add some more comments
* Remove DIV_OPS_BY_PROCS macro
* Fix --keep-name help info (order and missing ')
* Fix --sched man page option
-- Colin King <colin.king@canonical.com> Tue, 19 Aug 2014 15:47:28 +0100
stress-ng (0.01.30-1) unstable; urgency=medium
* Makefile: bump version
* Fix up a few resource leaks
* Add format length specifier to scanf on integers
* Minor var cleanup from cppcheck
* Re-work help info
* Remove common functionality, make code smaller
* Free procs more rigorously.
* Clear sigqueue union, keeps valgrind happy
* Free procs info at exit
* Add more information in man page
* Re-use stressor names in checks
* Cast max_ops to (void) to avoid unused var warnings
* Add --vm-locked option and force cpu affinity changes on cache stress
* Fix spelling mistake in man page
* Remove some extraneous white spaces
* Remove commas from numbers in help
* Align help info
* Remove redundant code that got accidentally left in
* Simplify hogs message
* Keep track of per stress test ops count in opt_ops array
* Add -P, --poll, --poll-ops zero timeout polling stress test
* Add -k, --keep-name option to not change name of stress processes
* Add -r, --random option to create N random stress processes
-- Colin King <colin.king@canonical.com> Tue, 5 Aug 2014 17:25:01 +0100
stress-ng (0.01.29-1) unstable; urgency=medium
* Makefile: bump version
* Use si_value.sival_int instead of info.si_int (Closes: #756787)
* Fix incorrect nesting of OPT_SIGQUEUE*
-- Colin King <colin.king@canonical.com> Fri, 1 Aug 2014 23:25:23 +0100
stress-ng (0.01.28-1) unstable; urgency=medium
* Makefile: bump version, change codename
* Add sigqueue and sigwaitinfo stress, new --sigq, --siqq-ops options
* Make mwc inline
* Make opt_do_run volatile
* Make -O2 default
* Remove numerous printfs in help info
* Remove lots of duplicate stress test names from code
* Fixup print % qualifier
* Clean all objects on make clean
-- Colin King <colin.king@canonical.com> Wed, 30 Jul 2014 10:25:00 +0100
stress-ng (0.01.27-1) unstable; urgency=medium
* Makefile: bump version
* Add more info to man page
* Add open stress test
* Fix bug in semaphore range checking
* Fix dbg message for stress_int
* Add some more comments
* Add more information in man page
* Increase the -l option accuracy by biasing by the select() overhead time
* Add missing comma to output
-- Colin King <colin.king@canonical.com> Tue, 29 Jul 2014 00:33:31 +0100
stress-ng (0.01.26-1) unstable; urgency=medium
* Makefile: bump version
* Add semaphore stress, --sem and --sem-ops options
-- Colin King <colin.king@canonical.com> Sun, 27 Jul 2014 16:24:22 +0100
stress-ng (0.01.25-1) unstable; urgency=medium
* Makefile: bump version
* More aggressive process termination to kill any lingering processes
-- Colin King <colin.king@canonical.com> Sun, 20 Jul 2014 18:05:01 +0100
stress-ng (0.01.24-1) unstable; urgency=medium
* Makefile: bump version
* Makefile: add helper.c to make dist
* Add integer stressor, --int and --int-ops options
* urandom: cater for non-linux builds
* Add --float and --float-ops floatin point stressors
* Add urandom stress, -u, --urandom and --urandom-ops options
* Make timer stress more responsive to SIGINTs
* Forgot to add 'T' option to getopt
-- Colin King <colin.king@canonical.com> Sun, 20 Jul 2014 17:38:43 +0100
stress-ng (0.01.23-1) unstable; urgency=medium
* Makefile: bump version
* Add snappier process termination
* Add -h option
* Add more debug on exit paths
* Add more checking on sigaction
* Minor code tidy up
* Move time_now()
* Use timeval helper in time_now()
* Fix build error on GNU HURD
-- Colin King <colin.king@canonical.com> Mon, 14 Jul 2014 11:49:41 +0100
stress-ng (0.01.22-1) unstable; urgency=medium
* Makefile: bump version
* Add directory entry thrashing
* Track ftruncate errors
-- Colin King <colin.king@canonical.com> Sun, 13 Jul 2014 17:19:05 +0100
stress-ng (0.01.21-1) unstable; urgency=medium
* Makefile: bump version
* Remove need for rand, it makes Coverity Scan complain
* Check for freq divide by zero
* Add in __linux__ build dependency on timers
* Add timer stress test --timer, --timer-ops and --timer-freq options
* Note that affinity options linux only in man page
* opt_affinity_ops is linux only
* Fix man page -F option
* Add CPU affinity stress processes, add --affinity and --affinity-ops options
-- Colin King <colin.king@canonical.com> Sat, 12 Jul 2014 21:50:00 +0100
stress-ng (0.01.20-1) unstable; urgency=medium
* Makefile: bump version
* Ignore return from ftruncate, we don't care
* Fix spelling mistakes
* Standardise error messages
* Remove extraneous pid at end of pr_* messages
* Add more information when error occurs
-- Colin King <colin.king@canonical.com> Mon, 7 Jul 2014 20:00:00 +0100
stress-ng (0.01.19-1) unstable; urgency=medium
* Makefile: bump version
* Willfully ignore posix_fallocate() failures, we don't care
* Terminate and tidy up flock stress temp file
* Update help information
* Make conditional stress tests no-ops rather than not including them
* Add file locking stress, --flock and --flock-ops options
* Add --vm-populate option
* Add fallocate test and -F, --fallocate, --fallocate-ops options
* Divide yield bogo ops by number of yield processes
-- Colin King <colin.king@canonical.com> Mon, 7 Jul 2014 19:26:00 +0100
stress-ng (0.01.18-1) unstable; urgency=medium
* Makefile: bump version
* Add yield stress test and -y, --yield, --yield-ops options
* Add ionice-class and ionice-level options (Linux only)
-- Colin King <colin.king@canonical.com> Sun, 6 Jul 2014 11:14:00 +0100
stress-ng (0.01.17-1) unstable; urgency=medium
* Makefile: update version
* Add build hardening
* Add scheduler options to man page
* Allow --sched which to show available schedulers
* Add --sched and --sched-prio options
-- Colin King <colin.king@canonical.com> Fri, 4 Jul 2014 16:38:00 +0100
stress-ng (0.01.16-1) unstable; urgency=medium
* Don't include prctl.h unless compiled for a linux target
* Reduce scope of j loop index
* Reduce scope of ret
* Clarify bitwise operation
* Remove duplicate consts
-- Colin King <colin.king@canonical.com> Sat, 21 Jun 2014 14:24:15 +0100
stress-ng (0.01.15-1) unstable; urgency=medium
* Initial Debian upload (Closes: #735674)
* Makefile: bump version
* Minor tidy-ups
* Minor changes to man page
-- Colin King <colin.king@canonical.com> Mon, 26 May 2014 10:39:00 +0200
stress-ng (0.01.14-1) unstable; urgency=medium
* Makefile: bump version
* Add -a, -all run all stress test option
* Cast close returns to (void) when we don't care
* Minor comment and code clean up
* Re-order options in man page
* Add socket stressors
* Add CPU cache to hogs line
* Fix up and re-order options in help info
-- Colin King <colin.king@canonical.com> Thu, 22 May 2014 16:01:01 +0100
stress-ng (0.01.13-1) unstable; urgency=low
* Makefile: bump version
* Fill memory with something other that '0'
* Add cache thrash stress options to man page
* Add cache stress
* Update man page with new pipe I/O options
* Add pipe I/O loading test
-- Colin King <colin.king@canonical.com> Tue, 20 May 2014 12:14:00 +0100
stress-ng (0.01.12-1) unstable; urgency=low
* Makefile: bump version
* Add some more comments
* Remove atoi and use strtol to handle underflow/overflow checking
* Add print format specifier
* Fix status not being printed
-- Colin King <colin.king@canonical.com> Mon, 19 May 2014 10:40:00 +0100
stress-ng (0.01.11-1) unstable; urgency=low
* Makefile: bump version
* Fix copyright
* Makefile: Fix make dist, use plain old tar to omit debian contents
* Add COPYING file
* Add a -l --cpu-load option to load CPUs to a specified amount
-- Colin King <colin.king@canonical.com> Fri, 28 Mar 2014 21:08:11 +0000
stress-ng (0.01.10-1) unstable; urgency=low
* Makefile: bump version
* debian/control: set arch to any
* Fix up copyright company
* Fix formatting of the copyright in the source
* Re-write the description and make it a little clearer in the source
* Detect and report if a worker stress process failed
* Make process name changing linux only feature
-- Colin King <colin.king@canonical.com> Mon, 20 Jan 2014 17:00:01 +0000
stress-ng (0.01.09-1) unstable; urgency=low
* Initial release into Debian (Closes: #735674)
* Makefile: bump version
* Fix up description once more
* Add some minimal comments
* Re-work debian control again.
-- Colin King <colin.king@canonical.com> Fri, 17 Jan 2014 11:52:13 +0000
stress-ng (0.01.08-1) unstable; urgency=low
* Makefile: bump version
* debian/control: Update debian control
* debian/rules, remove override_dh_auto_build
* debian/control: update, minor changes
* debian/compat: update to 9
* Check for write fail
-- Colin King <colin.king@canonical.com> Thu, 16 Jan 2014 13:47:11 +0000
stress-ng (0.01.07) trusty; urgency=low
* Makefile: bump version
* Fix typo in help info
* Ensure we quit when ctxt switch parent is killed
* Update man page date
* Add context switch stress test
* Add fork stress test
* Update copyright year
-- Colin King <colin.king@canonical.com> Thu, 16 Jan 2014 13:27:51 +0000
stress-ng (0.01.06) trusty; urgency=low
* Makefile: bump version again
* vm-keep does not have an optarg
-- Colin King <colin.king@canonical.com> Fri, 6 Dec 2013 18:46:20 +0000
stress-ng (0.01.05) trusty; urgency=low
* Makefile: bump version
* Fix opt_vm_hang bug
-- Colin King <colin.king@canonical.com> Fri, 6 Dec 2013 15:50:01 +0000
stress-ng (0.01.04) trusty; urgency=low
* Makefile: bump version
* ensure ret is initialized in print()
* Fix some signed / unsigned comparison warnings
* Make print return number of chars emitted and ignore some func returns
* Makefile: add -Wextra
* Set shm mem name to be unique on parent pid
* handle out of memory error on procs
* tidy up and constify where applicable
-- Colin King <colin.king@canonical.com> Tue, 19 Nov 2013 12:57:22 +0000
stress-ng (0.01.03) saucy; urgency=low
* Makefile: bump version
* Make mmap failure non fatal
-- Colin King <colin.king@canonical.com> Fri, 17 Oct 2013 19:38:31 +0100
stress-ng (0.01.02) saucy; urgency=low
* Makefile: bump version
* Set umask before using mkstemp
-- Colin King <colin.king@canonical.com> Wed, 15 Oct 2013 15:28:33 +0100
stress-ng (0.01.01) saucy; urgency=low
* Makefile: bump version
* hdd: fix --hdd-noclean option
* hdd: change buffer size, exit early if hdd-ops reached per write
* Add default settings as #defines
* Make metrics labels a little more understandable
* Limit vm-ops to min of 100
-- Colin King <colin.king@canonical.com> Tue, 15 Oct 2013 16:20:05 +0100
stress-ng (0.01.00) saucy; urgency=low
* Initial version
-- Colin King <colin.king@canonical.com> Tue, 15 Oct 2013 13:35:40 +0100
|