1stress-ng (0.13.09-1) unstable; urgency=medium 2 3 * stress-syncload: add build time check that atomic ops on doubles 4 is supported 5 * stress-ng.h: Make start_time naturally aligned for improved 6 atomic performance 7 * stress-syncload: Remove sched yield 8 * stress-ng.h: no need for start_time to be volatile 9 * stress-syncload: use atomic load/store in preference to spinlock 10 * stress-synload: add yield points for OS X builds 11 * stress-x86syscall: reduce the scope of variable str 12 * stress-x86syscall: reduce the scope of variable str 13 * stress-randlist: reduce the scope of variable i 14 * stress-aio: reduce the scope of variable ret 15 * stress-cache: ensure variable cpu is not clobbered 16 * stress-syncload: only declare ret if it is required 17 * core-vmstat: only build stress_find_mount_dev for linux 18 * core-vmstat: make stress_find_mount_dev static 19 * stress-vforkmany, fork: use indirect vfork call 20 * stress-nop: inline each nop instruction and add Kalray VLIW nop 21 * stress-cache: ensure variable masked_flags is not clobbered 22 * stress-bad-altstack: use valid smallest alternative stack 23 * stress-skiplist: zero allocated list items and free list on 24 alloc failure 25 * stress-*fork: use vfork shim wrapper macro to use syscall or vfork 26 * stress-memthrash: define stress_memthrash_flush only for x86 27 * stress-pthread: use calloc'd stack in preference to mmap'd one 28 * Add hppa architecture and disable sigaltstack 29 * stress-cache: move on to next round if SIGSEGV occurs w/o timeout 30 * stress-cache: add more SIGSEGV detection and fix ret return 31 * test-fanonify: remove include of stress-ng.h 32 * core-cache: only perform sparc cache checks for sparc builds 33 * stress-fp-error: workaround 1 / PI inexact fp error issue 34 * core-cache: add Linux arch Alpha cache size detection 35 * stress-ng.h: ensure ARCH specific #defines are defined to a value 36 * Rename ARM asm macros and tests with ARM in name, part #1, ARM 37 * Rename ppc64 asm macros and tests with ppc64 in name, part #1, ppc64 38 * Rename x86 asm macros and tests with x86 in name, part #1, x86 39 * Add autocheck of clflush x86 instruction and check if it is 40 available at run time 41 * Rename STRESS_ARCH_RISC_V to STRESS_ARCH_RISCV 42 * Add RISC-V memory fence shim helper 43 * core-vmstat: update copyright 44 * stress-readahead: Update copyright 45 * stress-iomix: update copyright 46 * stress-iomix: try to drop cached data after sync'd to file 47 * stress-iomix: add in missing comment 48 * stress-iomix: add madvise calls to make reads more effort 49 * stress-readahead: add fadvise call to try and drop cached data 50 * core-vmstat: remove some trailing white spaces 51 * core-vmstat: improve device name lookup for iostat 52 * stress-ng: Fix --temp-path directory checking (#163) 53 54 -- Colin Ian King <colin.i.king@gmail.com> Sun, 19 Dec 2021 20:42:44 +0100 55 56stress-ng (0.13.08-1) unstable; urgency=medium 57 58 [Alexander Kanavin] 59 * Do not preserve ownership when installing example jobs 60 61 [John Kacur] 62 * stress-ng: Fix potential overrun in msgsnd 63 64 [Colin Ian King] 65 * Makefile: bump version 66 * Manual: update date and update contributors 67 * stress-misaligned: disable atomic ops for SH4 68 * stress-randlist: ensure memory pointed to by ptrs is free'd 69 * debian/control: update standards version to 4.6.0 70 * stress-randlist: clear up gcc warning on openhipster 71 * stress-cache: make loop variable j a register volatile 72 * stress-sigfpe: add work around for M68K linux devices 73 * stress-sigfpe: annotate expected use of specific fpe flags 74 * stress-sigfpe: Add comment regarding floating point division by zero 75 * Add syncload synchronized bursty load stressor 76 * stress-ng: reformat long_options, align 2nd value 77 * stress-randlist: fix the class type 78 * stress-stackmmap: stash non-stack address to clean up scan-build warning 79 * test/test-pthread-attr-setstack.c: remove redundant assignment to ret 80 * stress-secretmem: fix memory leak on object mappings 81 * test/test-getmntent: exercise mount struct 82 * test/test-libkmod: voidify variable module_name 83 * test/test-timer-create: remove redundant variable t 84 * stress-dev: remove redundant assignment to variable claimed 85 * stress-prctl: voidify return from prctl calls 86 * stress-x86syscall: fix --x86syscall-func segfault 87 * test/test-__restrict: use src dst names for ptr2, ptr1 and fix eos check 88 * stress-mincore: unmap before closing fd, fixes a hidden file issue on fuse 89 * stress-mcontend: unmap before closing fd, fixes a hidden file issue on fuse 90 * stress-rmap: unmap before closing fd, fixes a hidden file issue on fuse 91 * stress-ng: make pr_inf stat error message a verbose debug error message 92 * stress-mincore: close fd before removing directory 93 * stress-mcontend: close file early, ensure directory is deleted on error 94 * stress-verity: add ENOSYS error return check for non-implemented verity functionality 95 * stress-timer: set timer on each timer duration update 96 * README.md: Add one more project citation 97 * stress-goto: add a new stressor to exercise heavy goto branching 98 * core-cpu: annotate cpuid registers that need to be set and values returned 99 * stress-hrtimers: update copyright 100 * stress-hrtimers: add --hrtimers-adjust for automatic rate adjustment 101 * Rename stress_check_value to stress_check_max_stressors 102 * stress-smi: use no-op command instant of 1 to trigger SMI 103 * stress-cache: fix build issue 104 * stress-cache: remove some white spaces 105 * stress-cache: add --cldemote option 106 * stress-cache: use random cache flags if none are provided 107 * core-cpu: remove unnecessary inner #ifdef'd code 108 * stress-cache: add --clflushopt option 109 * Replace char *str = "text" with char str[] = "text" 110 * core-cpu: declare stress_cpu_x86_extended_features only for x86 arches 111 * stress-rdrand: only allow --rdrand-seed if rdseed instruction is available 112 * Remove need for HAVE_CPUID_H and HAVE_CPUID checks 113 * Remove __get_cpuid usage and build checking 114 * stress-smi: use stress_cpu_x86_has_msr helper 115 * stress-x86syscall: use stress_cpu_x86_has_syscall helper 116 * stress-tsc: use stress_cpu_x86_has_tsc helper 117 * stress-rdrand: use stress_cpu_x86_has_rdrand helper 118 * stress-enosys: don't use __cpuid and check for SIGILL on syscalls 119 * stress-cpu: use stress-ng cpuid rather than gcc __cpuid 120 * core-cpu: add stress-ng x86 cpuid implementation 121 * stress-lockbus: add sync_bool_compare_and_swap 122 * stress-ng: make a couple of the inline helpers always inline 123 * Fix some spelling mistakes in comments 124 * core-perf: Add Cgroup Switches and add missing tab in CPU Migrations 125 * stress-ng.h: implement shim_clflush as a cacheflush call 126 * stress-memrate: use clang __builtin_nontemporal_store 127 * stress-numa: exercise invalid MPOL_F_NUMA_BALANCING | MPOL_LOCAL mbind options 128 * stress-memrate: add non-temporal (cacheless) writes for x86 129 * stress-fanotify: add FAN_FS_ERROR flag 130 131 -- Colin Ian King <colin.i.king@gmail.com> Tue, 7 Dec 2021 13:19:23 +0100 132 133stress-ng (0.13.07-1) unstable; urgency=medium 134 135 * Makefile: bump version 136 * Makefile: update copyright 137 * manual: update date, author email and copyright 138 * debian/copyright: update copyright 139 * debian/control: update email address 140 * stress-resched: move declaration of j, clean up build warning 141 * stress-resched: fix build error on systems without sched_setscheduler 142 * stress-sigq: exercise invalid signal on rt_sigqueueinfo call 143 * core-log: don't open/close stdout, use fileno on stdout instead 144 * stress-ng: remove commented out stress_set_proc_name call 145 * stress-vecwide: add a wide vector math stressor 146 * Makefile.config: add alderlake optimization target clones 147 * stress-filename: stat file before creation, during and after unlink 148 * stress-prctl: exercise Linux 5.15 ARCH_GET_XCOMP_ arch_prctl calls 149 * stress-vm: add grayflip method. 150 * debian/control: update standards version 151 * stress-hdd: ensure offset is aligned to 512 byte boundary 152 * Refine target-clones attribute to determine attributes at build time 153 * stress-prctl: fix typo in comment: fine -> find 154 * stress-futex: add Linux 5.16 futex_waitv call 155 * Make one thousanth, one millionth and one billionth constants 156 * core-vmstat: remove tabs and spaces 157 * stress-atomic: add more contention by running 4 processes per stressor 158 * stress-atomic: use lower optimization level on sh gcc 159 * core-time: scale by multiplying by one millions 160 * Add --resched rescheduling stressor 161 162 -- Colin Ian King <colin.i.king@gmail.com> Mon, 16 Nov 2021 00:01:02 +0000 163 164stress-ng (0.13.06-1) unstable; urgency=medium 165 166 [Alexander Kanavin] 167 * Makefile: do not write the timestamp into compressed manpage. 168 169 [John Kacur] 170 * stress-ng: Conscientious Language effort 171 172 [Colin Ian King] 173 * Makefile: bump version 174 * Debian: update control - use ubuntu email 175 * Add autobuild detection of sys/loadavg.h 176 * stress-rdrand: add missing 2x32 read variant of rdseed 177 * stress-dev: optimization: cache all dev entries in a hash table 178 * debian/watch: update to use github tarball name mangling 179 * debian/copyright: Fix URLs to project and email contact 180 * Rename HAVE_STRLCPY and HAVE_STRLCAT to fix Nixos libbsd macro clash 181 * stress-bad-ioctl: optimization: cache a copy of all dev names 182 * voidify returns from fflush and fprintf calls 183 * stress-mmap: exercise OpenBSD mquery system call on mapped pages 184 * stress-madvise: add OS X MADV_ZERO_WIRED_PAGES madvise advise 185 * stress-madvise: Add OpenBSD MADV_SPACEAVAIL madvise option 186 * stress-mmap: Add some missing NetBSD and OpenBSD mmap flag types 187 * Add stress_killpid helper to kill and fast reap memory 188 * stress-bad-altstack: make stack write-only to cause double trap 189 * stress-prefetch: stash pre_ptr to force compiler to use it in 190 the benchmark loop 191 * stress-kill: fix incorrect voidification of return value from kill 192 * stress-vm-splice: break open statement into two statements 193 * stress-branch: update copyright 194 * stress-branch: remove empty line 195 * stress-branch: shrink branch code, increase branches from 256 to 1024 196 * README.md Add another link to a performance regression found by 197 stress-ng 198 * stress-rdrand: add option to exercise rdseed x86 instruction 199 * core-thermal-zone: replace non-alpha/digits in type name with _ 200 * core-vmstat: disable iostat for non-linux systems 201 * stress-atomic: don't perform atomic 64 bit ops on 32 bit platforms 202 * core-vmstat: ensure all fields in vmstat_current are zero'd 203 * stress-ng.h: Don't include sys/sysctl.h in Linux, it has been 204 deprecated 205 * Makefile.config: Fix sys/vmmeter.h autodetection 206 * stress-atomic: Add finder build time detection of atomic intrinsics 207 * core-vmstat: Add FreeBSD implimentation to system statistics 208 * core-helper.c: fix typo, GETLOADAVG should be HAVE_GETLOADAVG 209 * core-vmstat: fix buffer overrun on therms 210 * Add build time detection for getloadavg 211 * Debian control: update homepage URL 212 * README.md: Add tarball version information 213 * Add build time pragma support detection 214 * stress-bad-altstack: move pragmas to be around the function 215 stress_bad_altstack_force_fault 216 * stress-smi: make not being able to load a module non-fatal 217 * core-vmstat: don't build in iostat metrics if major/minor macros 218 aren't available 219 * REAME.md: Fix typo, 650 -> 260 220 221 -- Colin King <colin.king@ubuntu.com> Thu, 28 Oct 2021 09:36:17 +0100 222 223stress-ng (0.13.05-1) unstable; urgency=medium 224 225 * Makefile: bump version 226 * Makefile: rename README to README.md in the make dist rule 227 * Manual: update date 228 * README.md: Add note to run make clean after git fetch 229 * README.md: add some examples 230 * README.md: Clean up white spaces in markup 231 * README.md: add citations 232 * README: Rename to README.me and add github style markdown 233 * Revert "stress-aio-linux: clean up valgrind uninitialized memory 234 warnings" 235 * stress-dev: only define PPGETTIME{32|64} if PP_IOCT is defined 236 * stress-ng.h: Fix missing \ in STRESS_PRAGMA_WARN_OFF macro 237 * Revert "stress-cache: add clobbering warning pragma workaround" 238 * stress-cache: add clobbering warning pragma workaround 239 * stress-dev: don't declare stress_dev_scsi_generic_linux for 240 non-linux targets 241 * stress-dev: remove EMU debug message 242 * stress-aio: clean async io cancel, check status with aio_error 243 * stress-vm: clear up volatile discards warning with pedantic build 244 * stress-kill: send signals to a child process to add more stress 245 * stress-branch: double number of branch points, makes prediction 246 harder for CPU 247 * stress-vm: add mscan vm memory exercising method 248 * stress-malloc: add yield point in stress_malloc_page_touch 249 * stress-link: make reandom number index size_t 250 * stress-get: initialize some objects to keep valgrind happy 251 * stress-dirdeep: fix cleanup of dirent objects 252 * stress-aio: add polled wait for completion 253 * stress-aio-linux: clean up valgrind uninitialized memory warnings 254 * stress-context: memset context requires and more sigaltstack 255 * stress-hsearch: free hash items 256 * core-smart: re-write begin/end checks 257 * stress-thermal-zone: don't pass a null type to stress_tz_type_instance 258 * Manual: clarify the semantics of the --timeout, -t option 259 * stress-uprobe: ensure libc.so is also matched as a valid libc so name 260 * Manual: remove GNU tbl extensions for table widths 261 * stress-dev: exercise Linux scsi generic ioctls 262 * stress-io-uring: keep track of unsupported opcodes 263 * stress-fpunch: add yield check while populating test file 264 * stress-io-uring: print opcode name to help decode opcode to human 265 readable text 266 * stress-dev: add parallel port ioctl device exercising 267 * stress-io-uring: add statx and sync_file_range io-uring ops 268 * stress-crypt: add some more crypto methods to exercise 269 * stress-cpu-online: just limit to maximum of 65536 cpus 270 * stress-context: rename __ prefix with suitable name 271 * stress-context: remove empty line 272 * core-thrash: add more slab work by attempting to shrink slabs 273 * stress-dev: add hwrng exercising for linux 274 * stress-dev: shuffle dev names rather than mixup sort 275 * stress-dev: add Linux floppy disk ioctls to dev stressor 276 * stress-iomix: add sync'ing on written data at most every second 277 * Add new --no-oom-adjust option to disable all oom adjustments 278 * core-out-of-memory: fix inverted check on oomable process 279 * stress-ng: add missing ftrace and oomable options from --help output 280 * snapcraft: change project repo URL 281 282 -- Colin King <colin.king@canonical.com> Mon, 11 Oct 2021 18:18:18 +0100 283 284stress-ng (0.13.04-1) unstable; urgency=medium 285 286 * Makefile: bump version 287 * stress-fallocate: Fix ENOENT failure messages 288 * stress-sock: remove redundant variable msg_len 289 * stress-dccp: remove redundant variable msg_len 290 * stress-prefetch: add missing volatile in pointer cast 291 * core-vmstat: optimization: remove check for non-null 292 * core-vmstat: reduce scope of variable ret 293 * stress-mergesort: don't jmp out of mergesort on NetBSD 294 * stress-vm-segv: Fix weird hangs on DragonFlyBSD 295 * stress-chmod: add EPERM check to systems that also support EFTYPE 296 * stress-rmap: fix rmap bogo-ops threshold 297 * Fix typo: HAVE_LOFF_T -> HAVE_OFF_T 298 * Add off_t type detection and use it if loff_t is not defined 299 * stress-prefetch: prefix macros with STRESS_ to avoid FreeBSD 300 macro conflict 301 * stress-prefetch: fix mmap/munmap type warnings on OpenHipster 302 * stress-prefetch: use correct format specifier for size_t variable 303 l3_data_mmap_size 304 * stress-prefetch: add stress_void_ptr_put and use it to stash pointers 305 * stress-prefetch: Add a L3 prefetch read benchmarking stressor 306 * stress-fifo: exercise invalid mmap on fifo fd 307 * stress-fifo: periodically exercise FIONREAD on read end of pipe 308 * stress-fifo: periodically perform invalid lseek on pipe fd 309 * stress-pthread: use phread_mutexattr calls to use priority 310 inheritence 311 * stress-misaligned: perform misaligned read/writes on page and cache 312 boundaries 313 314 -- Colin King <colin.king@canonical.com> Tue, 28 Sep 2021 11:02:11 +0100 315 316stress-ng (0.13.03-1) unstable; urgency=medium 317 318 * Makefile: bump version 319 * stress-remap: Fix build failure on systems without MAP_POPULATE 320 321 -- Colin King <colin.king@canonical.com> Fri, 17 Sep 2021 12:33:12 +0100 322 323stress-ng (0.13.02-1) unstable; urgency=medium 324 325 [Fabien Malfoy] 326 * core-helper: Quote the system-info.version value in YAML metrics 327 [Danilo Krummrich] 328 * core-vmstat: fix trim of devnames for nvme devices 329 330 [Colin Ian King] 331 * Makefile: bump version 332 * Manual: update update contributors list and date 333 * Signed-off-by: Colin Ian King <colin.king@canonical.com> 334 * core-vmstat: make helper function static and constify arg 335 * stress-opcode: clean up clang-11 pedantic build warning 336 * stress-aio: perform retry if EBUSY occurs 337 * stress-vm: constify end pointers 338 * stress-stream: constify pointers idx1, idx2, idx3 339 * stress-opcode: make pointer ops_end const 340 * stress-msync: make pointer buf const 341 * stress-mcontend: constify pointer vdata 342 * stress-malloc: move scope of ptr and end, constify end 343 * stress-malloc: make parameters counters const 344 * Treewide: fix spelling mistakes and typos 345 * stress-cpu: use the __builtin_parity function if it is available 346 * core-vmstat: fix assignment that should be a comparison 347 * stress-io-uring: silently ignore ENOSPC failures 348 * stress-io-uring: fix typo in comment 349 * stress-prctl: move } around #endif 350 * stress-procfs: add reverse seek/reads on non fifo procfs entries 351 * stress-swap: periodically create invalid swap header 352 * stress-loop: exercise invalid ioctl on loop control device 353 * stress-loop: exercise invalid block sizes 354 * stress-loop: perform invalid removal of device -1 355 * core-vmstat: use '\0' end of string rather than 0 356 * snapcraft: move to core20 and add some extra build dependencies in 357 * Manual: update contributors list 358 * stress-fanotify: add Linux 5.15 FAN_REPORT_PIDFD option 359 * stress-ng: --thrash: drop caches at random periodical intervals 360 * stress-prctl: remove tabs 361 * core-vmstat: use shim_strlcpy instead of strcpy 362 * stress-prctl: add Linux 5.15 PR_SPEC_L1D_FLUSH operation 363 * core-vmstat: trim from dev name not the stat file 364 * core-vmstat: handle devices such as /dev/sda1 -> /dev/sda 365 * core-helper: handle SIGSTKSZ being potentially a sysconf call 366 * Add --iostat option to periodically dump out I/O stats 367 * stress-ng: fix dynlib-ops command, typo in dynlib 368 * stress-loadavg: Fix spelling mistake "averge" -> "average" 369 * stress-vm-rw: remove extraneous space in error message 370 * stress-numa: add new MPOL_PREFERRED_MANY option 371 * kerne-coverage: add more file system options and stressor test scenarios 372 * Manual: fix context switch --switch-freq option 373 374 -- Colin King <colin.king@canonical.com> Tue, 14 Sep 2021 14:14:14 +0100 375 376stress-ng (0.13.01-1) unstable; urgency=medium 377 378 [Maxime Chevallier] 379 * stress-ng: Fix random stressor assignment 380 381 [Colin Ian King] 382 * Makefile: bump version 383 * Manual: update date 384 * stress-kcmp: move close to avoid fd1 leak on exit 385 * stress-set: no need to initialize fsgid, remove assignment 386 * stress-hdd: fill write/read buffer with random data 387 * stress-set: initialize uid/gid variables 388 * Add yielding check and success exit if we timeout 389 * stress-fork: don't use getpgid if it is not available 390 * stress-dir: only use mkdirat if it is available. 391 * stress-hdd: voidify fd to clean up Minix build warnings 392 * stress-wait: fix build warning on Minix 393 * stress-pkey: add pkey_set build time detection 394 * stress-pkey: add pkey_get build time detection 395 * test: use pkey_mprotect call rather than system call 396 * test: use pkey_alloc call rather than system call 397 * stress-pkey: use pkey call if it is available 398 * stress-xattr: fix build error when XATTR_SIZE_MAX is not defined 399 * stress-sockpair: fix name shadowing of variable ret 400 * stress-seccomp: unconstify seccomp_actions, clean up build warning 401 * stress-malloc: rename malloc_touch to avoid name shadowing 402 * stress-exit-group: remove duplicated declaration of ret 403 * stress-set: exercise getresgid with valid and invalid arguments 404 * stress-sem: exercise semop and semtimedop with invalid arguments 405 * stress-sem-sysv: exercise semget with some invalid arguments 406 * stress-sem-sysv: exercise semctl with invalid cmd paramater 407 * stress-mq: cast UINT_MAX to long to clean up pedantic build warning 408 * stress-seccomp: add more seccomp operation tests 409 * core-try-open: voidify return from alarm, we are ignoring it 410 * stress-madvise: only used MADV_* flags if they are defined (part 2) 411 * stress-madvise: only used MADV_* flags if they are defined 412 * stress-ramfd: exercise umount2 with and without illegal flags 413 * Add build time check for umount2 system call 414 * stress-userfaultfd: exercise userfaultfd with invalid flags 415 * stress-swap: exercise invalid swapon flags 416 * stress-swap: exercise invalid swapoff filename 417 * stress-sock: exercise setsockopt invalid arguments 418 * stress-set: exercise setresuid more thoroughly 419 * stress-set: exercise setresgid more thoroughly 420 * stress-fork: exercise invalid setpgid calls before child dies 421 * stress-set: add missing voidified ret 422 * stress-numa: exercise set_mempolicy with incompatible mode flags 423 * stress-sigpending: exercise sigprocmask with some more options 424 * stress-rseq: add a couple more invalid rseq calls 425 * stress-key: exercise request_key with invalid arguments 426 * stress-remap-file-pages: exercise with illegal prot flags 427 * stress-quota: exercise quotactl Q_SYNC flush all NULL device name 428 * stress-ptrace: exercise invalid ptrace calls 429 * Makefile: force V to be undefined to avoid make V=1 build failures 430 * stress-msg: remove empty line 431 * stress-fstat: exercise statx with invalid arguments 432 * stress-madvise: exercise process_madvise with invalid arguments 433 * stress-hdd: add invalid read/write family calls 434 * stress-sockpair: exercise invalid socketpair calls 435 * stress-sock: exercise invalid sock calls 436 * stress-numa: exercise move_pages with NULL nodes argument 437 * stress-msg: exercise msgrcv with invalid arguments 438 * stress-mq: exercise msgctl IPC_SET for more kernel coverage 439 * stress-mq: exercise invalid mq_timedreceive and mq_receive calls 440 * stress-mq: exercise invalid mq_unlink calls 441 * stress-mq: exercise mq_close with invalid mq descriptor 442 * stress-mq: exercise invalid mq_send* calls 443 * stress-mq: exercise mq_open with various invalid arguments 444 * stress-mq: exercise invalid mq descriptor on mq_notify 445 * stress-mq: exercise invalid mq descriptor on mq_getattr/mq_setattr 446 * stress-mremap: workaround pedantic static analysis warnings 447 * stress-mremap: exercise invalid flags and new size 448 * stress-mmap: call wth invalid offset 449 * stress-open: exercise openat2 with invalid usize argument 450 * stress-handle: exercise open_by_handle_at with another bad fd 451 * stress-pkey: exercise pkey_free with invalid pkey id 452 * stress-pkey: exercise pkey_alloc with invalid access_rights 453 * stress-aio-linux: exercise invalid io_submit calls 454 * stress-aio-linux: exercise invalid io_setup calls 455 * stress-aio-linux: exercise invalid io_getevents calls 456 * stress-aio-linux: exercise invalid io_destroy calls 457 * stress-aio-linux: exercise invalid io_cancel calls 458 * stress-sigio: add yield checking while consuming data from SIGIO event 459 * stress-sigio: don't report EINTR as errors on selects 460 * stress-xattr: fix incorrect voidification of variable 461 * stress-xattr: exercise invalid filename on listxattr calls 462 * stress-xattr: remove overly long attribute to force ERANGE 463 * Add stress_redo_fork helper to check errno and keep stressing flag 464 * stress-bad-altstack: add altstack usage inside signal handler 465 * stress-clone: exercise invalid modify_ldt arguments 466 * stress-mknod: exercise invalid fd in mknodat call 467 * stress-dir: exercise invalid fd on mkdirat call 468 * stress-copy-file: exercise copy_file_range with invalid fds and flags 469 * stress-membarrier: add build time check for MEMBARRIER_CMD_FLAG_CPU 470 * stress-loadavg: voidify function return values 471 * stress-fallocate: Add one more invalid mode combo 472 * stress-dirdeep: exercise linkat with invalid flags 473 * stress-readahead: exercise invalid offset and lengths for 474 posix_fadvise 475 * stress-close: exercise invalid flags in fchownat call 476 * stress-sock: use invalid flags for accept4 call 477 * stress-readahead: replace whitespace with tabs. 478 * stress-sigio: drain as much as possible in SIGIO handler 479 * stress-readahead: exercise illegal readahead on write-only file 480 * stress-handle: exercise EOVERFLOW on small buffer 481 * stress-msync: exercise invalid flags field in msync 482 * stress-memfd: add some more invalid memfd pathnames 483 * stress-kcmp: exercise kcmp with invalid PIDs 484 * stress-membarrier: add missing cpu_id arg to membarrier call 485 * stress-fpunch: add more yield points 486 * stress-cap: exercise capset with invalid version and PID 487 * stress-cap: exercise capget with invalid version and PID 488 * stress-utime: exercise utimensat with illegal flags 489 * stress-wait: exercise wait4 with various alternative options 490 * stress-klog: exercise some invalid syslog read operations 491 * stress-dev: avoid any actions on owner's tty 492 * stress-cache: Add NOCLOBBER hints to pinned clean up build warnings 493 * stress-alarm: Add alarm(2) and sleep(3) stressor 494 * stress-kill: exercise illegal signal numbers and PID 495 * stress-exit-group: fix mutex cleanup on exit 496 * stress-cache: add NOCLOBBER hints to total and r to clean up build 497 warnings 498 * stress-key: only use KEYCTL_INVALIDATE if it is defined 499 * Add new exit_group stress test. 500 * stress-pidfd: use the new process_mrelease call on pre-waited 501 process pidfd 502 * core-shim: add wrapper to process_release 503 * stress-cache: remove shim_clflush on bad_addr, breaks OS X 504 * stress-malloc: move initialization of malloc_threshold to #ifdef block 505 * stress-cache: remove __builtin___clear_cache call on 506 bad_addr (LP: #1940593) 507 * stress-get: exercise invalid rusage who fields 508 * stress-key: exercise add_key with a range in invalid arguments 509 * stress-sigfd: exercise signalfd4 with invalid mask pointer size 510 * stress-sigq: add invalid SI_TKILL rt_sigqueueinfo call 511 * stress-remap-file-pages: disable for SPARC 512 * stress-ng.h: Add STRESS_ARCH_SPARC sparc arch macro 513 * stress-cache: add in periodic invalid cache flush operations 514 * stress-ng: disable SIGLARM alarm once child stressor has returned 515 * stress-get: add a couple more test cases for ugetrlimit 516 * stress-chroot: fix use-after-free error when free'ing path 517 * stress-timer: add commented out invalid timer_delete call 518 * stress-brk: add mergable page hint with madvise 519 * core-shim: use brk system call in preference to libc wrapper 520 * stress-chroot: add two more corner test cases, add more comments 521 * stress-cpu: add 16 bit division method div16 522 * stress-hdd: remove tab on empty line 523 * stress-fpunch: fix typo in comment 524 * stress-malloc: add --malloc-touch option to aggressively force pages 525 into memory 526 * stress-zlib: add some missing constifications 527 * stress-vdso: make static array wrap_funcs const 528 * stress-tun: make string buffer static const 529 * stress-sysfs: make static string signum_path const 530 * core-sched: constify static array sched_types 531 * stress-nop: Fix opt_set_funcs undeclared 532 * Manual: update contributors list 533 * Manual: minor corrections in the cpu methods documentation 534 * stress-l1cache: add a missing newline in the source 535 * stress-fpunch: create temp file with holes and multiple extents 536 * stress-affinity: add --affinity-sleep nanosleep delay option 537 * stress-affinity: whitespace and comment clean-up 538 * stress-revio: use stress_get_extents helper 539 * Add file hole punching (and filling) stressor, --fpunch 540 * stress-wait: constify pid_arg arguement 541 * stress-cpu: make variable solutions const, add some line spacing 542 * stress-cpu: move queens_solutions into function 543 * stress-cpu: make array factorials const 544 * core-helper: remove some blank lines and add a missing comment block 545 * stress-pidfd: fix comment, add missing "don't" 546 * voidify return from various sleep calls 547 * Clean up kill calls, voidify returns and remove unwanted debug kill 548 549 -- Colin King <colin.king@canonical.com> Mon, 1 Sep 2021 17:57:59 +0100 550 551stress-ng (0.13.00-1) unstable; urgency=medium 552 553 * Makefile: bump version 554 * stress-userfaultfd: constify a couple of function arguments 555 * stress-timerfd: move label to inside if #ifdef 556 * stress-pci: reduce the scope of pci_path 557 * stress-pci: use unsigned int for %x sscanf format specifier 558 * Manual: update date 559 * core-helper: declare extern __stack_chk_fail 560 * stress-loadavg: Fix build warning on unused pthread flags 561 * stress-loadavg: fix build error on systems without pthreads 562 * stress-mmaphuge: fix info name, copy-n-paste error 563 * stress-mmaphuge: define HUGE macros only if MAP_HUGE_SHIFT is 564 defined 565 * stress-ng.h: remove toolchain check for NOCLOBBER macro 566 * Add asm("") and builtin_expect() built time checks 567 * stress-funccall: only define complex types if complex is supported 568 * stress-ng.h: use HAVE_BUILTIN_MEMMOVE for __builtin_memmove usage 569 * stress-io-uring: rename variable iov_len to iov_length to fix pcc 570 failure 571 * stress-funccall: only define complex types if complex is supported 572 * Add __restrict keyword build time check 573 * stress-shm-sysv: remove some commented out debug cruft 574 * stress-shm-sysv: fix random key generation 575 * stress-shm: fix comment, it is a POSIX shm stessor not SYS V 576 * stress-shm-sysv: exercise shmat with RND option a little more 577 * stress-hdd: ensure read is sync'd to the same random offsets as 578 write 579 * stress-hdd: fix --verify option 580 * stress-opcode: allow child to die badly silently 581 * Add new line between declaration and first executable statement 582 * Add a huge page memory mapping stressor --mmaphuge 583 * stress-mlockmany: add --mlockmany-procs option 584 * help: wrap overly wide help text to tty width 585 * core-helper: add stress_tty_width to get column width of terminal 586 * stress-rawdev: fix typo in help 587 * stress-list: add spaced between list options in help 588 * stress-nop: add missing INSTR arg to nop-instr help 589 * stress-rdrand: add rdrand instruction asm check 590 * Break wide macro line into multi-line #define 591 * Add stress-ng specific stack smashing error message 592 * stress-nop: fix typo in --nop-instr help 593 * Rename macro HAVE_DARN to HAVE_ASM_DARN 594 * stress-nop: add --nop-instr option to specify nop instruction 595 * stress-timerfd: add --timerfd-fds option to specify max fds to use 596 * stress-bad-altstack: disable warnings on known illegal null ptr 597 dereference 598 * stress-dirmany: Add a stressor to rapidly create/remove empty files 599 * Skip error messages on no resource skip stressor terminations 600 * Add load average stressor, try to create insane load averages 601 * stress-pthread: report strerror of correct error return value 602 * stress-resources: Add timerfd_create/close 603 * stress-timerfd: Add build time checks for timerfd_* calls 604 * stress-resources: exercise pidfd_open, waste more fds 605 * stress-open: use O_NDELAY open flag 606 * stress-resources: reap pthread only if it was started 607 * Add build time checks for complex creal and cimag libm functions 608 * stress-funccall: re-organize to reduce #ifdef checking 609 * stress-funccall: add some more types to pass 610 * stress-physpage: exercise /dev/mem mmap'ing 611 * stress-pci: update some comments, fix date 612 * Add new PCI sysfs stressor to read/mmap PCI config and resources 613 * Remove trailing tabs from various sources 614 * stress-prtcl: use shim'd enum for PIDTYPE values 615 * Detemine minimal stack size via sysconf, then PTHREAD_STACK_MIN 616 then guess 617 * stress-memcpy: add naive_o0 and naive_o3 options 618 * stress-af-alg: no need to report zero unused algorithmns 619 * core-madvise: Add MADV_POPULATE_READ and MADV_POPULATE_WRITE flags 620 * stress-madvise: add MADV_POPULATE_READ and MADV_POPULATE_WRITE flags 621 * core-mincore: use MADV_POPULATE_READ to fault pages in 622 * Manual: update contributors list 623 * stress-io-uring: fix typo in comment 624 * stress-affinity: add new --affinity-pin and --affinity-delay options 625 * core-helper: don't emit not implemented messages with --skip-silent 626 * Manual: minor cleanups 627 628 -- Colin King <colin.king@canonical.com> Mon, 2 Aug 2021 18:58:47 +0100 629 630stress-ng (0.12.12-1) unstable; urgency=medium 631 632 * Makefile: bump version 633 * stress-smi: move "us" time closer to the time 634 * stress-sock: Add return at end of stressor, cleans up cppcheck warning 635 * core-setting: remove commented out line 636 * stress-sockabuse: Add return at end of stressor, cleans up cppcheck 637 warning 638 * tests: add missing return at end of main 639 * Add build time check for __get_cpuid() 640 * stress-smi: remove tsc helper function, it is not required 641 * stress-madvise: add NOCLOBBER annotation on ret 642 * stress-mmapfixed: move unmap label inside #ifdef block 643 * core-madvise: voidify function args for systems that don't support 644 madvise 645 * Add new munmap stressor, exercises munmap and fault handling 646 * core-out-of-memory: rename signal to signal_idx to avoid name 647 shadowing 648 * core-helper: rename dirname to directoryname to avoid name shadowing 649 * core-cache: rename index to idx to avoid name shadowing 650 * stress-syscall: rename syscall to syscall_num avoid name shadowing 651 * stress-rawudp: rename sin to s_in avoid name shadowing 652 * stress-open: rename times to tv avoid name shadowing 653 * stress-link: rename tmpfile to tmpfilename avoid name shadowing 654 * stress-judy: rename index to idx to avoid name shadowing 655 * stress-*: rename dirfd to dir_fd to avoid name shadowing 656 * stress-branch: rename index to idx to avoid name shadowing 657 * kernel-coverage: add vm option variations of fork, vfork and 658 vforkmany 659 * stress-fork: add --fork-vm and --vfork-vm options to exercise VM more 660 * core-smart: ensure devs pointer is null 661 * stress-vforkmany: add --vforkmany-vm to exercise VM more 662 * stress-mmapfixes: use STRESS_OOMABLE_QUIET to silence faults 663 * stress-mmapfixed: only perform fixed mapping on unmapped pages 664 * core-helper: make static char array b36 const 665 * core-hash: make primes array const 666 * core-cache: format struct initialization in the coding style 667 * Manual: update date and fix smi formatting 668 * stress-smi: add smi extry in manual, make bogo-ops more frequent 669 * stress-smi: use SHIM_CAP_SYS_RAWIO instead on CAP_SYS_RAWIO 670 * test/test-libkmod: clean up test code 671 * core-smart: only define helpers for stress_smart_read_devs if 672 HAVE_SMART is defined 673 * core-shim: fix shim_modify_ldt no system call build issue 674 * README: Add kmod library package info 675 * core-smart: only define stress_smart_read_devs if HAVE_SMART is 676 defined 677 * core-module: return -1 for no-op module unload helper 678 * Add SMI stressor, trigger SMM calls and benchmark SMI duration 679 * stress-ng: remove space at end of the line 680 * Depluralize the options error warning 681 * Add Unicode minus check on invalid options 682 * core-cache: clean up parsing of cache size 683 * core-smart: use scandir to read devices and sort the devices too 684 * Add --smart option to dump S.M.A.R.T. device statistics changes 685 * stress-af-alg: expand crypto failure message 686 * Fix duration output missing when sequential mode 687 * stress-ng: fix typo "filed" -> "file" 688 * Move OPT_skip_silent to the non-arg lookup table 689 * arg parsing: print out unrecognized options 690 * Add bit shift helpers and use them for stress-ng mask flags 691 * stress-prctl: re-order PR_* macro check by #define value 692 * stress-prctl: add Linux 5.14 PR_SCHED_CORE prctl 693 * Add --skip-silent option to silent skip stress tests that can't 694 be invoked 695 * stress-clone: move shim wrapper of modify_ldt to core-shim 696 * stress-xattr: fix compare/assignment typo 697 * stress-maxtrix: ensure matrix_method_name is initialized to NULL 698 * stress-io-uring: perform 64 bit multiply to avoid 32 bit overflow 699 700 -- Colin King <colin.king@canonical.com> Fri, 9 Jul 2021 09:32:15 +0100 701 702stress-ng (0.12.11-1) unstable; urgency=medium 703 704 [John Kacur] 705 * stress-ng: Add tags to the makefile 706 707 [Colin Ian King] 708 * Makefile: bump version 709 * Makefile: remove git-commit-id.h from dist rule 710 * Manual: update date 711 * stress-af-alg: make stress_af_alg_cmp_crypto static 712 * stress-af-alg: clean up pedantic clang-12 build warning 713 * stress-sock: voidify unused arg opt for stress_set_socket_zerocopy 714 * stress-sock: clean up warnings when MSG_ZEROCOPY is not defined 715 * stress-af-alg: set rc to EXIT_SUCCESS for ignore algos 716 * stress-af-alg: don't re-try to use algos that are marked as internal 717 * stress-af-alg: fix typo in skcipher 718 * kernel-coverage: add --sock-zerocopy option to sock stressor 719 * stress-sock: add a --sock-zerocopy option to use MSG_ZEROCOPY 720 * stress-sock: fix recvmmsg infinite loop 721 * kernel-coverage: add sock mptcp protocol to coverage testing 722 * stress-sock: add --sock-protocol option (tcp or mptcp allowed) 723 * stress-af-alg: sort af-alg algos based on type then name 724 * stress-af-alg-defconfigs.h: update crypto defconfigs table 725 * stress-mmap: add more invalid mmap and munmap calls 726 * stress-mmap: add some invalid mmappings to exercise kernel more 727 * stress-mincore: add file backed mmap'd page to mincore upon 728 * Remove trailing space and tabs from end of lines 729 * stress-enosys: change quotactl_path syscall to quotactl_fd 730 * stress-inval: change quotactl_path syscall to quotactl_fd 731 * Add git-commit-id.h to .gitignore 732 * Add stress-ng version and git id to debug info 733 * stress-netdev: turn stress_netdev_check into a macro, fix some ioctls 734 * stress-sysfs: make killed child an error condition 735 * stress-sysfs: catch killing signals when exercising sysfs 736 * core-out-of-memory: fix typo in comment 737 * stress-netdev: fix build time check for SIOCGIFADDR 738 * stress-quota: change quotactl_path syscall to quotactl_fd 739 * stress-fanotify: remove unnecessary : from message 740 * stress-fanotify: clean up error messages 741 * stress-ramfs: remove ramfs duplicated name in stressor message 742 * stress-fanotify: add stressor name to information logged message 743 * Add --seed N option to set the initial random number generate seed 744 * snapcraft: add architectures remote build info 745 * stress-ng: move --times check into stress_times_dump 746 * core-ftrace: add missing void on stress_ftace_stop helper 747 * core-ftrace: replace int return with void for stop/free functions 748 * stress-signest: uncomment signals that got disabled during debugging 749 * stress-signest: cater for systems that don't have alternative signal 750 stacks 751 * stress-signest: add stressor name to info on unique signals handled 752 * stress-signest: add run time check 753 * stress-signest: don't use SIGINT, it's meant for halting stress-ng 754 * stress-signest: add more yielding termination 755 * stress-signest: cast mmap return to uint8_t to clean up warning on 756 gcc 6.5.0 757 * stress-mlock: voidify args to avoid warnings 758 * Add new nested signal handling stressor, sigtest 759 * stress-mlock: periodically perform misc invalid or unusual mlock 760 calls 761 * stress-mlock: remove CAP_IPC_LOCK check, this is not needed since 762 Linux 2.6.9 763 * Add build time check for munlockall 764 * core-helper: cater for ARM64 SVE stack sizes 765 * stress-userfaultfd: only report insufficient privilege warning on 766 instance 0 767 * Makefile: remove -g 768 * stress-cpu: use more builtin math functions 769 * core-helper: don't print not implemented message multiple times, 770 clean up msg 771 * stress-vforkfmany: silence warnings concerning vfork being deprecated 772 773 -- Colin King <colin.king@canonical.com> Thu, 24 Jun 2021 19:11:03 +0100 774 775stress-ng (0.12.10-1) unstable; urgency=medium 776 777 [Rosen Penev] 778 * stress-fp-error: add pre-compiler checks for all floating-point 779 exceptions 780 781 [Colin Ian King] 782 * Makefile: bump version 783 * stress-schedpolicy: use new_policy rather than policy 784 * Manual: update date 785 * stress-zlib: use sizeof the object rather than the type 786 * stress-tree: use sizeof the object rather than the type 787 * stress-sockmany: use sizeof the object rather than the type 788 * stress-sockfd: use sizeof the object rather than the type 789 * stress-seccomp: use sizeof the object rather than the type 790 * stress-rmap: use sizeof the object rather than the type 791 * stress-open: use sizeof the object rather than the type 792 * stress-mmapmany: use sizeof the object rather than the type 793 * stress-memthrash: use sizeof the object rather than the type 794 * stress-memrate: use sizeof the object rather than the type 795 * stress-malloc: use sizeof the object rather than the type 796 * stress-lockbus: use sizeof the object rather than the type 797 * stress-list: use sizeof the object rather than the type 798 * stress-hrtimers: use sizeof the object rather than the type 799 * stress-handle: use sizeof the object rather than the type 800 * stress-fiemap: use sizeof the object rather than the type 801 * stress-epoll: use sizeof the object rather than the type 802 * stress-efivar: use sizeof the object rather than the type 803 * stress-dev-shm: use sizeof the object rather than the type 804 * stress-cyclic: use sizeof the object rather than the type 805 * stress-clone: use sizeof the object rather than the type 806 * stress-apparmor: use sizeof the object rather than the type 807 * stress-affinity: use sizeof the object rather than the type 808 * core-thermal-zone: use sizeof the object rather than the type 809 * core-mounts: use sizeof the object rather than the type 810 * core-helper: use correct sizeof for ram_f, ram_s 811 * core-hash: use sizeof the object rather than the type 812 * core-cache: use sizeof the object rather than the type 813 * stress-xattr: fix memory leak of large_tmp on error return path 814 * stress-fanotify: only declare and use fan_fd2 if required 815 * stress-dup: voidify return from waitpid 816 * stress-xattr: allocate large_tmp on the heap rather than the stack 817 * stress-ng: use shim wrapped strlcpy 818 * stress-usefaultfd: fix missing \n at end of pr_inf message 819 * stress-sigabort: move scope of variable ret to deeper scope 820 * stress-ng: move scope of variable total 821 * stress-io-uring: return EXIT_NOT_IMPLEMENTED when io-uring is not 822 implemented 823 * stress-io-uring: check for ENOSYS on io-uring setup 824 * stress-mq: move scope of variable ret 825 * stress-fp-error: clean up build warning on d1, d2 when FE_INEXACT 826 is not available 827 * stress-fault: don't use t1, t2, dt if getrusage is not supported 828 * stress-dev: fix memcpy/memset thinko 829 * stress-ng.h: remove HOT annotation from keep stressing helpers 830 * stress-stream: ensure initialized values are in range 0..0.99999 831 * stress-io-uring: constify stress_io_uring_setups array 832 * stress-io-uring: don't abort early on close op setup on failed dup 833 * stress-ng: fix memory leak, call stress_temp_path_free before 834 stressor exits 835 * stress-ng: fix memory leak, call stress_temp_path_free in usage 836 * syscalls: add io_pgetevents to exercised syscalls 837 * stress-aio-linux: exercise io_pgetevents if it is available 838 * stress-aio-linux: attempt to call async fsync, don't redo if it fails 839 * stress-io-uring: add madvise io-uring op 840 * stress-io-uring: add close op, and zero fields on other ops 841 * stress-aio: add aio_fsync call for more kernel coverage 842 * kernel-coverage.sh: add reiserfs to the mix 843 * kernel-coverage: disable core dump handlers such as apport 844 * stress-io-uring: add READ and WRITE opcodes 845 * stress-io-uring: add random block sized seek position for 846 READV/WRITEV ops 847 * stress-io-uring: drive opcode calls by a lookup table, add 848 fallocate + fadvise ops 849 * stress-io-uring: move completion handling to submit call 850 * stress-io-uring: bump bogo-op counter for each successful completion 851 * stress-io-uring: refactor op-code handling, add helper callbacks 852 * stress-fcntl: exercise some invalid fcntl operations for more coverage 853 * stress-vforkmany: fix handling on OS X where vfork() fails 854 * stress-vforkmany: add another yield point after touching pages 855 * stress-bad-altstack: force child death on recursive signals 856 * stress-bad-altstack: Fix hang on OS X 857 * stress-ng.h: disable MLOCKED macro on OS X as it clashes with NORETURN 858 * stress-xattr: pass oversized xattr using a larger buffer 859 * stress-urandom: pass entropy count in variable rather than by value 860 * stress-urandom: initialize val to clean up valgrind warning 861 * stress-sockabuse: call futimens with valid time 862 * stress-sock: zero ifc to avoid valgrind warning 863 * stress-shm: memset msg to zero, cleans up valgrind warning 864 * stress-set: ensure array groups is zero'd, clean up valgrind warning 865 * stress-sem-sysv: make the array more than large enough 866 * stress-schedpolicy: memset attr to zero to clean up warnings 867 from valgrind 868 * stress-schedpolicy: memset large_attr to zero to clean up 869 valgrind warning 870 * stress-prctl: set arg2 in PR_GET_KEEPCAPS to zero 871 * stress-prctl: set arg2 in PR_SET_CHILD_SUBREAPER zero 872 * stress-eventfd: ensure buffer is zero'd before writing it 873 * stress-dev: zero filename array, cleans up valgrind warnings 874 * stress-clock: ensure initialized t1 is used to set the time 875 * stress-procfs: remove debug printf 876 * stress-procfs: ensure entire buffer is zero'd before scanning it 877 * stress-procfs: fix negative index into dlist[] array 878 * stress-fork: fix fork not being called 879 * stress-fanotify: exercise fanotify FAN_CLASS_NOTIF | 880 FAN_REPORT_DFID_NAME 881 * Add per-stressor metrics to metrics output 882 * kernel-coverage: add sysinfo for mounted fs coverage 883 * kernel-coverage: use -1 to specify number of CPUS online 884 885 -- Colin King <colin.king@canonical.com> Mon, 2 Jun 2021 13:12:11 +0100 886 887stress-ng (0.12.09-1) unstable; urgency=medium 888 889 * Makefile: bump version 890 * Manual: update date 891 * stress-iomix: cast full expression to off_t instead of 64 bit mwc value 892 * stress-misaligned: only use target clones attribute if compiler 893 supports it 894 * stress-misaligned: fix build error on Hiaku-r1beta8 gcc 7.3.0 895 * stress-ng.h: enable attribute features for versions of clang 896 * stress-ng.h: remove unused PACKED macro 897 * core-ftrace: add ; after RB_* macros 898 * test/test-mq-sysv.c: memset msg to clean up cppcheck warning 899 * stress-misaligned: only use atomics if HAVE_ATOMIC is defined 900 * stress-sigfpe: remove SA_SIGINFO check on err_code 901 * stress-set: don't cast setgroups size to size_t for DragonFlyBSD 902 * stress-sigpipe: declare function pipe_child if clone is available 903 * stress-tree: fix build on DragonFlyBSD 6.0 904 * stress-null: only declare variable off on linux builds 905 * stress-pthread: only declare lret if is required 906 * stress-memthrash: fix SEGV due to incorrect offset based on uintptr_r 907 cast 908 * stress-sync-file: fix -ve offset on random sync file location 909 * stress-ng: clean up implicit type warnings from pedantic clang build 910 * stress-zlib: fix incorrect buffer size on compression 911 * stress-zlib: fix --zlib-method option 912 * stress-zero: clean up implicit cast warnings with pedantic clang builds 913 * stress-yield: clean up implicit cast warnings with pedantic clang builds 914 * stress-xattr: clean up implicit cast warnings with pedantic clang builds 915 * stress-wait: clean up implicit cast warnings with pedantic clang builds 916 * stress-vm-rw: clean up implicit cast warnings with pedantic clang builds 917 * stress-udp: cast non-int instance to int for int math 918 * stress-tmpfs: clean up implicit cast warnings with pedantic clang builds 919 * stress-timerfd: remove an extra ; and clean up some type casting 920 * stress-timer: clean up implicit cast warnings with pedantic clang builds 921 * stress-tee: clean up 2 minor casts for function call arguments 922 * stress-sysfs: clean up implicit cast warnings with pedantic clang builds 923 * stress-bad-addr: cast procs to rlim_t on rlim_cur/max assignments 924 * stress-sync-file: fix casting and sync loop 925 * stress-switch: stress-schedpolicy: clean up implicit cast warnings 926 with pedantic clang builds 927 * stress-sockpair: cast val++ arg to uint8_t to match type 928 * stress-schedpolicy: clean up implicit cast warnings with pedantic 929 clang builds 930 * stress-swap: cast lseek offset to off_t type 931 * stress-stream: clean up implicit cast warnings with pedantic clang 932 builds 933 * stress-stack: clean up implicit cast warnings with pedantic clang 934 builds 935 * stress-splice: clean up implicit cast warnings with pedantic clang 936 builds 937 * stress-sockmany: cast non-int instance to int for int math 938 * stress-sockfd: add NORETURN hint to child func, clean up type cast 939 warnings 940 * stress-sockabuse: clean up pedantic clang warnings 941 * stress-shellsort: assign data the correctly typed values 942 * stress-scpt: cast non-int instance to int for int math 943 * stress-sock: cast non-int instance to int for int math 944 * stress-shm-sysv: clean up various pedantic clang warnings 945 * stress-shm: clean up a few off_t fallocate/ftruncate arg warnings 946 * stress-set: clean up implicit cast warnings with pedantic clang 947 builds 948 * stress-sendfile: clean up implicit cast warnings with pedantic 949 clang builds 950 * stress-seccomp: add NORETURN to exiting signal handler 951 * stress-seal: clean up implicit cast warnings with pedantic clang 952 builds 953 * stress-rmap: add NORETURN hint, clean up implicit cast warnings 954 * stress-resources: clean up implicit cast warnings with pedantic 955 clang builds 956 * stress-rename: explicitly cast flags arg to renameat2 to unsigned int 957 * stress-remap-file-pages: cast i to the same data type of data[] 958 * stress-reboot: clean up implicit cast warnings with pedantic 959 clang builds 960 * stress-rawudp: clean up implicit cast warnings with pedantic 961 clang builds 962 * stress-sysinval: clean up implicit cast warnings with pedantic 963 clang builds 964 * stress-tsearch: assign data the correctly typed values 965 * stress-tun: cast port to same type as addr.sin_port 966 * stress-unshare: remove ; from macro UNSHARE definition 967 * stress-rawsock: use correct ssize_t return variable for sendto 968 * stress-rawpkt: add NORETURN hint on child, clean up implicit 969 cast warning 970 * stress-rawdev: clean up implicit cast warnings with pedantic 971 clang builds 972 * stress-radixsort: reduce n from size_t to n 973 * stress-pthread: clean up implicit cast warnings with pedantic 974 clang builds 975 * stress-procfs: clean up implicit cast warnings with pedantic 976 clang builds 977 * stress-prtctl: cast args->page_size to intptr_t to match mask type 978 * stress-poll: forgot to add int cast to buf comparison on sanity check 979 * stress-poll: clean up implicit cast warnings with pedantic clang 980 builds 981 * stress-pkey: clean up implicit cast warnings with pedantic clang builds 982 * stress-pipeherd: fix implicit type cast warnings, make float math 983 double 984 * stress-pipeherd: fix type of counter, it should be uint64_t 985 * stress-netdev: fix type of n, it should be int, cast divisor instead 986 * stress-pipe: clean up implicit cast warnings with pedantic clang 987 builds 988 * stress-pidfd: clean up implicit cast warnings with pedantic clang 989 builds 990 * stress-physpage: clean up implicit cast warnings with pedantic 991 clang builds 992 * stress-opcode: clean up implicit cast warnings with pedantic 993 clang builds 994 * stress-null: clean up implicit clang type warnings on mmapo 995 offset arg 996 * stress-nice: clean up implicit cast warnings with pedantic clang 997 builds 998 * stress-netlink-task: clean up implicit cast warnings with pedantic 999 clang builds 1000 * stress-netlink-proc: clean up implicit cast warnings with pedantic 1001 clang builds 1002 * stress-opcode: add NORETURN on signal handler 1003 * stress-numa: clean up implicit cast warnings with pedantic clang 1004 builds 1005 * stress-netdev: clean up implicit cast warnings with pedantic 1006 clang builds 1007 * stress-mq: stress-msync: clean up some implicit type casting warnings 1008 * stress-msync: clean up some implicit type casting warnings 1009 * stress-msg: fix too long a constant or operand, clean up misc warnings 1010 * stress-mmapaddr: clean up some implicit type casting warnings 1011 * stress-mmap: clean up some implicit type casting warnings 1012 * stress-mknod: use mode_t for mknod mode type in stress_do_mknod 1013 * stress-misaligned: clean up some implicit type casting warnings 1014 * stress-idle-page: clean up implicit cast warnings with pedantic 1015 clang builds 1016 * stress-misaligned: add NORETURN on signal handler 1017 * stress-mincore: clean up some implicit type casting warnings 1018 * stress-mergesort: cast return from stress_mwc32 to int32_t 1019 * stress-memthrash: clean up some implicit type casting warnings 1020 * stress-memrate: clean up some implicit type casting warnings 1021 * stress-memfd: clean up implicit cast warnings with pedantic 1022 clang builds 1023 * stress-membarrier: ensure the cmd type to membarrier call is int 1024 * stress-matrix-3d: clean up some implicit type casting warnings 1025 * stress-matrix: clean up some implicit type casting warnings 1026 * stress-malloc: fix never reached memory reaping and clean up warnings 1027 * stress-lsearch: clean up implicit cast warnings with pedantic 1028 clang builds 1029 * stress-loop: clean up implicit cast warnings with pedantic 1030 clang builds 1031 * stress-longjmp: cast uint64_t to double to avoid precision loss 1032 * stress-lockofd: cast return from stress_mwc64 to off_t 1033 * stress-locka: cast return from stress_mwc64 to off_t 1034 * stress-link: clean up implicit cast warnings with pedantic 1035 clang builds 1036 * stress-l1cache: clean up implicit cast warnings with pedantic 1037 clang builds 1038 * stress-klog: cast uint32_t math to int to clean up implicit 1039 cast warning 1040 * stress-itimer: cast itimer_freq to double to clean up implicit 1041 cast warning 1042 * stress-ipsec-mb: clean up implicit cast warnings with pedantic 1043 clang builds 1044 * stress-io-uring: clean up implicit cast warnings with pedantic 1045 clang builds 1046 * stress-ioprio: cast ioprio_get who arg to int 1047 * stress-ioport: cast ioport from arg to unsigned long 1048 * stress-iomix: clean up implicit cast warnings with pedantic clang 1049 builds 1050 * stress-inotify: clean up implicit cast warnings with pedantic 1051 clang builds 1052 * stress-aio-linux: assign invalid value to offset and nbytes in a 1053 portable way 1054 * stress-misaligned: fix i386 built error for 128 bit integers 1055 * stress-icmp-flood: clean up implicit cast warnings with pedantic 1056 clang builds 1057 * stress-bad-altstack: remove void * cast of signal handler function 1058 * stress-hdd: cast ret to size_t to clear up build warning 1059 * stress-cpu-online: clean up build warnings 1060 * stress-af-alg: cast j to ssize_t to compare with send() return 1061 * stress-hdd: clean up implicit cast warnings with pedantic clang 1062 builds 1063 * stress-getdent: clean up implicit cast warnings with pedantic 1064 clang builds 1065 * stress-fanotify: clean up implicit cast warnings with pedantic 1066 clang builds 1067 * stress-fallocate: clean up implicit cast warnings with pedantic 1068 clang builds 1069 * stress-epoll: clean up implicit cast warnings with pedantic clang 1070 builds 1071 * stress-fp-error: clean up implicit cast warnings with pedantic 1072 clang builds 1073 * stress-filename: clean up implicit cast warnings with pedantic 1074 clang builds 1075 * stress-fiemap: clean up implicit cast warnings with pedantic 1076 clang builds 1077 * stress-file-ioctl: cast ~0 to uint16_t 1078 * stress-eventfd: clean up implicit cast warning with pedantic clang 1079 builds 1080 * stress-efivar: clean up implicit cast warnings with pedantic clang 1081 builds 1082 * stress-bad-altstack: add NORETURN on stress_signal_handler 1083 * stress-dup: clean up implicit cast warnings with pedantic clang 1084 builds 1085 * stress-dnotify: clean up implicit cast warnings with pedantic 1086 clang builds 1087 * stress-dev-shm: clean up implicit cast warnings with pedantic 1088 clang builds 1089 * stress-dev: clean up implicit cast warnings with pedantic clang 1090 builds 1091 * stress-dccp: clean up implicit cast warning with pedantic clang 1092 builds 1093 * stress-ioctl: clean up implicit cast warnings with pedantic clang 1094 builds 1095 * stress-aio: clean up implicit cast warnings with pedantic clang 1096 builds 1097 * stress-af-alg: clean up implicit cast warnings with pedantic clang 1098 builds 1099 * stress-verity: clean up pedantic build warnings 1100 * stress-utime: clean up pedantic clang warning 1101 * stress-cyclic: clean up some implicit type warnings 1102 * stress-cpu: clean up some implicit type cast warnings 1103 * stress-cpu: clean up type warnings 1104 * stress-sysbadaddr: clean up implicit type warnings, remove 1105 stress_badhandler 1106 * core-shim: fix get_mempolicy shim, 4th arg should be void * 1107 * stress-rtc: clean up int and ssize_t type conversions 1108 * stress-cache: add some minor int type cast conversion 1109 * core-perf: explicitly cast return from tolower to char 1110 * stress-softlockup: add NORETURN to signal handler, silence 1111 SIZEOF_ARRAY warning 1112 * stress-qsort: cast return from stress_mwc32() to match assigned type 1113 * stress-ping-sock: cast return from getpid() to match type of echo.id 1114 * stress-mmapfixed: use the stress_sig_handler_exit helper 1115 * stress-key: make variable len ssize_t to match return from system_read 1116 * stress-heapsort: cast return from stress_mwc32() to match assigned 1117 type 1118 * stress-getrandom: ensure flag is unsigned int to match getrandom 1119 flag arg 1120 * stress-full: make ptr a uint8_t to remove need for casting on put call 1121 * stress-flock: use ssize_t var for system_read return 1122 * stress-exec: clang in pedantic mode suggests pthread_dummy is zero'd 1123 * stress-bad-altstack: remove NORETURN 1124 * stress-apparmor: size arg of read should be size_t, cast it so 1125 * stress-bad-altstack: clean up pedantic clang build warnings. 1126 * Add autobuild detection of __attribute__((fallthrough)) 1127 * Use the stress_sig_handler_exit helper 1128 * core-helper: add stress_sig_handler_exit to exit on a signal 1129 * stress-bind-mount: add NORETURN MLOCKED_TEXT annotations to signal 1130 handler 1131 * stress-aio-linux: clean up gcc build warning 1132 * stress-apparmor: clean up gcc build warning 1133 * stress-get: add missing cast to clean up gcc build warning 1134 * stress-get: fix various pedantic clang build warnings 1135 * stress-crypt: remove _XOPEN_SOURCE define 1136 * stress-apparmor: clean up pedantic build warnings 1137 * stress-aio-linux: clean up multiple implicit type conversions 1138 * core-ignite-cpu: pass cpu as a int32_t argument 1139 * stress-fcntl: fix hint assignment, use UL not ULL 1140 * stress-mmapmany: fix format specifier for max 1141 * stress-madvise: make ~0ULL portable to 32 bit arches 1142 * stress-io-uring: mmap buffers with MAP_POPULATE 1143 * stress-io-uring: add more yield points in main loop 1144 * core-io-uring: include config.h 1145 * core-personality.c: include config.h 1146 * core-perf-event: include config.h 1147 * core-ignite-cpu: fix build warning, make cpu an int32_t 1148 * stress-sigpipe: use ssize_t for read return assignments, clean up 1149 child call 1150 * stress-sigio: use ssize_t for read return assignments 1151 * stress-sigfpe: add NORETURN to signal handler and clean up type 1152 warnings 1153 * stress-sigfd: use ssize_t for read return assignments 1154 * stress-sigsegv: add NORETURN to handler, fix cast on %p 1155 * stress-tree: remove extraneous ; after RB_* and SPLAY_* macros 1156 * stress-vdso: clean up some pedantic implicit type warnings 1157 * stress-userfaultfd: clean up pedantic warnings, add NORETURN to 1158 handler, fix cast 1159 * stress-ng: clean up some pedantic clang warnings 1160 * stress-ng: add OPT_undefined for undefined non-option 1161 * core-cache: clean up implicit type conversion warnings 1162 * core-vmstat: add appropriate type casts to clean up pedantic 1163 clang warnings 1164 * core-parse-opts: cast int values to double for mixed type 1165 math * operation 1166 * core-thrash: clean up type warnings 1167 * core-ignite-cpu: clean up type conversion warnings 1168 * core-perf: clean up various type conversion warnings 1169 * core-try-open: ensure status is zero, cleans up pedantic clang 1170 warning 1171 * stress-ng.h: make thermal zone type_instance a uint32_t 1172 * core-sched: clean up implicit type conversions 1173 * core-out-of-memory: initialize save_errno to zero, clean up 1174 clang warning 1175 * core-net: clean up type warnings and add wrap around check on 1176 port overflow 1177 * stress-skiplist: use unsigned long as value to save/fetch 1178 * stress-seek: clean up off_t implicit type conversion warnings 1179 * stress-lockbus: add NORETURN hint on stress_sigbus_handler 1180 * stress-lockbus: wrap macros with while .. do (0) wrapper 1181 * stress-enosys: add NORETURN hint on stress_badhandler 1182 * stress-enosys: clean up implicit type conversion changes 1183 * stress-bsearch: fix type warnings with a couple of changes 1184 * stress-mmapmany: clean up warnings, make max a long 1185 * stress-open: clean up missing int casts on fd comparison 1186 * core-helper: clean up various implicit type warnings 1187 * stress-open: clean up various implicit type conversions warning 1188 * stress-oom-pipe: use size_t for max pipe fd array size 1189 * stress-mmapmany: use size_t for max mappings rather then ssize_t 1190 * stress-mmapfork: clean pedantic %p warning 1191 * stress-mmapfork: add NORETURN hint on stress_segvhandler 1192 * stress-chmod: fix incorrect type in 3rd arg in do_fchmod 1193 * stress-cap: make constant unsigned 1194 * stress-fcntl: clean up implicit type casts 1195 * stress-fault: remove stray redundant ; 1196 * stress-env: fix implicit type conversion warning 1197 * stress-dirdeep: add explicit cast to char on int expression 1198 * stress-dir: add check for mode_t, use it or int 1199 * stress-ng: make g_unsupported static 1200 * stress-funccall: clean up implicit type cast warnings 1201 * stress-copy-file: clean up some implicit cast warnings 1202 * stress-clone: clean up some implicit type warnings 1203 * core-shim: fix extraneous ) build failure 1204 * stress-mcontend: clean up implicit type conversion warnings 1205 * stress-kcmp: cast to types of fields of kcmp_epoll_slot 1206 * stress-kcmp: clean up implicit type conversion warnings on kcmp call 1207 * stress-kcmp: wrap macros with while .. do (0) wrapper 1208 * stress-vecmath: fix int/uint type casting pedantic clang warnings 1209 * stress-vecmath: wrap macro OPS with while .. do (0) wrapper 1210 * stress-dev: move CDROMVOLCTRL check to around the IOCTL_TIMEOUT macro 1211 * stress-dev: wrap IOCTL_TIMEOUT with while .. do (0) wrapper 1212 * stress-chown: cast uid_t and gid_t parameters 1213 * stress-branch: simplify LIKELY macro expression to clean up warning 1214 * stress-atomic: add explicit type cast to atomic arguments 1215 * core-shim: clean up implicit cast of tv_nsec result 1216 * core-shim: cast syscall and shim_enosys returns to relevant return type 1217 * stress-sysinfo: replace macro with macro text 1218 * stress-madvise: ensure ~0 is a ULL type 1219 * stress-madvise: check return type for writes need to be ssize_t 1220 * stress-madvise: only define NUM_SOFT_OFFLINE_MAX if MADV_SOFT_OFFLINE 1221 is required 1222 * stress-madvise: add NORETURN hint on stress_sigbus_handler 1223 * stress-bad-ioctl: add NORETURN hint on stress_segv_handler 1224 * core-ftrace: count should be int64_t 1225 * core-ftrace: remove redundant ; after RB_* macros 1226 * stress-dynlib: add NORETURN hint on stress_segvhandler 1227 * stress-dnotify: remove unused macro DIR_FLAGS 1228 * stress-dentry: check return type for reads need to be ssize_t 1229 * stress-daemon: make buf uint8_t to clean up signedness warning on 0xff 1230 * stress-close: fix type conversion warning on float multiplication 1231 * stress-close: ensure final arg of close_range is unsigned int 1232 * stress-urandom: make ret argument in check_eperm call ssize_t 1233 * stress-urandom: make the buffer a uint8_t instead of char 1234 * stress-vforkmany: explicitly cast sleep time 1235 * stress-vforkmany: remove unused macro STACK_SIZE 1236 * stress-vm-splice: use correct types for splice return and iov.iov_len 1237 * stress-watchdog: add NORETURN hint for stress_watchdog_handler 1238 * stress-watchdog: ret should be ssize_t on write() return 1239 * stress-vm: pass buffer end to stress methods and use void *buf pointers 1240 * stress-vm: cast %p args to volatile void * 1241 * stress-vm: fix cast of sleep argument 1242 * stress-vm: remove ROR64 macro, it is no longer used 1243 * stress-vm: clean up some int to uint8_t implicit casts 1244 * stress-vm: explicitly cast int expression to uint8_t in ROR macro 1245 * stress-vm: fix rotate right on 8 bit values 1246 * stress-vm: use uint32_t for mwc seed values 1247 * stress-vm: wrap { } macros with do while (0) to avoid ; warnings 1248 * Move STRESSOR_DECL to stress-ng.h 1249 * core-thrash: warning clean-ups 1250 * core-time: explicitly cast ret to size_t 1251 * core-mounts: cast max to size_t to avoid memset implicit cast 1252 * core-mwc: clean up some implicit casting warnings 1253 * core-log: use size_t for data write lengths 1254 * core-hash: clean up implicit conversions with signedness changes 1255 * core-cache: remove redundant return 0 1256 * core-mlock: use uintptr_t casts with unsigned long 1257 * core-vmstat: make vmstat_delay and thermalstat_delay static 1258 * stress-ng.h: Rename __STRESS_NG_H__ to STRESS_NG_H 1259 * stress-version.h: Rename _VER_ to STRESS_VERSION_NUMBER 1260 * stress-ng.h: Fix incorrect type in stress_long_double_put 1261 * core-cache: use sscanf to parse a uint64_t rather than atoi 1262 * core-cache: replace use of %ms with %c to get size 1263 * stress-dup: unlink info->fifoname before removing the directory 1264 * treewide: add ( ) around expressions in keeping with stress-ng 1265 coding style 1266 * stress-misaligned: user 2/4/8 byte variants of __atomic_fetch_add 1267 * stress-misaligned: allow 128 atomic increments on x86 1268 * stress-misaligned: remove incorrect info increment 1269 * stress-misaligned: add increment and atomic increment methods 1270 * Manual: update --bad-altstack testing description 1271 * stress-bad-altstack: exercise BUS error on stacks 1272 * stress-vforkmany: fix times() info due to SIGKILLing children 1273 * stress-revio: unlink file as soon as possible 1274 * stress-dev: fix incorrect close, it should be removed 1275 * core-helper: add aborting: prefix to error message 1276 * stress-xattr: fix = typo, should be == for a comparison 1277 * stress-link: fix = typo, should be == for a comparison 1278 * stress-dev: report the name of the device that failed on a stat failure 1279 * stress-link: skip stressor on EPERM link errors 1280 * stress-chmod: silently ignore EPERM errors on chmod 1281 * stress-chattr: treat EINVAL on EXT2 ioctls as permissible 1282 * stress-verity: treat EINVAL on FS_IOC_ENABLE_VERITY as verity not 1283 supported 1284 * stress-copy-file: rename ret to copy_ret to avoid name shadowing 1285 * stress-fiemap: don't remove tmp dir if it's not been created 1286 * stress-copy-file: handle initial mkdir failure correctly 1287 * stress-copy-file: check for EINVAL on copy_file_range 1288 * stress-hdd: add workaround to O_DIRECT open failure cleanup 1289 * stress-aio-linux: disable O_DIRECT for filesystems that do not 1290 support it 1291 * stress-chdir: move yield point detection to start of loop 1292 * stress-dentry: add yield point detection before starting iteration 1293 * stress-mknod: add yield point detection before starting iteration 1294 * stress-filename: add probing of maximum filename lenth 1295 * stress-hdd: cater for read failure on vfat on ENOSPC 1296 * stress-xattr: silently ignore E2BIG error on *setxattr calls 1297 * stress-dup: fix tidy clean up paths for tmp path and mmap'd memory 1298 * stress-copy-file: don't rmdir the test directory if it was not created 1299 * stress-sync-file: treat EINTR as a SIGALRM/SIGINT termination w/o 1300 error 1301 * stress-splice: initialize buffer before writing it down the pipe 1302 * stress-quota: add quotactl_path support introduced in Linux 5.13 1303 * stress-enosys: add quotactl_path system call 1304 * stress-sysinval: fix number of args to quotactl system call 1305 * stress-sysinval: add quotactl_path system call 1306 * Add missing whitespaces in expressions 1307 * stress-splice: add a looped pipe splice to the mix 1308 * stress-landlock: exercise illegal landlock_add_rule arguments 1309 * stress-ng: fix Liunx typo 1310 * stress-dirdeep: add sanity checks for scandir failures 1311 * core-helper: encode hashed filenames into base36 14 char string 1312 * stress-dev: remove debug message on device being processed 1313 * stress-landlock: replace security=landlock to lsm=landlock 1314 * stress-misaligned: work around misaligned segv on 128 bit reads 1315 * Add stress_sighandler_default to restore handler to SIG_DFL 1316 * stress-misaligned: report the misaligned stress methods used 1317 * stress-misaligned: add uint8_t * cast to clean up gcc 6.5.0 build 1318 warning 1319 * stress-fallocate: re-order variable declarations, cleans up clobber 1320 warning 1321 * stress-misaligned: add a new misaligned memory read/write stressor 1322 * stress-list: replace entry with entries 1323 * stress-dev: add TIOCGPTPEER ioctl 1324 * stress-dev: add TIOCSSERIAL ioctl 1325 * stess-splice: add workaround to failed splice from /dev/zero to pipe 1326 * stress-landlock: remove empty line 1327 * kernel-coverage: add more f2fs mkfs options to exercise the fs more 1328 * stress-landlock: fix ENOSYS error return on unimplemented syscalls 1329 * stress-landlock: exercise illegal landlock API arguments 1330 1331 -- Colin King <colin.king@canonical.com> Sat, 22 May 2021 19:54:16 +0100 1332 1333stress-ng (0.12.08-1) unstable; urgency=medium 1334 1335 [Colin Ian King] 1336 * Makefile: bump version 1337 * stress-landlock: give hint that landlock LSM may need to be enabled 1338 * stress-landlock: voidify unused args in system call wrappers 1339 * stress-sigio: disable SIGIOs and close pipe end as soon as possible 1340 * stress-zlib: clean up clobber warnings 1341 * stress-ng: make us_total a temp variable in local scope 1342 * README: add in architectures and update stats 1343 * stress-iomix: add POSIX_FADV_* advice defined checks 1344 * stress-malloc: clean up void* -> void * 1345 * kernel-coverage: add more file systems and mount options 1346 * stress-sigio: fix segfault (LP: #1918095) 1347 * stress-xattr: add yield points in xattr loops 1348 * stress-inotify: break out of write loop on ENOSPC, update yielding 1349 * stress-dnotify: break out of write loop on ENOSPC, update yielding 1350 * stress-msg: replace tmp return variable rc with ret 1351 * stress-landlock: add Linux 5.13 landlock system call stressor 1352 * kernel-coverage: add more file systems into the coverage tests 1353 * stress-sysinval: add in landlock_add_rule and landlock_restrict_self 1354 * stress-enosys: add in landlock_add_rule and landlock_restrict_self 1355 * stress-sysinval: add landlock_create_ruleset to inval system call table 1356 * stress-enosys: add new Linux 5.13 landlock_create_ruleset syscall 1357 * stress-fallocate: replace space indentation with tab 1358 * stress-fallocate: handle SIGALRM and SIGINT more responsively 1359 * stress-fallocate: add more yield points 1360 * stress-link: add yield point check on each iteration 1361 * stress-membarrier: keep membarrier cmd flags in sync with kernel 1362 * stress-open: add an illegal all-bits set resolve flags setting 1363 * stress-open: work through the openat2 resolve flags for more coverage 1364 * stress-ng: add username if it is fetchable to syslog info 1365 * stress-ng: fix argument dumping from argv[] to syslog 1366 * core-setting: ensure string setting types are free'd 1367 * stress-stackmmap: Fix stack_sig mapping, add missing anonymous flag 1368 * stress-ipsec-mb: ensure all the timing data is set to 0.0 1369 * stress-personality: just make zero sized array a 1 element sized array 1370 * stress-aio-linux: fix the allocation size of cbs 1371 * core-vmstat: ensure tz_info_list is initialized for non 1372 thermalstat_delay cases 1373 * stress-l1cache: add another L1 cache set size sanity check 1374 * stress-personality: make failed array 1 element when n == 0 1375 * stress-sysinval: remove redundant re-assignment of syscalls_exercised 1376 * stress-af-alg: ensure info.name and info.type are free'd on failed add 1377 * stress-affinity: ensure pids array is zero'd before us 1378 * stress-vm: remove incorrect re-setting of counter c in 2nd loop 1379 * stress-vdso: remove redundant assignment to str 1380 * stress-userfaultfd: break assignment and check into two statements 1381 * stress-verity: check ioctl FS_IOC_GETFLAGS flags only if ioctl is OK 1382 * stress-udp: add missing voidifications on ignored return from setsockopt 1383 * stress-run: add missing voidifications on ignored return from ioctl 1384 * stress-sysinfo: don't stat on a null mnts[i] 1385 * stress-sysfs: voidify return from ppoll call 1386 * stress-procfs: only check statbuf.st_mode if fstat returned 0 1387 * stress-fcntl: voidify returns of fcntl calls 1388 * stress-cap: voidify returns of capget calls 1389 * stress-cpu: add div32 cpu stressor method, remove k from div64 1390 * stress-tsc: use clock time rdtime rather than cycles for RISC-V 1391 * stress-msg: cleanup resources on a fork failure 1392 * stress-msg: allocate msgq_ids on the heap, don't use the stack 1393 1394 -- Colin King <colin.king@canonical.com> Thu, 6 May 2021 18:44:22 +0100 1395 1396stress-ng (0.12.07-1) unstable; urgency=medium 1397 1398 [Colin Ian King] 1399 * Makefile: bump version 1400 * core-helper: uncapitalize SWAP -> swap 1401 * stress-l1cache: only compute cache size if it is not provided 1402 * stress-l1cache: skip stressor if cache size is abnormal 1403 * stress-l1cache: check for correct ways and line_size 1404 * stress-fork: silence warnings concerning vfork being deprecated 1405 * stress-cpu: fix double arg cpow and pow macros 1406 * Fix typo in builtin rint config checking 1407 * Rename test-builtin-cpu-is.c to test/test-builtin-cpu-is-power9.c 1408 * stress-cpu: parameterise workaround math macros 1409 * Add build detection and use builtins for fabs, fabsl, rint, rintl, 1410 sqrt and sqrtl 1411 * stress-sigabrt: fix build warning when built with gcc-11 PEDANTIC 1412 * Use a void * pointer for the mapping to avoid munmap warning 1413 * stress-wcstr: don't exercise wcscmp on M68K 1414 * stress-shm-sysv: don't declare get_bad_shmid for M68K 1415 * stress-shm-sysv: don't declare bad_shmid for M68K 1416 * stress-shm-sysv: don't pass NULL args to shmctl on M68K 1417 * stress-fp-error: disabled full fp error checkking on M68K 1418 * Add M68K (Motorola 68000) family #define 1419 * stress-ng: rename variable exit_status to wexit_status 1420 * Add cppcheck-suppress annotations to silence cppcheck on known 1421 false positives 1422 * stress-sigfpe: don't declare err_code when SA_SIGINFO is not defined 1423 * stress-dev: clean up some cppcheck warnings 1424 * stress-bad-altstack: don't use null vdso address 1425 * stress-cpu: increase number of iterations for omega stressor 1426 * stress-dev: disable play/pause ioctl on CD-ROMs 1427 * core-cache: remove redundant null check on cpu_path 1428 * core-cache: remove some redundant code 1429 * core-cache: rework to make cache detection more robust 1430 * core-cache: cater for offline CPUs 1431 * core-cache: don't use auxvals if non of the AT_* cache defines exist 1432 * stress-prctl: exercise PR_SET_SYSCALL_USER_DISPATCH system call 1433 * emulation 1434 * core-helper: print cache level being used in more informative way 1435 * stress_cache_alloc: use mmap'd shared memory rather than calloc'd 1436 memory 1437 * core-cache: determine cache size via getauxval 1438 * core-cache: add support for linux SPARC 64 cache information 1439 * stress-sigabrt: use handler and non-handler modes of SIGABRT 1440 * Check for both __riscv__ and __riscv macros 1441 * stress-userfaultfd: skip test if EPERM is returned 1442 * stress-ng: translate stressor EXIT_FAILURE to EXIT_NOT_SUCCESS 1443 * stress-rdrand: add some simple 64 bit random data sanity checks 1444 * stress-list: add stress_list_slistt to all methods 1445 * stress-list: check for defined sys/queue.h macros before using them 1446 * stress-list: fix typo, should build if HAVE_SYS_QUEUE_H defined 1447 * stress-list: had hand-crafted slistt method 1448 * Add list stressor to exercise insertion/find/removal of various 1449 list types 1450 * stress-mknod: silently ignore EINVAL on mknod failures 1451 * stress-signal: fall back to libc signal() if syscall returns ENOSYS 1452 * core-helper: Add stress_get_stack_top to determine stack stop 1453 * Makefile: pass LDFLAGS to function test builds, echo configs on 1454 VERBOSE=1 1455 * travis: update with more recent build disto and add more libraries 1456 * stress-chdir: ensure statbuf is initialized 1457 * Revert "stress-chdir: fchmod on recently fetched statbuf st_mode" 1458 * stress-pthread: make pthread stack shared and ensure it's resident 1459 * core-helper: Fix -k option, don't change the process name 1460 * stress-pthead: unmap stack after pthread has joined 1461 * stress-signal: dont call signal syscall directly 1462 * stress-memthrash: fix off-by-one array overflow on swap method 1463 * stress-memthrash: don't perform misaligned read/writes 1464 * stress-memthrash: calculate number of threads based on online CPU 1465 count 1466 * stress-fork: remove residual fork call 1467 * Makefile: Add MAN_COMPRESS to control stress-ng.1 compression on 1468 install rule 1469 * stress-fork: remove syscall(__NR_fork) 1470 * stress-fork: set pid and errno on an unknown fork case 1471 * stress-fork: done use fork shim helper, move code into core stressor 1472 loop 1473 * Add system information in -v debug output 1474 * core-perf: clean up false positive static analysis warning 1475 * test/test-mq-posix: memset msg to clean up static analysis warning 1476 * stress-chdir: fchmod on recently fetched statbuf st_mode 1477 * stress-matrix-3d: ensure maxtrix_3d_method_name is null 1478 * stress-aio-linux: ensure fds is set to null on error 1479 * stress-sysinval: remove extraneous ) in alloc_hugepages syscall info 1480 * stress-sysinval: re-work resource cleanup on error 1481 * stress-sysinval: add system call utilization stats 1482 * stress-ng: prefix functions with stress_ 1483 * stress-ng: rename stressors_{init|deinit} to 1484 stress_stressors_{init|deinit} 1485 * Rename stress_{map|unmap}_shared to stress_shared_{map|unmap} 1486 * Rename stress_free_stressors to stress_stressors_free 1487 * Rename stress_free_settings to stress_settings_free 1488 * Rename stress_free_temp_path to stress_temp_path_free 1489 * Break && macro checks into multi-lines to match stress-ng code style 1490 * stress-cpu: add float64 64 bit floating point cpu stress method 1491 * stress-cpu: add a lfsr32 cpu method 1492 1493 -- Colin King <colin.king@canonical.com> Wed, 21 Apr 2021 19:40:15 +0100 1494 1495stress-ng (0.12.06-1) unstable; urgency=medium 1496 1497 [Helmut Grohne] 1498 * Add VERBOSE build options (Closes: #971719) 1499 1500 [Colin Ian King] 1501 * Makefile: bump version 1502 * Makefile: update code name 1503 * Manual: update date 1504 * Makefile.config: move the HAVE_VLA_ARG 1505 * stress-zlib: add missing , between string literals 1506 * stress-cpu: don't run checksums on zero sized buffers 1507 * Makefile.config: re-order build time checks for pretty output 1508 * Makefile.config: remove extraneous .h from userfaultfd.h text 1509 * Makefile.config: remove leading space before swapcontext text 1510 * Makefile.config: fix missing "struct" test from message 1511 * Makefile.config: emit yes/no answer to config checks 1512 * Manual: clarify the 0 or less than zero number of instances 1513 * Makefile: generate config.h file from Makefile.config 1514 * Replace #if MACRO with #if defined(MACRO) 1515 * stress-sysbadaddr: don't use read/write if readv/writev are not 1516 available 1517 * stress-hdd: fall back to read/write if readv/writev are not 1518 available 1519 * stress-cyclic: rework when to define stress_cyclic_stats 1520 * stress-cyclic: build in stress_cyclic_stats only if it is required 1521 * stress-set: clear up static analysis warning 1522 1523 -- Colin King <colin.king@canonical.com> Thu, 24 Mar 2021 13:14:15 +0000 1524 1525stress-ng (0.12.05-1) unstable; urgency=medium 1526 1527 [Witold Baryluk] 1528 * stress-cpu.c update proc state to RUN before the main loop 1529 1530 [Colin Ian King] 1531 * Makefile: bump version 1532 * Manual: update date 1533 * stress-l1cache: add pointer casting for mmap/munmap for openhipster 1534 * stress-af-alg-defconfigs.h: minor sort re-ordering 1535 * stress-af-alg: make --af-alg-dump option dump the stringified type 1536 * stress-ioport: fix typo in comment 1537 * stress-l1cache: remove a line 1538 * stress-l1cache: skip stressor if l1cache info is zero 1539 * core-helper: rename __stress_get_stack_direction 1540 * stress-mmapfork: rename __strlcat to notrunc_strlcat 1541 * fast-test-all: omit l1cache as this requires cache info that may 1542 not be available 1543 * stress-l1cache: fix non-Linux build failure 1544 * stress-timer: periodically exercise /proc/self/timers 1545 * stress-cpu: add exim's nhash for one more hashing cpu exercising 1546 method 1547 * stress-ng: report skipped messages only on the first instance 1548 * stress-verity: add FS_IOC_READ_VERITY_METADATA ioctl 1549 * stress-pthread: report the maximum number of concurrent pthreads 1550 * stress-cpu: update short help information 1551 * stress-ng: add CPU % used per processor metrics 1552 * Manual: update contributors list 1553 * core-cache: assume CPU is online if online information not available 1554 * stress-io-uring: remove debug message 1555 * stress-l1cache: handle non-power of 2 alignments 1556 * stress-l1cache: remove unused variable ret 1557 * stress-l1cache: add new level 1 cache stressor 1558 * core-cache: fix fetching of cache ways information 1559 * stress-cyclic: add build time check for clock_gettime in 1560 stress_cyclic_usleep 1561 * stress-dentry: fix build warning of utime when utime is not declared 1562 * stress-rawsock: add build time check for HAVE_ICMPHDR 1563 * stress-dentry: add build time check for struct utimbuf 1564 1565 -- Colin King <colin.king@canonical.com> Fri, 12 Mar 2021 09:44:11 +0000 1566 1567stress-ng (0.12.04-1) unstable; urgency=medium 1568 1569 [Colin Ian King] 1570 * Makefile: bump version 1571 * Manual: update date 1572 * stress-ng: remove duplicate shadowing statbuf declaration 1573 * core-helper: remove const from stack argument 1574 * stress-vforkmany: cast mmap return to uint8_t * 1575 * stress-sock: voidify unused argument rt 1576 * stress-rlimit: cast mmap return to uint8_t * 1577 * stress-context: cast mmap return to uint8_t * 1578 * core-helper: cast mmap return to uint8_t 1579 * stress-malloc: don't declare keep_thread_running_flag for 1580 non-pthread builds 1581 * stress-ng: use stat method of inode file mode checking 1582 * stack handling: use _SC_SIGSTKSZ and _SC_MINSIGSTKSZ 1583 * stress-sock: avoid some socket ioctls on RT kernels 1584 * core-helper: clean up stress_{read|write}_buffer code style 1585 * core-helper: replace void * pointer math with char * 1586 * stress-fiemap: use light weight racy counting for bogo-ops 1587 * stress-fiemap: add some extra fsync flushes for I/O blocking 1588 * stress-x86syscall: add build time checks for __NR* macros 1589 * stress-utime: fix build failure when O_PATH is not supported 1590 * stress-exec: don't perform exec_garbage if O_PATH is not supported 1591 * stress-exec: add build time check for O_PATH 1592 * stress-cyclic: add hint of how to fix -EBUSY warning 1593 * core-sched: make runtime 90% of deadline 1594 * stress-procfs: add RISC-V /proc/bus/pci/ PCIIOC_CONTROLLER ioctl test 1595 * stress-vm: add mfence to rowhammer method 1596 * core-vmstat: ensure *stat stats have headings dumped out every 25 1597 iterations 1598 * stress-rename: explicitly zero strings, don't unlink if empty 1599 * stress-cache: remove stress_power_of_two 1600 * stress-mlock: rename max to lockmax to avoid name shadowing 1601 * core-helper: initialize info struct 1602 * core-ftrace: initialize statfs buf to zero 1603 * stress-tmpfs: initialize statfs buf to zero 1604 * stress-ng: initialize pointer names to NULL 1605 * stress-mmapfork: initialize info struct 1606 * stress-switch: initialize pipefds to clean up warnings 1607 * stress-dirdeep: initialize pointer namelist to NULL 1608 * stress-bad-altstack: remove redundant continue 1609 * stress-mmapaddr: remove redundant continue statement 1610 * stress-ng: fix incorrect memset size 1611 * core-cache: initialize another namelist to clean up warnings 1612 * core-helper: initialize loadavg array with zeros 1613 * core-cache: initialize namelist to clean up warnings 1614 * stress-wait: initialize siginfo_t info struct to zero 1615 * stress-ipsec-mb: initialize key array to zero 1616 * stress-dirdeep: initialize pointer namelist to NULL 1617 * core-helper: initialize statvfs buf to zero 1618 * stress-pipe: initialize pipefds array to zero 1619 * stress-sigq: initialize siginfo_t info struct to zero 1620 * core-vmstat: initialized cpu_list to clean up warnings 1621 * core-helper: initialize statvfs buf to zero 1622 * stress-ng: initialize sysinfo info to zero 1623 * core-helper: initialize statvfs buf to zero 1624 * stress-filename: initialize statvfs buf to zero 1625 * core-helper: initialize sysinfo struct to zero 1626 * stress-mremap: remove redundant continue 1627 * stress-hrtimers: remove continue statement 1628 * stress-sysfs: remove redundant continue statement 1629 * stress-readahead: remove redundant continue statement 1630 * stress-sigabort: remove redundant continue statement 1631 * stress-mmapaddr: remove redundant continue statement 1632 * stress-io-uring: set submit fields to unused once resources are 1633 released 1634 * stress-memhotplug: remove | operator, assignment will suffice 1635 * stress-sock: clean up indentation 1636 * stress-rawpkt: clean up indentation 1637 * stress-io-ring: fix up io uring buffer cleanups 1638 * stress-mknod: fix array read overflow on array modes[] 1639 * stress-verity: ensure fd is closed on error exit path 1640 * stress-poll: close poll_fds on error return path 1641 * core-mounts: memzero mnts array to be totally safe 1642 * stress-urandom: close fd_rnd_blk if it was open 1643 * core-setting: free setting->name if setting->u.str is null 1644 * stress-timerfd: close file_fd on error exit return 1645 * stress-bad-ioctl: ensure fd is closed on when breaking from loop 1646 * stress-utime: close dir_fd if it is open 1647 * stress-open: check for fd >= 0 and not just > 0 1648 * stress-poll: free pipe_fds on error return, fix memory leak 1649 * stress-timerfd: close file_fd on error return path 1650 * stress-io-uring: don't unmap submit->cq_mmap if it is the same as 1651 sq_map 1652 * stress-zombie: declare head before shim_waitpid call 1653 * stress-ioport: don't seek on -ve offset 1654 * stress-urandom: don't select on fd_rnd_blk if it could not be opened 1655 * stress-stream: avoid a zero 64 bit division (redo) 1656 * stress-sockfd: add missing termination goto on sockopt failure 1657 * stress-mlock: check for -ve sysconf error return 1658 * stress-mremap: don't mlock a null *buf 1659 * Revert "stress-seek: fix potential -ve offset seek" 1660 * stress-close: don't close a -ve file_fd 1661 * core-helper: check sysconf for failure 1662 * stress-mremap: only unmap *buf if it is not null 1663 * stress-seek: fix potential -ve offset seek 1664 * stress-lease: fix double close on fd 1665 * stress-efivar: use len rather than n for mapping size calls 1666 * test/test-inotify: check return from inotify_add_watch 1667 * core-helper: limit stress_get_max_file_limit to SIZE_MAX 1668 * stress-efivar: fix potential -ve mmap size 1669 * stress-rename: only close tmp_fd if it has been opened correctly 1670 * stress-seek: fix potential -ve offset seek 1671 * stress-msg: memset buf to zero to silence static analyzer warning 1672 * stress-verity: ensure fd is close on error exit 1673 * stress-malloc: free addr on error exit return 1674 * stress-malloc: free addr on error exit return 1675 * stress-msg: memset buf to zero to silence static analyzer warning 1676 * stress-schedpolicy: voidify return from sched_getattr call 1677 * test/test-inotify: voidify return from inotify_add_watch 1678 * core-vmstat: check the keep stressing flag for termination 1679 * stress-mq: voidify return from munmap() 1680 * stress-timer: ensure all fields to sev are initialized 1681 * stress-cyclic: ensure all fields to sev are initialized 1682 * core-helper: ensure max_sysconf is assigned just once 1683 * stress-pthread: voidify unused value 1684 * stress-pipe: fix incorrect write size 1685 * stress-dev: voidify return from wait, we can ignore a failure 1686 * stress-timerfd: don't bump count or max_timerfd if create failed 1687 * stress-timerfd: remove redundant initialization of file_fd 1688 * stress-epoll: ensure all fields to sev are initialized 1689 * stress-hrtimes: ensure all fields to sev are initialized 1690 * stress-prctl: add missing voidifications from return from prctl 1691 * stress-loop: voidify return from fsync 1692 * stress-rename: remove stray break that was added during debugging 1693 * stress-utime: don't pass NULL filename, some kernels can't handle this 1694 * stress-io-uring: remove redundant initialization of rc 1695 * core-ftrace: set time_us to zero if sscanf fails 1696 * stress-epoll: indicate that n is to be ignored 1697 * stress-io-uring: check if calloc failed 1698 * stress-resource: don't close a fd if the open failed 1699 * stress-stream: avoid a zero 64 bit division 1700 * stress-ioport: add in missing re-seek before write 1701 * voidify some ignored returns from stress_get_setting calls 1702 * stress-handle: ensure mount_fd is closed on a realloc failure 1703 * stress-pipeherd: avoid division by zero 1704 * stress-verity: ensure fd is close on error exit 1705 * stress-zlib: initialize all fields to stream_inf, stream_def and xsum 1706 * stress-schedpolicy: ensure param is initialized for invalid policy 1707 call 1708 * core-try-open: ensure all fields to sev struct are initialized 1709 * stress-udp: set slen of getsocketopt arg for UDPLITE_RECV_CSCOV 1710 * core-thermal-zone: handle null tz_info->type when calling 1711 stress_tz_type_instance 1712 * stress-ng: remove temporary files if stressors are killed prematurely 1713 * stress-msg: check for msgrcv errors that can occur during termination 1714 * stress-cpu: join two lines, no functional change 1715 * stress-cpu: fix nsqrt method that was actually doing not much 1716 * Add --malloc-pthreads N option to run allocations in N pthreads 1717 * stress-cache: optimize out switch statement and % operators 1718 1719 -- Colin King <colin.king@canonical.com> Thu, 25 Feb 2021 16:08:51 +0100 1720 1721stress-ng (0.12.03-1) unstable; urgency=medium 1722 1723 [Adrian Ratiu] 1724 * stress-ng.h: fix build-breaking HAVE_USTAT typo 1725 1726 [Colin Ian King] 1727 * Makefile: bump version 1728 * core-vmstat: Add delay time in seconds to vmstat and thermalstat 1729 * stress-cache: use % operator on indexes into cache 1730 * core-try-open: Make pid_t print and scanning more portable 1731 * stress-ng.h: don't include <ustat.h> on OpenIndiana 1732 * core-helper: clean up build warning on unused parameter name 1733 * core-helper: add build time guards for setproctitle 1734 * Manual: update names of contributors 1735 * stress-dccp: add SIOCOUTQ ioctl, added in Linux 5.9 1736 * stress-fanotify: exercise fanotify_init flags using a table 1737 * stress-chmod: make index i a size_t rather than an int 1738 * stress-cache: fix up missing tab in macro 1739 * stress-bad-ioctl: remove extraneous tab in struct definition 1740 * stress-af-alg: make size argument a size_t rather than an int 1741 * stress-zlib: make size argument a size_t rather than an int 1742 * stress-epoll: fix epoll_pwait2 call, add missing sigset size 1743 * stress-rawdev: don't allocate buffers on stack, use mmap 1744 * Add stressor process state information in argv[0] 1745 * README: add static build instructions for RHEL 1746 * stress-wcstr: don't use libbsd wcsl* when building static images 1747 * Disable mlocked regions to avoid linking issues on RHEL static 1748 builds 1749 * stress-str: don't use libbsd strl* when building static images 1750 * core-shim: don't use libbsd strl* when building static images 1751 * stress-dup: force unlink fifo file on cleanup 1752 * core-vmstat: cater for deltas that are negative 1753 * core-shim: fix build warning if sbrk is not defined 1754 * core-vmstat: use shim wrapper of strlcpy to avoid compat linking 1755 issues 1756 * core-shim: fix missing who argument to rusage shim system call 1757 * core-net: fix build warning on ppid on systems that don't use it 1758 * core-vmstat: show n/a for CPU speeds that are zero or less 1759 * core-vmstat: ensure string therms is zero 1760 * stress-pipeherd: move memset of rusage to fix build error on Haiku 1761 * Add buildtime check for rusage.ru_nvcsw field 1762 * Add buildtime check for rusage.ru_minflt field 1763 * core-try-open: fix build error on GNU/HURD 1764 * test/test-sem-sysv.c: touch all fields in arg to silence cppcheck 1765 * stress-utime: add fsync after each utimensat 1766 * stress-sock: break long #if define checks with newline 1767 * stress-sock: clean up cppcheck style warning 1768 * stress-rawdev: no need to declare typedefs for no-op build case 1769 * stress-pthread: clean up cppcheck warning and use coding style for 1770 multiple #defines 1771 * stress-pipeherd: improve guarding and usage of getrusage variables 1772 * stress-poll: enable HAVE_PSELECT code path 1773 * stress-memhotplug: no need to declare typedefs for non-linux cases 1774 * stress-kcmp: need to declare typedefs for specific build case 1775 * stress-fault: remove OS specific guarding to check for getrusage 1776 * stress-exec: no need to declare typedefs for non-linux cases 1777 * stress-clone: no need to declare typedefs if clone is not supported 1778 * core-vmstat: clean up initialization of pointer ptr 1779 * core-vmstat: no need to check for null if we are checking for ' ' too 1780 * core-vmstat: ensure fclose occurs on non-null opend fp 1781 * stress-pipe: fix memory leak of buffer on error return path 1782 * core-vmstat: fix fd leak on cpu scaling frequency 1783 * tests: clean up some pedantic Coverity static analysis warnings 1784 * Add --thermalstat option to dump out CPU and thermal information 1785 * stress-dev: avoid ttyS* lockups on low latency kernels 1786 * stress-dev: avoid blocking lockups on ttys 1787 * Add a STRESS_TRY_AGAIN don't give up flag and simplify try-open 1788 * stress-dev: set argv[0] at more appropriate name change points 1789 * stress-dev: set /proc/$pid/cmdline to contain name of device being 1790 exercised 1791 * stress-dev: handle lockups on ttyS* blocking opens 1792 * Add a new --vmstat option to show info like vmstat(8) 1793 * stress-full: add mmap operations to /dev/full 1794 * Add shim wrapper for the getrusage system call and build time 1795 detection 1796 * stress-poll: add --poll-fds N option to exercise more file descriptors 1797 * stress-nice: add braces around comment and statement 1798 * Replace keep_stressing macro with inlined function, add args param 1799 * stress-longjmp: remove JMP_BUF_MAGIC0, it was never completed 1800 * stress-zero: allocate buffers using mmap rather than on stack 1801 * stress-memrate: add 128 bit read/write option 1802 * stress-af-alg-defconfigs.h: update crypto defconfigs table 1803 * stress-memcpy: use "all" method by default, gets more testing spread 1804 * stress-cache: remove modulo operators, speed up code 1805 * stress-cache: ignore sfence if not available, add missing help 1806 and optimize 1807 * Force keep_stressing_flag to always be inlined 1808 1809 -- Colin King <colin.king@canonical.com> Sat, 13 Feb 2021 22:23:24 +0000 1810 1811stress-ng (0.12.02-1) unstable; urgency=medium 1812 1813 [Adriand Martin] 1814 * Solved minor issue in README.Android Fixed minor issue related to 1815 CC variable when cross compiling 1816 1817 [Jianshen Liu] 1818 * Fix read of TYPE_ID_STR value from jobfile 1819 1820 [Colin Ian King] 1821 * Makefile: bump version 1822 * simplify allocation and null check to help cppcheck 1823 * Manual: update date 1824 * Fix a couple of spelling mistakes 1825 * README: update stress test count 1826 * stress-cpu: add the Fletcher16 checksum as a new cpu stress method 1827 * stress-vm-rw: uncomment goto failure exit 1828 * stress-vm-rw: write/read in 1G chunks 1829 * Manual: pluralize the word stat. 1830 * Manual: update contributors information 1831 * stress-schedpolicy: fix build warning when building with musl C 1832 library 1833 * stress-cpu: fix const warning from clang pedantic build 1834 * test-stime: pass address of time_t object to stime 1835 * Remove empty source 1836 * Add missing copyright dates and attribution 1837 * Add helper functions to get and free the temporary file path 1838 * kernel-coverage.sh: add f2fs bfs btrfs tmpfs and ramfs 1839 * core-cache: remove some debug messages, they add noise 1840 * stress-sigsegv: force SEGV with illegal long instruction 1841 (x86 only) 1842 * stress-pipe: allocate pipe buffer from heap and not stack 1843 * Manual: update stress-cpu ackermann description 1844 * stress-cpu: reduce ackermann m term to reduce influence on 1845 all cpu methods 1846 * Remove #define for __NR_memfd_secret 1847 * stress-resources: fix mq files not being reaped 1848 * stress-cpu: add ipv4checksum method 1849 * core-helper: rename stress_ip_checksum to stress_ipv4_checksum 1850 * stress-dev: only perform open tries if never opened before 1851 * core-try-open: make helper function static 1852 * Use the new try stress_try_open error returns to ensure open 1853 fails are skipped 1854 * core-try-open: resolve some stress-dev blocking issues, add 1855 richer error return 1856 * core-try-open: quick stat check before expensive slow open 1857 * Fix spelling mistakes found using codespell 1858 * stress-vecmath: avoid overflow sign extension errors 1859 * stress-secretmem: fix void cast on mappings 1860 * stress-secretmem: free mappings on early error return 1861 * stress-resources: ensure early break from loop gets cleaned up 1862 * stress-cpu: add Murmur3_32 hash to cpu stressor 1863 * core-thermal-zone: add some more comments 1864 * Manual: add a --cpu-load example to one of the --cpu stressor 1865 examples 1866 * stress-ng: forgot to include type_instance field change in 1867 previous commit 1868 * core-thermal-zone: sort thermal zone types on type name and type 1869 name instance 1870 * stress-rseq: remove volatile from rseq structs 1871 * stress-rseq: rename signature to valid_signature to avoid name 1872 shadowing 1873 * core-helper: make dirname smaller, reduce stack size 1874 * Add new secretmem stress test 1875 * kernel-coverage: exercise ext4, xfs, jfs, minix and vfat 1876 * stress-dev: add SCSI_IOCTL_GET_PCI ioctl 1877 * stress-rename: replace AT_FDCWD with directory fd 1878 * stress-link: put end of string marker on buf and not newpath 1879 * stress-link: handle EMLINK failures on linking 1880 * stress-filename: add filename length limit when probing filename 1881 * stress-dir: handle EMLINK failures on mkdir 1882 * stress-chdir: handle EMLINK failures on mkdir 1883 * stress-aio-linux: unlink file if open failed 1884 * core-helper: add a helper to truncate long filenames 1885 * stress-chattr: handle ENOTTY errors when ioctls are not supported 1886 * Add build-time check for struct sockaddr_un 1887 * stress-ping-sock: also add EACCES socket failure check 1888 * Add a new ping-sock stressor to exercise "ping" sockets 1889 * Manual: clarify the number of stressors for sequential option too 1890 * Manual: clarify the number of stressors: 1891 * stress-ng: update copyright to 2021 1892 * stress-dev: add RNDADDENTROPY and RNDRESEEDCRNG ioctls 1893 * stress-loop: break overly wide line 1894 * stress-loop: mmap in loop dev and touch + flush pages 1895 * stress-resources: allocate a page with memfd 1896 * stress-resources: allocate fd and page using memfd_secret() 1897 * Add shim for new Linux system call memfd_secret() 1898 * stress-rseq: exercise invalid rseq calls 1899 1900 -- Colin King <colin.king@canonical.com> Thu, 21 Jan 2021 22:46:16 +0000 1901 1902stress-ng (0.12.01-1) unstable; urgency=medium 1903 1904 [David Turner] 1905 * stress-hdd: strengthen verification with --verify --hdd N 1906 1907 [Dominik B Czarnota] 1908 * Fix off-by-ones strncmp in stress-dev.c 1909 1910 [Colin Ian King] 1911 * Makefile: bump version 1912 * Manual: update contributors section and date 1913 * stress-rseq: fix ptr cast to uint64_t warnings on 32 bit arm 1914 * stress-rseq: only build with gcc 1915 * stress-epoll: fix incorrect call to epoll_pwait when pwait2 version 1916 does not exist 1917 * stress-hdd: minor optimization, move hdd_flags & HDD_OPT_WR_SEQ 1918 check outside of loop 1919 * Update syscalls and TODO now that rseq has finally been implemented 1920 * stress-rseq: add a restartable sequence rseq(2) system call stressor 1921 * stress-aio-linux: ensure checking is really correct 1922 * stress-open: limit maximum number of open file descriptors on 32 bit 1923 systems 1924 * stress-cpu: fix --cpu-load timer issues 1925 * stress-longjmp: fix typo in macro 1926 * Define constants for {nano|micro|milli}seconds and use these 1927 * stress-cpu: add -ve delay sanity check to handle clock warping 1928 * stress-readahead: replace white space with tabs 1929 * stress-sysinfo: don't make EPERM errors a hard failure 1930 * Make pid_t print and scanning more portable 1931 * stress-aio-linux: fix error handling and submit waits, add sanity 1932 data checks 1933 * stress-epoll: remove white spaces 1934 * stress-epoll: use epoll_pwait2 if it is available. 1935 * stress-clone: remove noisy clone information 1936 1937 -- Colin King <colin.king@canonical.com> Sat, 26 Dec 2020 16:35:22 +0000 1938 1939stress-ng (0.12.00-1) unstable; urgency=medium 1940 1941 * Makefile: bump version 1942 * stress-epoll: fix sanity check for an unexpected epoll_ctl success 1943 * stress-funccall: disable ALWAYS_INLINE for PCC 1944 * stress-inotify: add void argument, fixes pcc build warning 1945 * stress-epoll: fix pcc build warning 1946 * stress-close: add invalid flags call to close_range 1947 * core-shim: add flags field to close_range shim to match 5.10 1948 system call 1949 * stress-utime: voidify return using assignment and voidification 1950 * stress-stack: reduce scope of variable ret 1951 * stress-sock: clean up some cppcheck warnings 1952 * stress-mlock: put HAVE_MLOCKALL into a statement block 1953 * stress-affinity: add in missing voidification of ret 1954 * stress-brk: remove redundant return 0 statement 1955 * stress-pkey: limit pkey system call warning to just instance 0 1956 * core-helper: don't use getpwent for static stress-ng builds: 1957 * stress-stack: rename sz to mlock_sz to avoid variable shadowing 1958 * stress-pthread: remove duplicate declaration of ret to clean up 1959 build warning 1960 * stress-msg: rename variable i to j to avoid name shadowing warning 1961 * stress-prctl: remove redundant declaration of environ 1962 * stress-msg: clean up variable shadowing 1963 * stress-yield: workaround FreeBSD usleep bug 1964 * stress-timer: workaround duplicated timer_delete segfault in FreeBSD 1965 * stress-ng.h: make shim_unconstify_ptr a static inline helper 1966 * stress-link: cast getpid() return to int for %d format specifier 1967 * stress-open: only declare obsolete_futimesat when it is required 1968 * stress-mmap: voidify page_size if HAVE_MPROTECT is not defined 1969 * stress-access: declare variable j only if HAVE_FACCESSAT is defined 1970 * stress-sem-sysv: silently ignore failures on semctl commands 1971 * stress-sem-sysv: ensure 4th arg of semctl is zero when not used 1972 * stress-sem-sysv: fix zero semaphores case in GETALL semctl 1973 * stress-brk: don't exercise mlockall with MCL_FUTURE if it is not 1974 defined 1975 * Fix clobbering of errno by error message logging before reading errno 1976 * stress-sem-sysv: move scope of array sems 1977 * stress-poll: make tv_nsec out of range value a 32 bit value 1978 * stress-mmap: only use PROT_GROWSUP and PROT_GROWSDOWN if supported 1979 * Fix ~0ULL cast to void * build warnings on 32 bit builds 1980 * kernel-coverage: add --pathological for sysinval stress 1981 * syscalls: update work to do and recent changes 1982 * stress-vm-splice: add pipe to memory vmsplicing 1983 * stress-utime: exercise utime family of calls with invalid filenames 1984 * stress-sysinfo: fix build issues introduced by previous commit 1985 * stress-sysinfo: exercise ustat with invalid major/minor 1986 * stress-userfaultfd: exercise UFFDIO_WAKE 1987 * stress-ramfs: exercise umount with some invalid pathnames 1988 * stress-binderfs: exercise invalid umount calls 1989 * stress-hdd: exercise invalid ftruncate/truncate fd/filename 1990 * stress-hdd: exercise invalid ftruncate/truncate size 1991 * stress-timer: exercise duplicated timer_delete 1992 * stress-pthread: add tkill to shim and exercise it 1993 * stress-pthread: add tgkill to shim and exercise it 1994 * stress-sync-file: exercise 0 nbytes sync, it has special semantics 1995 * stress-swap: exercise swapon with invalid path 1996 * stress-sysinfo: exercise invalid statfs path 1997 * stress-fstat: exercise stat, lstat on invalid path 1998 * stress-splice: exercise splice with some more invalid or untested 1999 arguments 2000 * stress-bad-altstack: exercise sigaltstack with various stack settings 2001 * core-helper: fix comment, min stack size can be MINSIGSTKSZ 2002 * stress-sysinval: only allow with --pathological option (LP: #1906447) 2003 * stress-shm-sysv: exercise duplicated shmdt on unmapped addresses 2004 * stress-shm-sysv: define MPOL_* only if required, add one more 2005 shmctl call 2006 * stress-xattr: exercise invalid setxattr arguments 2007 * stress-set: add timezone argument to get more kernel coverage 2008 * stress-nice: fix priority ranges, use correct offset in priority 2009 * stress-set: exercise invalid pid and pgid in setpgid call 2010 * stress-clone: exercise setns with invalid nstype and fd 2011 * stress-set: exercise sethostname with illegal length host 2012 * stress-set: exercise a range of setgroups calls 2013 * stress-set: exercise setdomainname with invalid name length 2014 * stress-pthread: exercise set_tid_address with NULL address 2015 * stress-pthread: exercise set_robust_list with invalid length 2016 * stress-numa: add in a mix of various set_mempolicy calls 2017 * stress-sendfile: add more kernel coverage tests 2018 * stress-sendfile: periodically exercise sendfile with invalid arguments 2019 * core-helper: find bad_fd in reverse fd order if RLIMIT not supported 2020 * stress-sem-sysv: disable SETALL and exercise long run of semops 2021 * stress-sem-sysv: exercise semctl with various invalid arguments 2022 * stress-sem-sysv: add SIGCHLD handler to ensure pause() gets 2023 interrupted 2024 * stress-schedpolicy: exercise sched_setscheduler with invalid arguments 2025 * stress-affinity: exercise sched_{get|set}affinity with invalid 2026 arguments 2027 * stress-schedpolicy: exercise sched_getscheduler with bad pid 2028 * stress-schedpolicy: exercise sched_{get|set}param with invalid 2029 arguments 2030 * stress-schedpolicy: exercise sched_getattr with invalid arguments 2031 * kernel-coverage: exercise sysinval for longer 2032 * stress-dir: exercise various invalid pathnames for rmdir and add 2033 comments 2034 * stress-xattr: exercise ENOENT error on removexattr calls 2035 * stress-remap-file-pages: exercised locked mremap and invalid mremap 2036 arguments 2037 * kernel-coverage: remove trailing whitespace 2038 * Revert "stress-file-ioctl: enable FIFREEZE and FITHAW file ioctls" 2039 * kernel-coverage: add mremap --mremap-mlock option to add to coverage 2040 testing 2041 * stress-sock: exercise various invalid recv, recv, recvmmsg calls 2042 * stress-reboot: update magic values, add two clearly invalid cmds too 2043 * stress-link: exercise invalid readlinkat calls 2044 * stress-link: exercise invalid readlink calls, remove redundant 2045 cleanup 2046 * stress-readahead: exercise invalid fd and range of readahead sizes 2047 * stress-readahead: improve I/O speed and reduce setup time 2048 * stress-vm-rw: exercise process_vm_{read|write}v with invalid arguments 2049 * stress-prctl: exercise prctl PR_SET_MM_AUXV and PR_GET_TIMERSLACK more 2050 * stress-poll: add some invalid arg tests for ppoll 2051 * stress-cpu: correct the Ackermann count now we are doing calls 2052 * stress-cpu: modify number of iterations to improve cpu instruction mix 2053 * stress-pkey: exercise pkey system calls a little harder 2054 * stress-pipe: add FIONREAD ioctl build time detection 2055 * stress-pipe: exercise the FIONREAD ioctl on pipe read end 2056 * stress-pidfd: exercise pidfd_open with invalid pid 2057 * stress-handle: exercise name_to_handle_at and open_by_handle_at 2058 further 2059 * stress-mmap: exercise munmap with two invalid unmap calls 2060 * stress-msync: exercise some invalid msync calls 2061 * stress-msg: add some unusual msgsnd arguments to exercise kernel 2062 * stress-msg: exercise msgget a little more, create many message queues 2063 * stress-msg: exercise msgctl with invalid msqid and commands 2064 * stress-mremap: add --mremap-mlock option to mlock pages into memory 2065 * stress-mmap: remove some empty lines 2066 * stress-clone: remove whitespace 2067 * stress-mremap: exercise MREMAP_DONTUNMAP on a remap 2068 * stress-mq: exercise fstat and mmap on mq descriptor 2069 * stress-mq: exercise mq_close and mq_unlink with invalid arguments 2070 * stress-mq: exercise mq_notify with SIGEV_NONE and invalid notify 2071 notifications 2072 * stress-mq: exercise mq_getattr with invalid mq and exercise mq_setattr 2073 * stress-mmap: add some extra illegal mprotect calls 2074 * stress-numa: exercise move_pages with various valid and invalid 2075 arguments 2076 * stress-clone: exercise modify_ldt with extra command types 2077 * stress-get: disable gettimeofday with NULL args (LP: #1905205) 2078 * kernel-coverage: add two stack stressor options 2079 * stress-stack: add --stack-mlock option to lock stack pages into memory 2080 * stress-mlock: exercise mlock/munlock with invalid or unusual arguments 2081 * stress-mknod: exercise mknod S_IFDIR 2082 * stress-dir: exercise illegal length directory name 2083 * stress-numa: exercise migrate_pages with invalid arguments 2084 * stress-memfd: exercise memfd_create with illegal arguments and more 2085 flags 2086 * stress-membarrer: exercise illegal command and flags 2087 * stress-numa: exercise mbind with various illegal arguments 2088 * stress-madvise: exercise invalid madvise arguments 2089 * stress-seek: add SEEK_HOLE/DATA walkthrough 2090 * stress-link: exercise illegal cross-device hard links 2091 * stress-keyctl: exercise more keyctl commands 2092 * stress-file-ioctl: remove whitespace 2093 * stress-ioprio: exercise IOPRIO_WHO_{PGRP|USER} for invalid set/get 2094 * stress-ioprio: exercise some invalid set/get arguments 2095 * stress-ioport: add iopl test and exercise io calls with invalid args 2096 * stress-klog: add .supported check before running 2097 * stress-klog: inform use when klog can't be accessed because of 2098 permission reasons 2099 * stress-file-ioctl: exercise SEEK_CUR, SEEK_END on FS_IOC_UNRESVSP* 2100 ioctls 2101 * stress-file-ioctl: exercise invalid block range for FIBMAP ioctl 2102 * stress-file-ioctl: force ENOMEM with invalid dest_count with 2103 FIDEDUPERANGE ioctl 2104 * stress-aio-linux: fix errno checking and exercise aio POLLing 2105 * stress-aio-linux: make FSYNC/FDSYNC commands occur more frequently 2106 * stress-aio-linux: use direct system calls and just cancel one async op 2107 * stress-get: use NULL args for gettimeofday, update comments 2108 * stress-getrandom: exercise GRND_NONBLOCK | GRND_INSECURE and illegal 2109 flags 2110 * stress-open: voidify unused arguments to obsolete function helpers 2111 * stress-sock: exercise illegal getsockname calls 2112 * stress-open: exercise obsolete futimes and futimesat calls 2113 * stress-access: fix AT_EMPTY_PATH check 2114 * stress-itimer: exercise getitimer on all the itimers 2115 * stress-get: exercise getgroups with zero and invalid gid size argument 2116 * stress-getdent: exercise getdents with illegal zero size 2117 * stress-pthread: exercise get_robust_list with invalid PID 2118 * stress-numa: exercise get_mempolicy with invalid maxnodes argument 2119 * stress-hdd: exercise futimes with invalid times 2120 * kernel-coverage: exercise noatime and syncfs hdd options 2121 * stress-flock: add periodic /proc/locks exercising 2122 * stress-flock: exercise illegal lock command combination 2123 * stress-flock: exercise LOCK_MAND with LOCK_READ, LOCK_WRITE 2124 * stress-access: avoid name shadowing by renaming array flags 2125 * TODO: add xattr todo item 2126 * stress-xattr: add more invalid attribute strings and sizes 2127 * stress-sync-file: exercise sync_file_range with more illegal arguments 2128 * stress-iomix: add illegal fdatasync call for more kernel exercising 2129 * stress-fcntl: reset default signal using F_SETSIG with 0 arg 2130 * stress-epoll: exercise epoll_ctl_add with an illegal fd, clean up 2131 some errors 2132 * stress-chroot: voidify unused args parameter in non-linux builds 2133 * stress-chroot: don't exercise EFAULT check on non-linux systems 2134 * stress-chmod: exercise illegal filenames 2135 * stress-chdir: exercise some invalid chdir and fchdir calls 2136 * stress-cap: add macro define checks to ensure code is always buildable 2137 * stress-cap: exercise capget with different capability versions and 2138 invalid pid 2139 * stress-brk: add --brk-mlock option to mlock future brk pages into 2140 memory 2141 * stress-open: exercise new openat2 system call 2142 * stress-access: try to use faccessat2 for faccessat 2143 2144 -- Colin King <colin.king@canonical.com> Thu, 3 Dec 2020 11:07:41 +0000 2145 2146stress-ng (0.11.24-1) unstable; urgency=medium 2147 2148 [Colin Ian King] 2149 * Makefile: bump version 2150 * stress-sysfs: make variables i and n plain signed ints. 2151 * stress-procfs: make variables i and n plain signed ints. 2152 * stress-physpage: reduce the scope of variable 'data' 2153 * stress-open: reduce the scope of variable 'dir' 2154 * core-helper: stress_get_file_limit: bail out after 250 closed fds 2155 * stress-vm: remove leading whitespace from short help info 2156 * core-helper: clean up variable shadowing warning 2157 * stress-mlock: clean up build warnings on use of mmap and munmap on 2158 openhipster 2159 * stress-clone: fix build issue with NetBSD and clone 2160 * stress-clone: fix build issue with kFreeBSD and clone 2161 * stress-procfs: exercise PCI PCIIOC_CONTROLLER procfs ioctl 2162 * stress-procfs: clean up warning when stress_proc_info has zero 2163 elements 2164 * stress-procfs: add ability to exercise specific procfs files in 2165 novel ways 2166 * stress-bad-altstack: add /dev/zero mapped stack 2167 * kernel-coverage: increase sysfs and procfs coverage durations 2168 * stress-procfs: remove empty lines 2169 * stress-procfs: improve procfs coverage by improving striding method 2170 * stress-sysfs: remove printf debug 2171 * stress-sysfs: add more methodical way of stepping through sysfs files 2172 * core-helper: add stress_dirent_list_prune to remove . and .. from 2173 scandir list 2174 * stress-tsc: add s390x support for time clock reading 2175 * stress-sockdiag: force more diag messages by running through all bit 2176 flags 2177 * Add build time check for __atomic_add_fetch 2178 * stress-lease: break up multiple defined() macro checks 2179 * stress-inotify: clean up comments to function args 2180 * stress-get: exercise various system calls with defunct/invalid PID 2181 * core-helper: add a racy "find a potiential free pid" helper 2182 * stress-icmp-flood: constify pointers 2183 * stress-session: remove shadowed declaration of variable ret 2184 * stress-clone: use NULL for stack on clone3 2185 * stress-session: silently ignore ECHILD or EINTR waitpid errors 2186 * stress-efivar: add comment to lseek helper function 2187 * stress-session: improve error handling from child process 2188 * stress-mlock: mmap mappings array as it can be huge 2189 * stress-shm-sysv: fix errno reporting in error messages 2190 * stress-shm-sysv: fix spelling mistakes in error messages 2191 * stress-shm-sysv: fix error message and false positive failure 2192 * stress-fstat: break up multiple defined() macro checks 2193 * stress-fcntl: break up multiple defined() macro checks 2194 * stress-efivar: exercise efivar file with lseek/read, mmap and ioctls 2195 * stress-efivar: fix typo in comment 2196 * stress-dup: add dup2 race stressing for Linux 2197 * stress-handle: remove the "ended" debug message 2198 * TODO: add watch_queue to TODO list 2199 * stress-getrandom: silently ignore EINVAL errors 2200 * stress-dentry: exercise dir file descriptor more 2201 * stress-chattr: exercise with random flags and perform get/unset of 2202 original flag 2203 * TODO: remove uprobes, this has now been implemented 2204 * stress-apparmor: reduce error reporting on ENOENT errors 2205 * stress-clone: fix clone issues found on ARM64 2206 2207 -- Colin King <colin.king@canonical.com> Fri, 13 Nov 2020 20:51:27 +0000 2208 2209stress-ng (0.11.23-1) unstable; urgency=medium 2210 2211 [ Helmut Grohne ] 2212 * Makefile: remove touch of stress-ng for stress-vecmath object 2213 rule (Closes: #973389) 2214 2215 [Colin Ian King] 2216 * Makefile: bump version 2217 * Manual: update contributors and update date 2218 * stress-uprobe: use tracing pipe and ensure this works on older kernels 2219 * stress-ng.h: workaround ALIGNED macro warnings on PCC 2220 * stress-uprobe: use correct printf format specifier for a uint32_t 2221 * stress-sockdiag: break out for loop rather than return 2222 * stress-tmpfs: remove shadowed offset declaration 2223 * stress-splice: add one more pipe to exercise pipe to pipe splicing 2224 * stress-splice: exercise some invalid splice calls 2225 * stress-procfs: add single char procfs reads and fix --procfs-ops 2226 termination 2227 * stress-uprobe: fix int to ptr cast warning on 32 bit systems 2228 * stress-tmpfs: fix incorrect lseek failure check 2229 * stress-mlock: fix build check for MCL_ONFAULT and MCL_FUTURE 2230 * stress-procfs: remove duplicated /proc/self 2231 * stress-dnotify: use DN_MULTISHOT where possible 2232 * stress-open: exercise fdinfo for open'd file descriptors 2233 * stress-file-ioctl: exercise FS_IOC_GETVERSION ioctl 2234 * stress-ptr: exercise linux fdinfo for pty file descriptors 2235 * stress-getrandom: add GRND_INSECURE flag 2236 * stress-verity: add ENOSPC check 2237 * syscalls.txt: add arch_prctl to the system call list 2238 * stress-prctl: add arch_prctl to the prctl stressor 2239 * stress-rtc: add in a few more RTC ioctls 2240 * stress-file-ioctl: enable FIFREEZE and FITHAW file ioctls 2241 * stress-file-ioctl: correctly implement FS_IOC_ falloc ioctls 2242 * stress-dir: exercise invalid truncates on directory fd and path 2243 * stress-uprobe: skip stressor if non-linux 2244 * test/test-executable-start: ensure symbol is available 2245 * stress-open: fix some one more warning GCC 6.5.0 / OpenIndiana 2246 * core-mlock: use shim version of mlock 2247 * stress-open: fix some build warnings GCC 6.5.0 / OpenIndiana 2248 * core-helper: fix build issue on OS X get_etext extern name 2249 * core-helper: fix start of text segment address 2250 * stress-sock: rename pointer bug to avoid name shadowing 2251 * stress-uprobe: add a uprobe tracing stressor 2252 * stress-get: add statfs, fstatfs and statvfs calls 2253 * stress-udp: exercise some setsockopt/getsockopt options 2254 * stress-sock: exercise setsockopt options 2255 * kernel-coverage: exercise open with the open-fd option 2256 * stress-open: add --open-fd option to exercise opening /proc/$PID/fd/* 2257 files 2258 * stress-open: try to open as many files as possible 2259 * stress-sock: make loop index size_t 2260 * stress-sock: exercise a range of getsockopt INET4 and INET6 options 2261 * stress-sock: add TCP congestion control setting and getting 2262 * stress-vdso: fix symbol lookup on clang built kernels 2263 * core-shim: fix build issue, rename __process_madvise to 2264 __NR_process_madvise 2265 * Fix a few spelling mistakes 2266 * Manual: fix a handful of spelling mistakes 2267 2268 -- Colin King <colin.king@canonical.com> Fri, 30 Oct 2020 11:17:24 +0000 2269 2270stress-ng (0.11.22-1) unstable; urgency=medium 2271 2272 [Colin Ian King] 2273 * Makefile: bump version 2274 * Manual: update date and update contributors kudos 2275 * stress-dev: make function static, cleans up gcc-10 pedantic builds 2276 * stress-sockdiag: drop const, cleans up pedantic clang-10 warning 2277 * stress-dev: exercise sound control device ioctls 2278 * stress-sockdiag: exercise a wider range of protocol families 2279 * stress-verity: exercise FS_VERITY_HASH_ALG_SHA256 and 2280 FS_VERITY_HASH_ALG_SHA512 2281 * stress-fork: avoid potential variable clobbering by vfork 2282 * TODO: add uprobes as a todo item 2283 * stress-verity: read data back and check block contents 2284 * stress-quota: exercise Q_GETNEXTQUOTA and some invalid quota arguments 2285 * stress-efivar: re-work comment to something more sensible 2286 * stress-physpage: add attempt to seek and read on /dev/mem 2287 * stress-msync: skip sanity check on FreeBSD, this currently always fails 2288 * stress-madvise: fix incorrect placement of #endif 2289 * stress-sock: exercise socket fdinfo 2290 * core-helper: remove debug in stress_read_fdinfo 2291 * core: add stress_read_fdinfo to read linux fdinfo data 2292 * core-out-of-memory: remove extraneous tab 2293 * stress-pidfd: exercise PIDFD_NONBLOCK 2294 * core-out-of-memory: add a couple more yield points 2295 * stress-sock: exercise SIOCUNIXFILE on AF_UNIX socket domains 2296 * stress-sock: add FIOSETOWN, SIOCSPGRP, SIOCGSTAMP_NEW and SIOCGSKNS 2297 ioctls 2298 * stress-pthread: exercise pthread_sigqueue 2299 * stress-cyclic: on EBUSY report a recommendation to run with less 2300 instance 2301 * stress-cyclic: report instance that fails with errors such as EBUSY 2302 * stress-sigfd: add build time detection of the signalfd system call 2303 * Use intptr_t instead of ptrdiff_t for ptr to int casting 2304 * stress-vdso: fix typo, remove extraneous i in message 2305 * stress-io-uring: fix another cast warning on 32 bit arm systems 2306 * stress-io-uring: fix cast warning on 32 bit arm systems 2307 * stress-verity: fix cast warning on 32 bit arm systems 2308 * stress-hdd: fix fcntl F_SET_FILE_RW_HINT incorrect argument 2309 * Manual: replace "the the" with "the" in comment 2310 * stress-icache: replace "the the" with "the" in comment 2311 * kernel-coverage: re-work to get good overall coverage in a few hour 2312 run 2313 * stress-mlock: add more yield points 2314 * stress-wait: ignore issues with a zero si_signo (part 2) 2315 * stress-wait: ignore issues with a zero si_signo 2316 * core-helper: only declare rlim if it is required 2317 * test: test-cdrom_tochdr: memset header to clean up cppcheck style 2318 warning 2319 * stress-xattr: voidify an unused return value in ret 2320 * stress-timer: reduce scope of variable ret 2321 * stress-procfs: remove redundant eos check on *pptr 2322 * stress-madvise: move int ret to a code block 2323 * stress-madvise: move pointer unmapped to a code block 2324 * stress-dir: no need to close dirfd if it has not been opened 2325 * stress-dir: add flock build time checks for systems that do not 2326 support it 2327 * stress-schedpolicy: only exercise NULL params on Linux 2328 * stress-fork: fix return type of local_shim_fork, should return pid_t 2329 * core-shim: fix minix build warning - declare stime() the minix way 2330 * stress-rename: simplify renameat/renameat2 detection 2331 * stress-sockpair: add more intelligence to socketpair failure returns 2332 * stress-verity: handle ENOTTY on FS_IOC_ENABLE_VERITY failure 2333 * stress-sockpair: close fds and bail out correctly on termination 2334 * stress-wait: fix missing break on if statement 2335 * tests/test-stime: fix static analysis warning 2336 * stress-shm-sysv: make get_bad_shmid static 2337 * stress-context: fix pedantic build warning on shadowed variable name 2338 * stress-shm-sysv: fix build warning on unused parameter cap_ipc_lock 2339 * stress-xattr: line break some overly wide lines 2340 * stress-xattr: add build time check for XATTR_SIZE_MAX 2341 * Makefile: use $(GREP) for grep 2342 * stress-sysfs: add ppoll on sysfs fd 2343 * stress-sysfs: increase timeout to 1 millisecond 2344 * stress-get: don't report failure on EPERM failures 2345 * syscalls: update vhangup entry 2346 * stress-session: exercise vhangup for more kernel coverage 2347 * stress-session: check session id failure return with (pid_t)-1 2348 * stress-fork: exercise vhangup to get more kernel coverage 2349 * Add auto build detection of vhangup system call 2350 * stress-fork: put pid and errno info into a struct 2351 * syscalls: update process_madvise information 2352 * stress-set: exercise stime() if it is available 2353 * stress-fork: remove trailing white space 2354 * core-shim: remove debug foo message 2355 * stress-madvise: remove new line 2356 * stress-tee: re-enable invalid tee flags check with kernel release check 2357 * core-helper: add helper functions to help with kernel release values 2358 * stress-tee: relax invalid flags test for the moment 2359 * stress-madvise: exercise process_madvise() 2360 * core-shim: update with correct process_madvise API 2361 * stress-fork: try to exercise native fork system call 2362 * stress-wait: try to use syscalls in preference to libc wrapped 2363 wait* calls 2364 * stress-brk: detect if sbrk is implemented and improve shim wrapper 2365 * stress-context: add pre/post context region canary checks 2366 * stress-chattr: prefix defines with SHIM_ to avoid name clashing 2367 * stress-sem-sysv: voidify return from memset 2368 * stress-access: declare bad_fd if HAVE_FACCESSAT is defined 2369 * stress-lease: don't report a failure on termination on interrupted wait 2370 * stress-dir: remove tab, make line an empty new line 2371 * stress-ng.h: clean up some white spaces/intentations 2372 * stress-dir: exercise flocks on a dirfd 2373 * stress-dir: stat directory entries 2374 * stress-dir: add dir mmap and improve yielding and directory cleanup 2375 * stress-dentry: split multiple defined() checks over lines 2376 * stress-rename: return error state from exercise_renameat2 2377 * stress-rename: return error state from exercise_renameat 2378 * stress-rename: break defined() checks over multiple lines 2379 * stress-rename: some minor reformatting changes and code cleanup 2380 * stress-rawdev: don't use static buffer in stress_rawdev_path, add 2381 comments 2382 * stress-oom-pipe: exercise invalid pipe size setting, add more yield 2383 points 2384 * stress-longjmp: add canary memory clobbering checks and longjmp timings 2385 * stress-lockf: add occasional F_TEST lockf command 2386 * stress-lease: terminate child if lease file open fails more than 3 times 2387 * stress-lease: exercise F_GETLEASE to get the lease type 2388 * stress-lease: add lease read locking 2389 * stress-key: replace sys_ prefix on syscall wrappers with shim_ 2390 * stress-kcmp: prefix kcmp_epoll_slot with shim to avoid kcmp name clashes 2391 * stress-judy: update stressor comment 2392 * stress-icache: clean up incorrect tab spacing on a continuation marker 2393 * core-out-of-memory: do zero re-wait on failed first wait 2394 * stress-handle: use the oomable child helper 2395 * stress-handle: clean up code, add upper bounds on mount info being read 2396 * syscalls: update readlinkat entry 2397 * stress-link: exercise readlinkat and add build detection 2398 * Add a signal() exercsing stressor 2399 * stress-get: remove void argument in sgetmask call 2400 * stress-set/get: exercise obsolete system calls sgetmask/ssetmask 2401 * stress-set: exercise setfsuid() and add in build-time detection 2402 * stress-set: exercise setfsgid() and add in build-time detection 2403 * syscalls: update note for settimeofday 2404 * syscalls: add note for nfsservctl 2405 * stress-shm-sysv: fix failed open check on map_files open 2406 * stress-sockabuse: voidify returns of several system calls 2407 * stress-shm-sysv: voidify returns of several system calls 2408 * stress-pthread: voidify args with empty stress_pthread_tid_address 2409 * stress-verity: add a file system verity stressor 2410 * stress-file-ioctl: fix errno handling and remove temp directory 2411 * stress-shm-sysv: minor cleanups, make buffer smaller 2412 * stress-af-alg: check for ELIBBAD on bind 2413 * stress-dev: add termios2 ioctls 2414 * Add readlink shim to avoid calling readlinkat to get more kernel coverage 2415 * kernel-coverage: remove zombie max stressor, it's OOMing too much 2416 * syscalls.txt: update entry for lookup_dcookie 2417 * stress-get: perform lookup_dcookie calls on random cookies 2418 * stress-pthread: exercise set_tid_address if it is available 2419 * stress-get: add obsolete ugetrlimit call 2420 * stress-dir/mknod: use shim_strlcpy instead of strlcpy (LP: #1896010) 2421 * stress-mknod: add mknodat system call if it is available 2422 * syscalls: update entry for unlinkat 2423 * stress-dirdeep: add unlinkat call and autodetect syscall at build time 2424 * stress-dir: use mkdirat if it is available to create directories 2425 2426 [Khalid Elmously] 2427 * stress-wait: add missing semi-colon 2428 2429 [Piyush Goyal] 2430 * stress-tee: exercise tee syscall with 0 len 2431 * stress-tee: add check on tee for same pipes 2432 * stress-tee: exercise tee with invalid flags 2433 * stress-rename: correct a typo in a comment 2434 * stress-rename: exercise renameat2 on file fd 2435 * stress-rename: exercise renameat on bad fd 2436 * stress-rename: exercise valid renameat2 on RENAME_EXCHANGE flag 2437 * stress-rename: exercise renameat2 on file fd 2438 * stress-rename: exercise renameat2 on bad fd 2439 * stress-rename: add check for renameat2 EEXIST error 2440 * stress-rename: add check for renameat2 on ENOENT error 2441 * stress-rename: exercise renameat2 with invalid combination of flags 2442 * stress-rename: exercise renameat2 with invalid flags 2443 * stress-shm-sysv: add check for shmctl EIDRM error 2444 * stress-shm-sysv: exercise shmctl on invalid shmid 2445 * stress-shm-sys: exercise invalid commands in shmctl syscall 2446 * stress-shm-sysv: add check for shmget ENOENT error 2447 * stress-shm-sysv: increase kernel coverage for shmget syscall 2448 * stress-shm-sys: add check shmget EPERM error 2449 * stress-shm-sysv: add check for shmget syscall EINVAL error 2450 * stress-shm-sysv: add check for shmget syscall EINVAL error 2451 * stress-shm-sys: exercise shmget on invalid sizes argument 2452 * stress-shm-sys: exercise shmget on invalid flags 2453 * stress-shm-sysv: exercise shmat on unaligned address and SHM_RND 2454 * stress-shm-sysv: exercise shmdt on unaligned page address 2455 * stress-shm-sysv: exercise shmat on unaligned page address 2456 * stress-shm-sysv: exercise shmat with SHM_REMAP flag on NULL address 2457 * stress-shm-sysv: exercise shmat with all possible values of flags 2458 * stress-shm-sysv: exercise shmdt on invalid flag 2459 * stress-shm-sysv: exercise shmat on invalid fd 2460 * stress-xattr: add check on setxattr syscall XATTR_CREATE flag 2461 * stress-xattr: exercise invalid size argument setxattr syscall 2462 * stress-xattr: add check on setxattr syscall XATTR_REPLACE flag 2463 * stress-xattr: exercise invalid setxattr syscall 2464 * stress-aio-linux: exercise invalid io_setup syscall 2465 * stress-xattr: add check on lsetxattr syscall XATTR_CREATE flag 2466 * stress-xattr: exercise invalid size argument lsetxattr syscall 2467 * stress-xattr: add check on lsetxattr syscall XATTR_REPLACE flag 2468 * stress-xattr: exercise invalid lsetxattr syscall 2469 * stress-xattr: exercise invalid size argument fsetxattr syscall 2470 * stress-xattr: add check on fsetxattr syscall XATTR_CREATE flag 2471 * stress-xattr: add check on fsetxattr syscall XATTR_REPLACE flag 2472 * stress-xattr: exercise fsetxattr with invalid flags 2473 * stress-schedpolicy: exercise invalid sched_setparam syscalls 2474 * stress-schedpolicy: exercise invalid sched_getparam syscalls 2475 * stress-schedpolicy: exercise invalid sched_setattr syscalls 2476 2477 -- Colin King <colin.king@canonical.com> Thu, 22 Oct 2020 19:51:52 +0100 2478 2479stress-ng (0.11.21-1) unstable; urgency=medium 2480 2481 [Colin Ian King] 2482 * Makefile: bump version 2483 * Manual: update date 2484 * stress-unshare: don't report ENOSPC as a failure in the unshare 2485 * Makefile: remove personality info, it is distracting 2486 * stress-clock: fix build warnings BSD systems 2487 * Makefile: remove -DHAVE_LINUX_IO_URING_H, it was included for testing 2488 * stress-dev: fix build warnings on non-Linux platforms 2489 * stress-dev: fix build error on non-linux systems with Xen guest 2490 checking 2491 * README: update number of stress tests 2492 * stress-dirdeep: add post recursion yield point check 2493 * stress-io-uring: add built-time checking for io-uring opcode enums 2494 * Makefile: provide personality build information 2495 * Makefile: make core first to keep order alphabetic 2496 * stress-io-uring: exercise NOP and FSYNC IO opcodes 2497 * stress-sysfs: skip over gcov sysfs debug files 2498 * stress-dirdeep: declare dirfd when HAVE_LINKAT is also defined 2499 * stress-dirdeep: exercise linkat in a few different ways 2500 * stress-clock: add build time check for TIMER_ABSTIME 2501 * core-helper: use shim strl* functions 2502 * stress-eventfd: remove { } for one line block statement 2503 * stress-eventfd: perform illegal writes periodically 2504 * stress-unshare: add in missing empty line 2505 * stress-io-uring: reap resources at end of test, exercise fdinfo 2506 * stress-io-uring: remove CLASS_INTERRUPT from stressor classes 2507 * Add stress_mk_filename to make a filename from full path and name 2508 * stress-inotify: fix build warning 2509 * io-uring: fix help, it was cut-n-pasted from io async stressor 2510 * Add io-uring stressor to exercise io-uring system calls 2511 * stress-inotify: some minor code style changes, no functional changes 2512 * stress-inotify: optimization: get bad fd just once 2513 * stress-inotify: fix build failures on systems without IN_MASK_CREATE 2514 and IN_MASK_ADD 2515 * stress-shm-sysv: exercise SYSV namespace objects 2516 * stress-sem-sysv: remove busy loop, replace it with pause 2517 * stress-sem: remove busy loop, replace it with pause 2518 * stress-fanotify: fix build warning on declaration of bad_fd 2519 * stress-fanotify: fix build failure with systems where FAN_MARK_INODE 2520 is not defined 2521 * stress-fanotify: fix name shadowing on function parameter mnts 2522 * stress-timerfd: fix shadowing of variable ret 2523 * stress-close: fix variable shadowing of ret 2524 * stress-dev: add some device timeouts on slow optical devices 2525 * stress-fallocate: remove some whitespaces/lines 2526 * stress-fallocate: exercise illegal offset and lengths 2527 * stress-fallocate: exercise illegal fallocate on a pipe 2528 * stress-fallocate: add a blank line 2529 * stress-fallocate: exercise some illegal modes 2530 * stress-dev: allow hpet checking if not a Xen guest 2531 * stress-timerfd: fix check of CLOCK_REALTIME_ALARM 2532 2533 [Piyush Goyal] 2534 * stress-schedpolicy: exercise invalid sched_getattr syscalls 2535 * stress-timer:exercise nanosleep on invalid timespec 2536 * stress-clock: exercise clock_nanosleep on invalid timespec 2537 * stress-clock: Exercise clock_nanosleep on invalid clock id 2538 * stress-clock: exercise clock_adjtime on invalid clock id 2539 * stress-eventfd: exercise illegal writes on event fd 2540 * stress-eventfd: initialise the value written in event fd 2541 * stress-eventfd: read from event fd on a small buffer 2542 * stress-eventfd: exercise eventfd with invalid flags 2543 * Makefile.config: add build time check for epoll_create 2544 * stress-inotify: exercise inotify_rm_watch on non-inotify fd 2545 * stress-inotify: exercise inotify_rm_watch on invalid wd 2546 * stress-inotify: exercise inotify_rm_watch on bad fd 2547 * stress-inotify: Exercise inotify_add_watch on bad_fd 2548 * stress-inotify: exercise inotify_add_watch on already existing fd 2549 * stress-inotify: exercise inotify_add_watch with two operations 2550 * stress-inotify: exercise inotify_add_watch with bad mask 2551 * stress-inotify: exercise invalid inotify_init1 2552 * syscalls.txt: add inotify_init syscall 2553 * stress-inotify: add syscall inotify1 and exercise it 2554 * stress-fanotify: exercise invalid combination of flags 2555 * stress-fanotify: add build time check for FAN_MARK_MOUNT 2556 * stress-fanotify: Add fanotify syscalls 2557 * stress-fanotify: Add test for fanotify_mark syscall 2558 * stress-fanotify: Exercise fanotify_mark on bad fd 2559 * stress-fanotify: Exercise fanotify_mark with invalid flag 2560 * stress-fanotify: add test_fanotify_mark 2561 * stress-fanotify: Exercise fanotify_init syscalls with different flags 2562 * stress-fanotify: Add fanotify_init syscalls 2563 * stress-timerfd: Exercise timerfd_settime with invalid flags 2564 * stress-timerfd: Exercise non valid timerfd file descriptor 2565 2566 -- Colin King <colin.king@canonical.com> Wed, 16 Sep 2020 22:58:21 +0100 2567 2568stress-ng (0.11.20-1) unstable; urgency=medium 2569 2570 [André Wild] 2571 * Fix error if only HAVE_TERMIOS is not set 2572 * stress-zlib: Fixes race conditions during deflate/inflate 2573 * stress-ipsec-mb: Fixes out of bounds access of unterminated funcs 2574 array 2575 * stress-zlib: new zlib stressor options 2576 2577 [Colin Ian King] 2578 * Makefile: bump version 2579 * stress-zlib: cast pid_t to int for %d format specifier 2580 * stress-timerfd: only define cap_wake_alarm when it is required 2581 * stress-open: cast pid_t to int for %d format specifier 2582 * stress-timerfd: add build checks for CLOCK_REALTIME_* timers 2583 * stress-memthrash: fix premature termination by OOM handler 2584 * stress-memthrash: fix typo in comment "Wait" -> "Wake" 2585 * stress-zlib: use %zd for ssize_t, fixes build warning on GNU/HURD 2586 * stress-vforkmany: improve waiting by terminating child 2587 * stress-open: fix build failures on systems that don't support O_PATH 2588 * stress-close: add directory clean up at end 2589 * stress-affinity: use 16 processes to hammer affinity changes per 2590 stressor 2591 * stress-af-alg: break some overly long lines 2592 * stress-af-alg: add string overflow sanity check 2593 * stress-access: break wide defined() checks to 2 lines 2594 * stress-madvise: make signal message text plural on > 1 SIGBUS signals 2595 * stress-zlib: move declaration of reval, voidify return from waitpid 2596 * stress-close: remove duplicated bad_fd declaration 2597 * stress-zlib: print args.stream_bytes as unsigned long long 2598 * stress-ng.h: build in target clone types if gcc supports the feature 2599 * stress-enosys: re-write int $80 x86-64 syscall 2600 * stress-dev: clean up intentation 2601 * syscalls.txt: add openat2 notes 2602 * Makefile.config: add config test for struct open_how 2603 * stress-open: call open() directly if possible 2604 * stress-open: add openat system call check and exercise it 2605 * stress-close: exercise new close_range system call 2606 2607 [Piyush Goyal] 2608 * stress-timerfd: Exercise non valid timerfd file descriptor 2609 * stress-timerfd: Add invalid timerfd_gettime syscalls on bad fd 2610 * stress-numa: Add check mbind cannot succeed without capability 2611 * stress-pidfd: Exercise invalid pidfd_getfd syscall 2612 * stress-numa: Add MPOL_F_MEMS_ALLOWED flag get_mempolicy syscalls 2613 * stress-close: Exercise faccessat syscall on file fd 2614 * stress-xattr: Reorganise and exercise invalid fgetxattr syscall 2615 * stress-xattr: Exercise getxattr with small value buffer 2616 * stress-timerfd: Exercise invalid timerfd_create syscall 2617 * stress-timerfd: Add check timerfd_create cannot succeed without 2618 capability 2619 * stress-xattr: Exercise invalid lgetxattr syscall 2620 * stress-pidfd: Exercise pidfd_getfd syscall with bad_fd 2621 * stress-numa: Exercise invalid mbind syscall 2622 * stress-numa: Add invalid get_mempolicy syscalls 2623 * stress-numa: Exercise invalid get_mempolicy syscall 2624 * stress-xattr: Exercise invalid fgetxattr syscall 2625 * stress-close: Exercise faccessat syscall with invalid flags 2626 * stress-close: Exercise faccessat syscall on bad dirfd 2627 * stress-dev: Exercise VT_RESIZE and VT_RESIZEX ioctl syscall 2628 * stress-dev: Exercise KDGKBDIACR ioctl syscall 2629 * Makefile.config: Define Macros HAVE_UNIMAPDESC 2630 * stress-dev: Exercise KDGKBSENT and KDSKBSENT ioctl syscalls 2631 * stress-dev: Exercise GIO_UNISCRNMAP and PIO_UNISCRNMAP ioctl syscalls 2632 * stress-dev: Exercise GIO_SCRNMAP and PIO_SCRNMAP ioctl syscalls 2633 2634 -- Colin King <colin.king@canonical.com> Mon, 7 Sep 2020 17:41:24 +0100 2635 2636stress-ng (0.11.19-1) unstable; urgency=medium 2637 2638 [Colin Ian King ] 2639 * Makefile: bump version 2640 * stress-cpu: add workaround for unnamed bit-fields 2641 * stress-dev: move opt_set_funcs and stress_set_dev_file to fix build issue 2642 * stress-stackmmap: cast stack to void * to avoid build warnings 2643 * stress-epoll: only declare epoll_ctl_mode if EPOLLEXCLUSIVE is defined 2644 * stress-epoll: fix broken epoll controls, add helpers 2645 * stress-vecmath: re-work vectorization of setup values 2646 * stress-procfs: rename ptr to pptr (path ptr) to avoid variable shadowing 2647 * stress-dev: add build autodetection for struct winsize 2648 * stress-dev: add build autodetection for struct termios 2649 * stress-dev: remove trailing whitespace 2650 * stress-dev: add build autodetection for struct kbentry 2651 * Makefile.config: re-order dm_ioctl check 2652 * Makefile.config: re-order vt_stat check 2653 * stress-dev: add build autodetection for struct vt_mode 2654 * stress-dev: add build autodetection for struct unimapdesc 2655 * stress-dev: add build autodetection for struct kbkeycode 2656 * stress-dev: add build autodetection for struct consolefontdesc 2657 * stress-dev: add ioctl header checks for console and vt ioctls 2658 * stress-dev: add build autodetection for struct v4l2_dv_timings 2659 * stress-dev: remove incorrect v4l2 ioctl test that's using wrong struct type 2660 * stress-dev: add build autodetection for struct v4l2_enc_idx 2661 * stress-dev: add check for v4l2_std_id 2662 * stress-dev: add build autodetection for struct v4l2_jpegcompression 2663 * stress-dev: add build autodetection for struct v4l2_audioout 2664 * stress-dev: add build autodetection for struct v4l2_audio 2665 * stress-dev: add build autodetection for type v4l2_std_id 2666 * stress-dev: add build autodetection for struct v4l2_framebuffer 2667 * stress-dev: add build autodetection for struct v4l2_capability 2668 * stress-dev: Add a new --dev-file option to specify the device to exercise 2669 * stress-procfs: force ENOENT on invalid procfs path traversal 2670 * stress-dev: add auto build config check for struct media_device_info 2671 * stress-dev: add auto build config check for cdrom_blk 2672 * stress-bad-ioctl: ensure we have a bad page without a following mapped page 2673 * Add PCC compiler build notes to README file 2674 * Add support to build with the pcc compiler 2675 * stress-dev: replace (void)ioctl with ret = ioctl() 2676 2677 [Piyush Goyal] 2678 * stress-dev: Exercise KDGKBENT and KDSKBENT ioctl syscalls 2679 * stress-dev: Exercise VT_GETMODE and VT_SETMODE ioctl syscalls 2680 * stress-dev: Exercise GIO_UNIMAP and PIO_UNIMAP ioctl syscalls 2681 * stress-dev: Exercise KDGKBMETA and KDSKBMETA ioctl syscalls 2682 * stress-dev: Exercise KDGKBMODE and KDSKBMODE ioctl syscalls 2683 * stress-dev: Exercise GIO_FONT and PIO_FONT ioctl syscalls 2684 * stress-dev: Exercise KDGETKEYCODE and KDSETKEYCODE ioctl syscalls 2685 * stress-dev: Exercise GIO_FONTX and PIO_FONTX ioctl syscalls 2686 * stress-dev: Exercise CDROMPLAYBLK ioctl syscall 2687 * stress-dev: Exercise CDROMSETSPINDOWN ioctl syscall 2688 * stress-dev: Exercise CDROM_SELECT_SPEED ioctl syscall 2689 * stress-dev: Exercise CDROM_DEBUG ioctl call 2690 * stress-dev: Exercise GIO_CMAP and PIO_CMAP ioctl syscalls 2691 * stress-dev: Reorder the KDGKBTYPE ioctl call 2692 2693 -- Colin King <colin.king@canonical.com> Mon, 24 Aug 2020 15:13:11 +0100 2694 2695stress-ng (0.11.18-1) unstable; urgency=medium 2696 2697 [Colin Ian King ] 2698 * Makefile: bump version 2699 * stress-stackmmap: cast mmap return to uint8_t to clean up build warning 2700 * stress-set: declare bad_uid and cap-setuid only for HAVE_SETREUID case 2701 * stress-dev: break multi #if defined checks across multiple lines (2) 2702 * stress-dev: add auto build config check for struct dm_ioctl 2703 * stress-dev: add auto build config check for struct vt_stat 2704 * stress-dev: add auto build config check for struct vt_mode 2705 * stress-dev: break multi #if defined checks across multiple lines 2706 * stress-dev: add auto build config check for dvd_authinfo 2707 * stress-dev: add auto build config check for dvd_struct 2708 * stress-dev: add auto build config check for cdrom_read_audio 2709 * Makefile.config: re-order cdrom checks into correct alphabetical order 2710 * stress-dev: add auto build config check for cdrom_subchnl 2711 * stress-dev: add auto build config check for cdrom_volctrl 2712 * stress-dev: add auto build config check for cdrom_mcn 2713 * Makefile.config: move cdrom struct checks to struct checking part of 2714 autodection 2715 * stress-dev: add auto build config check for cdrom_ti 2716 * stress-dev: add one more HAVE_CDROM_MSF check and break up #if defined 2717 checks 2718 * stress-dev: fix musl gcc build warning 2719 * stress-dev: use uint8_t and uint32_t instead of __u8 and __u32 types 2720 * stress-dev: add auto build config check for cdrom_msf 2721 * stress-dev: add auto build config check for cdrom_tocentry 2722 * stress-dev: add auto build config check for cdrom_tochdr 2723 * stress-stackmmap: don't use void * pointer arithmetic 2724 * stress-remap-file-pages: don't use void * pointer arithmetic 2725 * stress-aio-linux: use correct format specifier for size_t 2726 * stress-dev: fix matching #endif and } causing build warnings 2727 * stress-utime: add O_PATH fd test case for utimensat 2728 * stress-ng.h: add -Wnonnull to disabled warnings 2729 * stress-ng: Add SIGTTOU, SIGTTIN and SIGWINCH to the signal ignore array 2730 * stress-dev: voidify fd in cdrom stressor to avoid build warnings 2731 * core-helper: fix build warnings, add in missing const 2732 * stress-bad-ioctl: rename rc to ssjret to avoid name shadowing 2733 * Add auto build detection of linux/cdrom.h and define HAVE_LINUX_CDROM_H 2734 * test/test-aio-{read|write}: memset structs to avoid static analysis 2735 warnings 2736 * kernel-coverage.sh: add log file to capture test times 2737 * kernel-coverage.sh: make oom-pipe oomable 2738 * stress-dup: add more yield points 2739 * stress-numa: silently ignore migrate pages failures 2740 * stress-bad-ioctl: add random page data to the mix 2741 * Add a --bad-ioctl stressor that performs _IOR ioctl read commands 2742 * core-helper: make uid gap at least 250 to reduce race window 2743 * Add helper stress_get_unused_uid to find an unused uid 2744 * stress-nice: fix build issue when HAVE_SETPRIORITY is not defined 2745 * stress-aio: add autoconfig checks for aio-{cancel|read|write} 2746 * Makefile.config: ensure libatomic is linked in correctly 2747 * stress-sigtrap: move case statement to fix fallthrough build warning 2748 * core-out-of-memory: only fall back to old oom interface if new one 2749 does not exist 2750 * core-helper: remove stress_sigalrm_block() 2751 * core-log: remove pr_msg_fail() 2752 * stress-ng: remove dead code 2753 * stress-sigtrap: fix build error when SIGTRAP is not defined 2754 * fix a lot of spelling mistakes and typos 2755 * example-jobs: fix a couple more spelling mistakes 2756 * example-jobs: fix some spelling mistakes 2757 * stress-epoll: check for failure against the intended errno 2758 * stress-pty: rename struct fields to use follower/leader instead 2759 * kernel-coverage.sh: remove debug if/endif 2760 * kernel-coverage.sh: ensure log does not overflow and make script less 2761 OOM-able 2762 * core-mlock: ensure mlock address arg is const 2763 * stress-set: remove shadowed declaration of variable ret 2764 * stress-epoll: only build EPOLLEXCLUSIVE if it is defined 2765 * stress-get: rename array rlim to rlims to avoid name shadowing 2766 * stress-epoll: fix pedantic build mode failure 2767 2768 [Piyush Goyal] 2769 * stress-dev: Exercise KDGKBTYPE ioctl call 2770 * stress-dev: Exercise KDGETMODE and KDSETMODE ioctl syscalls 2771 * stress-dev: Exercise KDGKBLED and KDSKBLED ioctl syscalls 2772 * stress-dev: Exercise valid and invalid KDSETLED ioctl calls 2773 * stress-dev: Add Stressor for Console Driver 2774 * stress-dev: Exercise CDROMREADMODE1 and CDROMREADMODE2 ioctl syscalls 2775 * stress-dev: Exercise CDROMREADRAW ioctl syscall 2776 * stress-dev: Exercise CDROMPLAYMSF ioctl syscall 2777 * stress-dev: Exercise CDROMPLAYTRKIND ioctl syscall 2778 * stress-dev: Exercise CDROMMULTISESSION ioctl sycall for CDROM driver 2779 * stress-dev: Add ioctl calls for CDROM driver 2780 * stress-dev: Exercise all possible DVD_READ_STRUCT ioctl syscalls 2781 * stress-dev: Add in the /dev/sr0 to the dev_funcs array 2782 * stress-dev: Exercise ioctl syscall for CDROM driver 2783 * stress-dev: Exercise CDROMVOLCTRL ioctl syscall 2784 * stress-dev: Add ioctl syscalls for cdrom driver 2785 * stress-dev: Add more readable ioctl calls for CDROM driver 2786 * stress-dev: Add readable ioctl calls for CDROM driver 2787 * stress-dev: Add ioctl calls for CDROM driver 2788 * stress-dev: Add stressor for CDROM driver 2789 * stress-dev: Add v4l ioctl tests 2790 * stress-dev: Add test for ioctl command VIDIOC_G_STD 2791 * stress-dev: Add test for ioctl command VIDIOC_G_AUDIO 2792 * stress-dev: Add test for ioctl command VIDIOC_G_INPUT 2793 * stress-dev: Add test for ioctl command VIDIOC_G_OUTPUT 2794 * stress-dev: Add memset for structure v4l2_capability 2795 * stress-dev: Add test for ioctl command VIDIOC_G_FBUF 2796 * stress-set: Test setreuid cannot succeed without capability 2797 * stress-getrandom: Exercise invalid getrandom syscall 2798 * stress-eloop: Pass efd2 as argument to test_eloop() 2799 * stress-nice: Test nice cannot increase priority with capability 2800 * stress-epoll: Test epoll instance cannot be added with EPOLLEXCLUSIVE 2801 flag 2802 * stress-nice: Exercise invalid nice syscall with invalid inc argument 2803 * stress-flock: Exercise invalid flock syscall 2804 * stress-epoll: Test EPOLL_CTL_MOD cannot be applied to EPOLLEXCLUSIVE 2805 * stress-epoll: Test for modification of EPOLL_EXCLUSIVE in epoll_ctl 2806 * stress-eloop: Add test for ELOOP error 2807 * stress-set: Add comment for setrlimit syscall 2808 2809 -- Colin King <colin.king@canonical.com> Wed, 12 Aug 2020 15:41:22 +0100 2810 2811stress-ng (0.11.17-1) unstable; urgency=medium 2812 2813 [Colin Ian King ] 2814 * Makefile: bump version 2815 * Close build issue (fixed on previous upload) (Closes: #964638) 2816 * handle EFAULT for kernels that generate SIGSEGV 2817 * stress-get: handle EFAULT for kernels that generate SIGSEGV 2818 * stress-epoll: flag an error on bad events buffer if it returns more 2819 than 0 events 2820 * stress-open: add invalid O_TMPDIR and O_CREATE tests 2821 * stress-open: use stress_get_max_file_limit to get max file limit 2822 * core-helper: add stress_get_max_file_limit to return max file open 2823 limit 2824 * stress-open: retry opening on a failed open 2825 * stress-open: keep opening until the maximum open file limit is hit 2826 * stress-numa: fix indentation issue with comment 2827 * stress-get: move invalid getrlimit test to outside of the loop 2828 * stress-mincore: exercise mincore with MAP_NONE vec argument 2829 * Add some pages that can be used for invalid argument system call tests 2830 * stress-mincore: exercise some invalid and unexpected mincore arguments 2831 * stress-mlock: clean up some indentations 2832 * stress-mlock: improve the method of finding maximum mlockable size 2833 * stress-mlock: fix max limit on mlocked region size 2834 2835 [Piyush Goyal] 2836 * stress-epoll: Exercise illegal epoll_pwait syscall with bad address 2837 * stress-epoll: Exercise illegal epoll_wait syscall with bad address 2838 * stress-get: Exercise illegal uname call with bad address 2839 * stress-set: Verify hard limit cannot be increased without capability 2840 * stress-set: Add condition to test rlim_curr > 1 2841 * stress-set: Exercise invalid setrlimit syscall with invalid rlim 2842 argument 2843 * stress-get: Exercise invalid prlimit syscall with invalid resource 2844 argument 2845 * stress-set: Exercise invalid setrlimit syscall with invalid resource 2846 argument 2847 * stress-get: Exercise invalid getrlimit syscall with invalid resource 2848 argument 2849 * stress-mlock: Test mlock syscall cannot proceed without permission 2850 * stress-mlock: Exercise invalid mlockall syscall with invalid flag 2851 * stress-mlock: Exercise invalid mlockall syscall with only MCL_ONFAULT 2852 flag 2853 * stress-mlock: Exercise invalid mlock2 syscall with invalid flags 2854 * stress-epoll: Exercised Invalid epoll_wait syscall with invalid 2855 maxevents argument 2856 * stress-epoll: Exercised Invalid epoll_pwait syscall with invalid 2857 maxevents argument 2858 2859 -- Colin King <colin.king@canonical.com> Mon, 27 Jul 2020 19:32:11 +0100 2860 2861stress-ng (0.11.16-1) unstable; urgency=medium 2862 2863 [Piyush Goyal] 2864 * stress-epoll: Exercise epoll_ctl syscall with EPOLL_CTL_MOD on fd 2865 not registered 2866 * stress-epoll: Exercise invalid epoll_ctl_add by adding already 2867 registered fd 2868 * stress-epoll: Reorder invalid epoll_ctl syscall with EPOLL_CTL_DEL 2869 operation 2870 * stress-epoll: Exercise epoll_ctl syscall with EPOLL_CTL_DEL on fd not 2871 registered 2872 * stress-epoll: Exercise epoll_ctl syscall with Invalid Operation 2873 * stress-epoll: Exercise epoll_create1 syscall with valid non-zero 2874 flags argument 2875 * stress-epoll: Exercise invalid epoll_ctl syscall with same fd and epfd 2876 * stress-epoll: Exercise epoll_create1 syscall with invalid flags 2877 argument 2878 * stress-epoll: Exercise epoll_create syscall with invalid size argument 2879 * stress-clock: Ensure clock_settime cannot proceed without privilege 2880 * stress-set: Added test checking settimeofday syscall cannot proceed 2881 without privileges 2882 * stress-numa: Exercise getcpu syscall with a non-null pointer to tcache 2883 argument 2884 * stress-dup: Exercise dup3 syscall with same oldfd and newfd 2885 * stress-dup: Added test exercising invalid dup3 syscall with closed fd 2886 * stress-dup: Added test exercising invalid dup3 syscall with invalid 2887 flag 2888 * stress-clock: Added test exercising clock_settime syscall with negative 2889 time 2890 * stress-clock: Added test exercising clock_settime syscall having an 2891 illegal clockid 2892 * stress-clock: Added test exercising clock_gettime syscall having an 2893 illegal clockid 2894 * stress-clock: Added test exercising clock_getres syscall having an 2895 illegal clockid 2896 * stress-pidfd: exercise pidfd_send_signal syscall by passing a pointer 2897 to info argument 2898 * stress-pidfd: Added tests exercising pidfd_open syscall with negative 2899 pid argument 2900 * stress-pidfd: Added tests exercising pidfd_send_signal syscall with 2901 illegal flags argument 2902 * stress-pidfd: Added tests exercising pidfd_open syscall with illegal 2903 flags argument 2904 * syscalls.txt: Removing the extra occurrence of getcwd 2905 * stress-get: Added Tests exercising getpriority calls having non-zero 2906 who argument 2907 2908 [Colin Ian King ] 2909 * Makefile: bump version 2910 * stress-bad-altstack: add check for getauxval 2911 * stress-sigchld: only set SA_SIGINFO if it is available 2912 * stress-xattr: terminate with EXIT_NO_RESOURCE if system call not 2913 supported 2914 * stress-xattr: skip test if ENOSYS is detected 2915 * stress-mknod: remove debug message 2916 * stress-epoll: clean up some indentation 2917 * stress-sigfd: exercise with an invalid non-signal fd file descriptor 2918 * stress-sigfd: exercise signalfd with invalid fd and flags 2919 * stress-loop: add LOOP_CONFIGURE ioctl 2920 * stress-bsearch: add in missing empty line between declaration and 2921 statement 2922 * core-time: add ( ) to keep to the informal stress-ng coding style 2923 * core-thermal-zone: uncapitalize error message 2924 * core-shim: add comments for enosys wrapper 2925 * core-perf: constify some read-only structure fields 2926 * core-mlock: constify m_addr_start as it never changes 2927 * core-mincore: make uintptr const as it never changes 2928 * core-limit: remove blank line 2929 * core-job: make stress_chop an inlined helper function 2930 * stress-dccp: constify opt field in stress_dccp_opts_t 2931 * stress-dev: remove duplicated comment 2932 * stress-klog: use SHIM_* for CAP_SYS settings 2933 * stress-numa: add some ( ) according to the informal coding style 2934 * stress-klog: exercise more klogctl commands to improve kernel coverage 2935 * stress-mknod: exercise char and block device mknod calls 2936 * stress-epoll: remove extraneous space before a comment 2937 * stress-loop: exercise loop /sys/devices/virtual/block/loopX/loop/* 2938 attributes 2939 * stress-loop: exercise LOOP_CHANGE_FD with invalid fd 2940 * stress-loop: exercise LOOP_CTL_ADD 2941 * stress-loop: try to associate loop with a file backing with invalid fd 2942 * stress-loop: fsync on loop backed device 2943 * stress-loop: unlink backing file as soon as possible 2944 * stress-sysinfo: only define bad_fd when it is required 2945 * stress-nanosleep: remove unused opt_set_funcs 2946 * stress-dup: don't make do_dup3 conditional on HAVE_DUP3 2947 * stress-sigchld: add new stressor that exercises SIGCHLD handling 2948 * stress-chattr: handle EOPNOTSUPP failures 2949 * stress-clock: cache the capability setting and move test 2950 * stress-set: rework error message to provide some extra info 2951 * stress-set: move tv to local scope to fix any build warnings 2952 * stress-ng.h: redefine SHIM_CAP_IS_ROOT to -1 2953 * use SHIM_CAP_IS_ROOT instead of 0 for root capability checks 2954 * stress-ng.h: Add a SHIM_CAP_IS_ROOT shim capability 2955 * stress-ng.h: Update to the current full list of capabilities 2956 * stress-skiplist: remove debug helper function 2957 * core-shim: perform syscall if libc does not provide call but __NR_* is 2958 available 2959 * stress-dup: remove need for HAVE_DUP3 since this is handled in shim 2960 * core-shim: add syscall to dup3 if HAVE_DUP3 is not available 2961 * core-log: fix corrupted log when using --log-file and --log-brief 2962 options 2963 * stress-mmapaddr: exercise MAP_FIXED_NOREPLACE flag 2964 * stress-poll: else if statement braces 2965 * stress-pipeherd: fix typo on child pid comparison 2966 * rename stress_proc_stats_t to stress_stats 2967 * stress-ng: rename proc to stressor 2968 * rename num_procs to num_instances 2969 * stress-ng: rework the stressor startup loops 2970 * stress-nanosleep: drop number of pthreads to 8 2971 * stress-bad-altstack: add VDSO as a target for the stack, add comments 2972 too 2973 * stress-pipeherd: fix where empty line is located 2974 * syscalls.txt: update nanosleep syscall 2975 * stress-nanosleep: add new nanosleep stressor 2976 * stress-sysinfo: exercise system calls with invalid path and fd 2977 * exercise kernel a little more to improve kernel coverage 2978 * stress-nice: ensure setpriority is called only if we have this system 2979 call 2980 * stress-kcmp: exercise some invalid kcmp calls 2981 * stress-dev: refactorization: use stress_hash_pjw 2982 * stress-personality: exercise invalid personalities 2983 * snap: remove deprecated version-script from snapcraft 2984 2985 -- Colin King <colin.king@canonical.com> Tue, 21 Jul 2020 19:32:11 +0100 2986 2987stress-ng (0.11.15-1) unstable; urgency=medium 2988 2989 [bybug] 2990 * stress-sysinval: fix build failure for getresuid32 2991 2992 [Christopher Brown] 2993 * README: Fix some requirement names for RHEL/Centos/Fedora 2994 2995 [Piyush Goyal] 2996 * syscalls.txt: Corrected typo in the name of getcwd syscall 2997 * stress-get: Added check for equality of return value and pointer 2998 passed in getcwd syscall 2999 * stress-get: Added tests exercising getpriority calls using illegal 3000 arguments 3001 * stress-get: Added tests exercising gettimeofday system calls using 3002 syscall() 3003 * stress-get: exercise gettimeofday syscall by passing a pointer to 3004 timezone 3005 * stress-get: handle ENOSYS from shim wrappers as no fatal, remove verify 3006 check 3007 * stress-get: Added tests exercising time system calls using syscall() 3008 * stress-get: exercise time syscall by passing a pointer to time_t 3009 * stress-nice: exercise illegal maximum priority to get more kernel 3010 test coverage (1) 3011 * stress-nice: exercise illegal maximum priority to get more kernel 3012 test coverage (2) 3013 3014 [Colin Ian King ] 3015 * Makefile: bump version 3016 * Makefile: only build Makefile.config with one thread 3017 * Makefile.config: remove duplicate Android binder checks 3018 * stress-zero: remove duplicated assignment to ptr64 3019 * stress-rlimit: rename array stack to avoid shadowing 3020 * stress-ioport: clean up shadowing of variable ret 3021 * stress-getrandom: reduce scope of variable ret 3022 * core-shim: voidify inc argument to shim_nice 3023 * core-shim: handle nice not being available 3024 * core-limit: ensire max_fd is initialized 3025 * stress-sockfd: silently ignore ETOOMANYREFS failures 3026 * stress-vm-addr: make helper function reverse64 inlined 3027 * stress-vforkmany: fix typo in comment, add notes about dirty hack 3028 * stress-memthrash: add memmove option to copy data 3029 * stress-seek: exercise invalid lseek system calls 3030 * stress-rlimit: fix segv caused by passing a NULL context and exercise all 3031 rlimit resource ids 3032 * test/test-timer-create: memset sev to set all fields to zero 3033 * Makefile.config: remove need for HAVE_NOT, and add MAKE_OPTS 3034 * Manual: update names of contributors 3035 * stress-fstat/manual: replace inaccurate language 3036 * stress-fcntl: exercise fcntl with some invalid arguments 3037 * stress-timerfd: don't set timers or exercise timers with an invalid fd 3038 * stress-timerfd: fix typo in timerfd error message and also print bad fd 3039 * README: add libatomic1 requirement 3040 * Add requirement for libatomic1 for atomic builds 3041 * Makefile: drop duplicated lib variables, they are picked up in 3042 Makefile.config 3043 * Makefile*: use -pthread instead of -lpthread 3044 * stress-enosys: ignore sigsuspend, it will stop the child 3045 * stress-enosys: set itimer before every type of system call 3046 * stress-enosys: cater for 32 bit compat sigsuspend syscall 3047 * stress-enosys: exit after a system call if process has forked 3048 * stress-fnctl: fix broken build, I pushed the wrong development change 3049 * stress-fanotify: remove trailing tab 3050 * stress-fanotify: exercise fanotify_init with invalid flags 3051 * stress-oom-pipe: optimize buffer writes, set buffer up once 3052 * stress-netlink-proc: remove empty line 3053 * stress-mq: remove some more white spaces and empty lines 3054 * stress-mq: remove blank line 3055 * stress-mlock: fix typo in comment "bogos" -> "bogus" 3056 * stress-mincore: munmap mapped page on ENOSYS error from mincore 3057 * stress-memfd: fix typo "uffer" -> "buffer" 3058 * stress-mcontend: unmap data[0] if data[1] fails to allocate 3059 * stress-mcontend: fix data[0] mmap failure 3060 * stress-kill: kill pid with signal -1 to force -EINVAL error 3061 * stress-ng: remove line feed before ) 3062 * stress-zlib: add a lfsr32 zlib option to generate 2^32-1 unique values 3063 * stress-zero: make buffer 64 bit aligned and optimize zero check 3064 * stress-zombie: remove zombie child overheads to increase zombie loading 3065 * core-shim: add shim to nice() system call 3066 * stress-tsc: remove x86 only notes to tsc option 3067 * stress-tsc: add rdcycle support for RISC-V 3068 * stress-enosys: bump compiler version requirement 3069 * stress-enosys: add legacy int 0x80 method of calling system calls 3070 * stress-urandom: exercise an invalid ioctl to get more kernel coverage 3071 * stress-getrandom: move bogo-op counter to inner loop 3072 * stress-getrandom: exercise GRND_RANDOM and GRND_NONBLOCK 3073 * stress-zero: include a range of /dev/zero mmap'ing flags to exercise 3074 * stress-ioport: exercise /dev/port if it can be opened 3075 * stress-sysinval: add mmap_pgoff system call 3076 * stress-memcpy: remove __ prefix, rename with test_ instead 3077 * stress-wcstr: remove __ prefix, rename with test_ instead 3078 * stress-str: remove __ prefix, rename with test_ instead 3079 * core-mwc: rename __mwc to mwc, there is no need for __ prefix 3080 * stress-clock: 'randomize' delays to mix in more unpredictability 3081 * stress-madvise: constify variable sz 3082 * Makefile: clean up POSIX suffix rule warning 3083 * README: fix typo 3084 * stress-ng: add --max-fd soft limit on file descriptors 3085 * Add note about libattr. 3086 * stress-ng.h: define _LINUX_SYSINFO_H only when using gcc with non-glibc 3087 libc (such as musl) 3088 * stress-ng.h: suppress kernel sysinfo.h 3089 3090 -- Colin King <colin.king@canonical.com> Fri, 10 Jul 2020 13:53:34 +0100 3091 3092stress-ng (0.11.14-1) unstable; urgency=medium 3093 3094 [Rob Colclaser III] 3095 * stress-membarrier: return EXIT_NOT_IMPLEMENTED ifi 3096 MEMBARRIER_CMD_SHARED is not set 3097 3098 [Colin Ian King] 3099 * Makefile: bump version 3100 * Manual: update date 3101 * stress-ng: add translation of 2 missing exit types to string 3102 * stress-ng: prefix local functions with stress_ to avoid name 3103 clashing 3104 * stress-bigheap: add in missing new line between declaration 3105 and statement 3106 * stress-*, core-*: remove some extraneous spaces 3107 * tests/test-user-desc: memset u_info object to clear up cppcheck 3108 warning 3109 * tests/test-serial-struct: memset serial object to clear up 3110 cppcheck warning 3111 * stress-sockabuse: remove duplicated EPIPE error check 3112 * stress-pthread: voidify return in ret, clean up a cppcheck style 3113 warning 3114 * stress-hdd: clean up another cppcheck style warning: 3115 * stress-hdd: clean up cppcheck style warning 3116 * stress-fcntl: fix incorrect location of braces { } in #if defs 3117 * README: add notes on how to build with musl C library 3118 * stress-rawsock: ensure addr argument to recvfrom is struct 3119 sockaddr * 3120 * stress-ng: fix shim_loff_t type, it should be long 3121 * core-shim: use futex call if FUTEX_WAIT is defined 3122 * stress-ramfs: exercise new mount system calls if specific #defines 3123 are defined 3124 * stress-iomix: voidify fd to fix build warnings if it is not used 3125 * stress-efivar: only exercise FS_IOC_*FLAGS if they are defined 3126 * stress-sockpair: improve preemption points 3127 * stress-sockpair: ignore ENOTCONN error on shutdown 3128 * stress-access: voidify bad_fd to workaround build warning on Minix 3129 * stress-xattr: exercise fxattr* with bad fd 3130 * stress-sync-file: exercise sync_file_range with bad fd 3131 * stress-sockfd: exercise sockfd with bad fd 3132 * stress-seek: exercise lseek with bad fd 3133 * stress-lockf: remove empty line 3134 * stress-lockf: exercise lockf with bad fd 3135 * stress-klog: remove whitespace 3136 * stress-iosync: exercise fsyncfs with bad fd 3137 * stress-getdent: exercise getdent* with bad fd 3138 * stress-fstat: exercise fstat with bad fd 3139 * stress-file-flock: exercise flock with bad fd 3140 * stress-file-ioctl: exercise ioctl with bad fd 3141 * stress-fcntl: exercise fcntl with bad fd 3142 * stress-copy-file: remove extraneous space 3143 * stress-close: exercise close with bad fd 3144 * stress-chown: exercise fchown with bad fd 3145 * stress-fallocate: remove whitespace 3146 * stress-chmod: exercise fchmod* with bad fd 3147 * stress-fallocate: exercise fallocate with bad fd 3148 * stress-access: exercise faccessat* with an invalid dir fd 3149 * stress-epoll: exercise epoll_ctl and epoll_wait with bad fd 3150 * core-helper: use the stress_get_bad_fd helper 3151 * core-helper: add stress_get_bad_fd helper (part 2) 3152 * core-helper: add stress_get_bad_fd helper 3153 * stress-close: remove white space pollution 3154 * stress-ng: propagate EXIT_METRICS_UNTRUSTWORTHY to exit status 3155 * stress-sysinfo: get a file system label if FS_IOC_GETFSLABEL 3156 ioctl is available 3157 * stress-close: close random unopened fd to exercise EBADF 3158 * fast-test-all: make it really test *all* stressors 3159 * Add a light weight ADT regression test 3160 * stress-sock: fix build failure on some 32 bit arches 3161 3162 -- Colin King <colin.king@canonical.com> Wed, 17 Jun 2020 14:18:22 +0100 3163 3164stress-ng (0.11.13-1) unstable; urgency=medium 3165 3166 [Arjan van de Ven] 3167 * Use "arch=skylake-avx512" instead of "avx512f" in the TARGET_CLONES list 3168 3169 [Chunyu Hu] 3170 * core-sched: init shim_sched_attr with zero 3171 3172 [Thadeu Lima de Souza Cascardo] 3173 * stress-sysinval: fix build failure on 32-bit systems 3174 * stress-sysbadaddr: fix build when HAVE_GETHOSTNAME is not defined 3175 * stress-enosys: add some missing syscalls 3176 * stress-enosys: negate errno 3177 * stress-enosys: prevent segfault when doing syscall_find 3178 * stress-rawudp: fix bind sockaddr 3179 3180 [Colin Ian King] 3181 * Makefile: bump version 3182 * Makefile: add code of conduct text file to make dist rule 3183 * stress-sysinval: disable for GNU/HURD 3184 * tests/control: disable tests as these are causing testing issues, 3185 a better test mechanism is required (Closes: #962620) 3186 * stress-dup: force invalid dups by using large fd 3187 * stress-sysinval: fix a cut-n-paste error with delete_module 3188 * fast-test-all: add checks for all the missing exit status values 3189 * Add a new exit status EXIT_METRICS_UNTRUSTWORTHY 3190 * stress-ng: fix typo "read" -> "ready" 3191 * stress-chdir: exercise chdir to a directory that does not allow 3192 access 3193 * stress-sysinval: add MISC args allowing finer system call argument 3194 passing 3195 * stress-prctl: exercise prctl interface with some invalid arguments 3196 * stress-sysinval: double check run time timeout 3197 * stress-ng: rename "metrics check" to "metrics-check" 3198 * stress-*: make child processes call sched_settings_apply 3199 * core-sched: add new sched settings helper sched_settings_apply 3200 * stress-ng: check and set sched DEADLINE settings if SCHED_DEADLINE 3201 is defined 3202 * stress-sysinval: disable OS X builds as syscall() has been deprecated 3203 * stress-sysinval: prefix syscall_arg* with stress_ to avoid OS X name 3204 clashing 3205 * core-out-of-memory: use waitpid rather than the shim delay'd wait 3206 wrapper 3207 * stress-sysinval: remove linux only check; it builds now on all 3208 supported platforms 3209 * stress-sysinval: cast pointers to void * for madvise call 3210 * stress-sysinval: remove the xattr checks, they are not required 3211 * stress-sysinval: only build tests syscall.h syscall() is available 3212 * stress-vm-rw: fix up unexpected read size error message 3213 * stress-mq: don't report EINTR errors as fatal issues 3214 * stress-aio: silently ignore ENOSPC write failures 3215 * stress-enosys: force child to be killed and reap 3216 * stress-{iomix,fiemap}: fix copying of args struct 3217 * Add a code of conduct document 3218 * stress-stream: make short duration message clearer 3219 * kernel-coverage: run sysinval stressor for 3 minutes on all cpus 3220 * stress-sysinval: improve syscall timeout metrics 3221 * stress-sysinval: add run-time sanity check for zero system calls 3222 being detected 3223 * stress-sysinval: shuffle system call order 50% of the time 3224 * stress-sysinval: add illegal access mode flags 3225 * stress-netlink-task: clean up build warning on 32 builds with 3226 gcc 4.6.3 3227 * stress-nelink-proc: clean up build warning on 32 builds with 3228 gcc 4.6.3 3229 * stress-netlink-proc: remove space between macro and open parenthesis 3230 * stress-urandom: fix some grammar mistakes in comments 3231 * stress-sysinval: remove incorrect comment about size of structure 3232 * Manual: add Thadeu to the list of contributors 3233 * stress-access: add Linux 5.8 faccessat2 system call 3234 * stress-sysinval: make the syscall stats more descriptive 3235 * stress-sysinval: allo some read/stat actions on filenames 3236 * stress-sysinval: add ARG_PTR_WR - writeable destination arguments 3237 * stress-inval: use a valid file descriptor for ARG_FD 3238 * stress-sockpair: remove double oom detection, we're using the 3239 oomable API already 3240 * stress-sysinval: don't call sigreturn, this spams the kernel log 3241 * stress-sysinval: force child to be killed and reap 3242 * stress-sysinval: make syscall stats debug level 3243 * stress-sysinval: add some more missing system calls 3244 * stress-sock: save and report the correct errno status 3245 * stress-sock*: handle EPIPE gracefully 3246 * kernel-coverage: add swap to fast seq tests 3247 * Make sysinval stressor Linux only for now 3248 * stress-sysinval: use alternative system call naming 3249 * stress-sysinval: don't modulo by zero if reorder size is 0 3250 * stress-sysinval: unmap page if mprotect PROT_NONE is not available 3251 * stress-stackmmap: only mprotect stack ends if mprotect is available 3252 * stress-sysinval: clean up some 32 bit build warnings 3253 * Add sysinval invalid system call stress test 3254 * Add autoconfig detection and workaround for daddr_t 3255 * syscalls: add process_madvise to syscalls 3256 3257 -- Colin King <colin.king@canonical.com> Wed, 10 Jun 2020 23:55:23 +0100 3258 3259stress-ng (0.11.12-1) unstable; urgency=medium 3260 3261 * Makefile: bump minor version 3262 * Setup the checksum before forking off child stressor (LP: #1880840) 3263 - fixes null checksum if child is killed before the stressor 3264 function gets invoked. 3265 3266 -- Colin King <colin.king@canonical.com> Wed, 27 May 2020 09:53:11 +0100 3267 3268stress-ng (0.11.11-1) unstable; urgency=medium 3269 3270 * Makefile: bump version 3271 * Makefile: remove config from make dist rule 3272 * stress-stackmmap: make ends of stack inaccessible to stop clobbering 3273 non-stack regions 3274 * stress-dev: disable TIOCGETD for the moment as it causes some hang 3275 issues 3276 * stress-context: always swap context back to main microthread on 3277 termination 3278 * stress-sock: voidify fd arg to clean up build warning on Solaris 3279 * Add run-time autoconfig check for struct ifconf 3280 * stress-sem-sysv: test illegal semtimedop only if it is exists 3281 * stress-sem-sysv: workaround kfreebsd8 EINVAL on semtimedop 3282 * stress-sem-sysv: don't use semtimedop if it returns -ENOSYS 3283 * stress-sem-sysv: only exercise SEM_STAT on linux 3284 * stress-ng: fetch yaml filename before running stress tests 3285 * Makefile: rm -f the makefile on clean 3286 * stress-ng: Don't track config or show in diff 3287 * Makefile: remove the need for an empty config file 3288 * stress-ng: fix long form if -x option, use "exclude" instead of "list" 3289 * stress-ng: README: update libsctp name for RHEL, fedora, related 3290 distros 3291 * stress-memthrash: silently ignore ESRCH pthread_join failures 3292 * stress-madvise: voidify pthread_join return, we don't care about it 3293 * stress-inode-flags: voidify pthread_join return, we don't care 3294 about it 3295 * stress-dev: voidify pthread_join return, we don't care about it 3296 * shim_waitpid: allow a few retries before throttling retry 3297 * kernel-coverage.sh: move the quick spin through stressors to the end 3298 of the test 3299 * Fix --seq mode checksum with multiple stressors and sanity checking 3300 * stress-vm: fix bit error checking when bogo-ops limits reached 3301 * core-ftrace: fix removed filename setting statement 3302 * core-ftrace: remove setting of set_event_pid and refactor code 3303 * core-out-of-memory: return EXIT_SUCCESS on --oomable 3304 option (LP: #1879782) 3305 * stress-get: fix #ifdef check on getpagesize 3306 * core-out-of-memory: return EXIT_NO_RESOUCE on --oomable 3307 option (LP: #1879696) 3308 * core-shim: add delay before re-waiting 3309 * stress-dev: add block device lseeks and force return to be stashed 3310 * Add memory barriers an ready flag to check if counter is in a sane 3311 state 3312 * core-shim: rework waitpid again, terminate child on EINTR (LP: #1879447) 3313 * stress-dev: remove sleep and return EXIT_SUCCESS on child exit 3314 * stress-ng: add checksum sanity check on bogo ops stats and run flag 3315 * stress-mq: add SIGEV_SIGNAL events to exercise kernel 3316 * stress-shm-sysv: exercise shmctl and shmdt race on child exit 3317 * stress-shm-sysv: exercise NUMA mempolicy on shm 3318 * stress-sem-sysv: exercise some invalid options to get more kernel 3319 coverage 3320 * stress-sock: add a few more ioctls to exercise 3321 * syscalls: update preadv/preadv2 and pwritev entries 3322 * stress-hdd: use preadv, preadv2, pwritev, pwritev2 3323 3324 -- Colin King <colin.king@canonical.com> Tue, 26 May 2020 15:46:23 +0100 3325 3326stress-ng (0.11.10-1) unstable; urgency=medium 3327 3328 * Makefile: bump minor version 3329 * Debian: remove compat, use debhelper-compat in Build-Depends 3330 * core-ftrace + manual: update caveat about ftrace stats 3331 * stress-pty: fix incorrect placing of #endif's 3332 * core-ftrace: warn when --ftrace is used on systems that don't 3333 support it 3334 * core-ftrace: voidify unused argument in stress_ftrace_add_pid 3335 * kernel-coverage: add ftrace and class exercising 3336 * core-ftrace: move OPT_FLAGS_FTRACE check to core-ftrace 3337 * core-ftrace: try to filter by parent and child process IDs 3338 * core-ftrace: add caveat about tracing stats captured 3339 * core-ftrace: fix some resource free'ing issues 3340 * stress-efi-var: optimize check for . files 3341 * stress-efivar: remove free of efi_dentries 3342 * stress-chdir: ensure all fd's and filenames are invalid before 3343 testing 3344 * Add --ftrace option to get some kernel function tracing metrics 3345 * stress-pty: exercise tcdrain, tcflush, tcflow and tcgetattr 3346 * stress-vm: use mwc64() for random numbers rather than random() 3347 * stresss-vdso: add missing line 3348 * stress-pipe: fix build failure on non-Linux platforms on pr_fail 3349 * Replace pr_fail_err with pr_fail to allow more flexible error 3350 messages 3351 * Remove pr_fail_dbg and replace with pr_fail 3352 * Remove pr_fail_args_errno and pr_fail_errno 3353 * core-helper: remove directory if an error occurs on mkdir 3354 3355 -- Colin King <colin.king@canonical.com> Fri, 15 May 2020 14:10:41 +0100 3356 3357stress-ng (0.11.09-1) unstable; urgency=medium 3358 3359 * Makefile: bump version 3360 * stress-mmap: use a mmap_func_t prototype to simplify function pointers 3361 * stress-pidfd: reduce scope of buffer 3362 * stress-mmap: cast return from syscall to void * 3363 * stress-mmap: fix typo on off_t type name 3364 * syscalls.txt: update information on reboot system call 3365 * stress-xattr: add lremovexattr for more kernel coverage 3366 * stress-set: exercise setdomainname 3367 * syscalls: update mmap2 usage 3368 * stress-mmap: add --mmap-mmap2 to try to use mmap2 if it is available 3369 * syscalls: update riscv_flush_icache status 3370 * core-shim: remove flags, this was in an older API and I forgot to 3371 remove it 3372 * stress-pthread: add call to set_thread_area for x86 only 3373 * stress-pthread: add call to get_thread_area for x86 only 3374 * stress-icache: add RISC-V to the allowed arches that can run this 3375 stressor 3376 * core-shim: use system call to __NR_riscv_flush_icache 3377 * core-shim: add missing ; on risc-v flush 3378 * Rename shim_clear_cache to shim_flush_icache, add RISC-V support 3379 * stress-daemon: add shim wrapper for exit_group and call it on child 3380 exit 3381 * stress-pidfd: try to exercise pidfd_getfd if it exists 3382 * stress-pidfd: add pidfd_open shim and exercise it on opening pid fds 3383 * syscalls: add missing syscalls to syscalls list 3384 * stress-clock: exercise clock_adjtime by adjusting clock by zero 3385 seconds 3386 * syscalls: update io_cancel 3387 * stress-aio-linux: add aio_cancel and ignore failures 3388 * stress-zlib: optimize BCD conversion and extend range of source random 3389 value 3390 * stress-zlib: wrap some overly long function declarations 3391 * stress-rawpkt: use strlcpy instead of strcpy 3392 * stress-procfs: use strlcpy instead of strcpy 3393 * stress-access: fchmod should be S_IRUSR | S_IWUSR and not 0666 3394 * stress-dev: add HPET_IRQFREQ ioctl 3395 * core-thrash: remove ptrace as this can cause lockups 3396 * stress-hdd: add medium write lifetime hint if it is available 3397 * stress-rawpkt: perform SIOCINQ every 256 packets and clean up code 3398 * stress-rawpkt: ensure mac address is being used for mac src and dst 3399 addresses 3400 * stress-rawpkg: exercise SIOCOUTQ and SIOCINQ ioctls 3401 * stress-physpage: report incorrect read sizes correctly 3402 * Revert "Add STRESS_RISC_V arch macro and don't yield on this arch" 3403 * Revert "core-shim: disable native nanosleep for risc-v" 3404 * stress-rawpkt: move stress-rawpkt_getsockopts to correct #ifdef section 3405 * stress-rawpkt: remove include <linux/if_packet.h> 3406 * stress-rawsock: occasionally exercise SIOCINQ and SIOCOUTQ ioctls 3407 * Manual: remove trailing space 3408 * core-ignite-cpu: remove an empty line 3409 * core: constify some variables 3410 * stress-ng: constify some variables 3411 * core-perf: disable TLB perf metric 3412 * core-shim: simplify the waitpid logic 3413 * core-shim: break out of shim_wait on non EINTR error 3414 * stress-sock: remove empty line 3415 * stress-rawpkt: remove some white spaces 3416 * stress-rawpkt: add getsockopt relevant settings fetches 3417 * stress-rawudp: remove debug raw messages received counter 3418 * stress-rawudp: fix clang-10 pedantic warning on const addr 3419 * Add rawpkt stressor to exercise raw packet tx and rx over loopback 3420 device 3421 * stress-rawudp: close socket on error return 3422 * core-helper: add some optimization hints to stress_ip_checksum 3423 * stress-rawudp: re-organize code to remove repeated data structure 3424 setting 3425 * stress-rawudp: fix option help info, fix spelling mistake 3426 * stress-ng: set the stressor name as early as possible 3427 * Add rawudp stressor to exercise raw UDP packet tx and rx 3428 * core-cache: clean up gcc-10 -fanalyzer warning 3429 3430 -- Colin King <colin.king@canonical.com> Thu, 7 May 2020 12:33:53 +0100 3431 3432stress-ng (0.11.08-1) unstable; urgency=medium 3433 3434 * Makefile: bump version 3435 * Manual: update date 3436 * stress-sysbaddaddr: reduce scope of variable ret 3437 * core-sched: print uint64_t using PRIu64 format specifiers 3438 * stress-sysbadaddr: don't abort if write/exec mappings can't be made 3439 * stress-sysbaddaddr: use shim'd memfd_create 3440 * stress-pkey: only use PKEY_DISABLE_WRITE if it is defined 3441 * stress-filename: add more yield point checks to abort faster 3442 * core-shim: don't retry EINTR on termination flag (LP:# 1874367) 3443 * core-shim: expand comments on the posix clock comments 3444 * core-sched: move declaration of prefix to avoid build warnings 3445 * stress-fanotify: reorder FAN masks to alphabetical order 3446 * core-shim: wrap the posix clock calls to use system call 3447 * stress-sysbadaddr: add memfd_create system call 3448 * stress-pkey: exercise an invalid pkey_free call 3449 * stress-sysbadaddr: add some more mapped page protection variations 3450 * stress-remap-file-pages: exercise invalid remappings 3451 * stress-mlock: use MCL_ONFAULT option correctly 3452 * stress-mincore: exercise pages that are known to be mapped and 3453 unmapped 3454 * helper: make stress_warn_once simpler to use and remove flags 3455 * stress-sockabuse: remove tabs from empty line 3456 * stress-sync-file: remove shadowed variable ret 3457 * stress-wait: skip over sanity check of returned zero pid 3458 * Fix more supported helpers that are missing new name parameter 3459 * stress-apparmor: supported helper that s missing new name parameter 3460 * stress-sockfd: make bind failure on EADDRINUSE a resource issue 3461 * stress-sockfd: use SO_REUSEADDR to avoid bind failures 3462 * Handle ENOSPC mkdir failures as a resource allocation termination 3463 * stress-ioprio: don't terminate if we run out of resources 3464 * stress-chdir: use mkdir_ok array to track mkdir paths that are OK 3465 * stress-mq: ignore timeouts on timed message sends 3466 * stress-sockabuse: don't make connect failures terminal 3467 * stress-chdir: don't abort all the temporary directories can't be 3468 setup 3469 * stress-link: silently ignore out of resource limit failures 3470 * stress-key: skip over some expected non-fatal errors that should 3471 not abort the stressor 3472 * stress-chdir: make ENOSPC on setup a resource failure termination 3473 * stress-key: silently ignore ENOKEY 3474 * stress-key: skip over some expected non-fatal errors that should 3475 not abort the stressor 3476 * core-shim: re-try on EINTR a little more if they keep on occurring 3477 * stress-sockfd: use incrementing ports per stressor 3478 * stress-sockabuse: ensure correct errno value is reported on a 3479 connect failure 3480 * stress-sync-file: don't fail on ENOSPC, instead retry 3481 * stress-seal: don't fail on EBUSY on a F_SEAL_WRITE add fcntl 3482 * stress-lease: don't fail on EAGAIN error from fcntl 3483 * stress-ioprio: don't terminate if we run out of resources 3484 * stress-dnotify: don't terminate if we run out of resources 3485 * stress-inotify: also ignore test file write failures on ENOSPC 3486 * stress-inotify: don't terminate if we run out of resources 3487 * stress-seek: handle ENOSPC errors on write 3488 * stress-fiemap: make ENOSPC on writes non-fatal 3489 * Add SIGABRT stressor. Exercise SIGABRT sending via raise() and 3490 abort() 3491 * stress-zero: fully check if data from /dev/zero is zero 3492 * stress-epoll: retry on low resources causing system call failures 3493 * Fix one more arch specific supported helpers that is missing the 3494 new name parameter 3495 * Fix some arch specific supported helpers that are missing new name 3496 parameter 3497 * Pass the name of the stressor into the supported() handler 3498 * core-sched: prefix all messages with "sched: " rather than nothing 3499 or __func__ names 3500 * core-sched: remove some capitalization 3501 * core-sched: add spacing in messages, make the dbg only 3502 * stress-close: don't assume max_delay_us is non-zero 3503 * xattr: add removexattr system call 3504 * stress-session: randomly select the wait call if wait4 is available 3505 * stress-ng: remove unused sched_deadline_init 3506 * syscalls: add wait3 and wait4 3507 * stress-wait: use wait3 if it is available 3508 * Add wait3 system call detection and shim wrapper 3509 * Add P_PIDFD #define for older linux/wait.h that don't yet define it 3510 * core-shim: add new process_madvise() shim 3511 * stress-chmod: use strlcpy instead of strcpy as it's safer 3512 * stress-session: cast pid to int to print it portably 3513 * stress-chmod: make dfd open optional if O_DIRECTORY is not supported 3514 * stress-wait: add wait4 call if it is available 3515 * stress-session: use wait4 if it is available 3516 * stress-chmod: fix BSD EFTYPE error failure 3517 * stress-session: add stressor to set and get session ids 3518 * core-sched: fix build errors with missing stress_set_deadline_sched 3519 on GNU/HURD 3520 * core-sched: fix unused parameter and unused variable warnings 3521 * manual: update contributors information 3522 * manual: fix some missing .TP commands and minor spelling clean up 3523 * stress-ng: add sched-reclaim option for deadline scheduler 3524 * stress-ng: support sched deadline 3525 * core-shim: disable native nanosleep for risc-v 3526 * Add STRESS_RISC_V arch macro and don't yield on this arch 3527 * Makefile: ensure spaces are removed before perf macros 3528 * stress-urandom: add select and read on blockable opened /dev/random 3529 * Replace white space with tabs before statements 3530 * Rename helpers, remove __ suffix and prefixes 3531 * stress-procfs: clean up name shadowing by renaming ptr to bptr 3532 * Use stress_dirent_list_free to free dirent lists 3533 * core-helper: add stress_dirent_list_free helper 3534 * stress-sysfs: process non-directory files before handling directories 3535 * stress-procfs: process non-directory files before handling directories 3536 * stress-procfs: only format path when required 3537 * syscalls.txt: update recvmmsg to note it is being exercised by sock 3538 stressor 3539 * stress-fanotify: remove some white spaces and empty lines 3540 * stress-resources: open non-existent files to expand dcache false 3541 hits 3542 * syscalls.txt: Update, add faccessat, fchmodat and fchownat 3543 * stress-chmod: Add fchmodat check and add it to chmod testing 3544 * stress-clock: add CLOCK_TAI 3545 * stress-clone: add CLONE_NEWTIME 3546 * stress-procfs: exercise known buggy seek and read issues 3547 * stress-procfs: add process /proc exercising 3548 * stress-numa: cater for systems where numa system calls are not 3549 provided 3550 * stress-netlink-proc: cater for connection refused on writev 3551 * stress-fanotify: add more fanotify support sanity checks 3552 * stress-kcmp: treat ENOSYS as a non-fatal error return from kcmp 3553 * stress-reboot: remove some blank lines 3554 * test/test-pthread-attr-setstack.c: make stack static 3555 * stress-fanotify: add FAN_DIR_MODIFY 3556 3557 -- Colin King <colin.king@canonical.com> Thu, 23 Apr 2020 19:44:12 +0100 3558 3559stress-ng (0.11.07-1) unstable; urgency=medium 3560 3561 * Address multiple issues found with pedantic static analysis (LP: #1870193) 3562 - enabled higher static analysis settings and found and fixed 3563 a lot of bugs.. 3564 * Makefile: bump version 3565 * Manual: fix lintian warning on undefined macro 3566 * stress-zlib: fix clang warning of array subscripted by char 3567 * core-helper: make end-of-string assignment easier to comprehend 3568 * stress-reboot: use heap for clone stack, cleans up static analysis warning 3569 * core-cache: clean up pedantic warnings from static analysis 3570 * stress-af-alg: fix several memory leaks 3571 * stress-tun: fix close issues on sfd 3572 * stress-xattr: be overly pedantic and memset array tmp 3573 * stress-urandom: fix fd leak on fd_rnd_wr 3574 * stress-sysbadaddr: fix incorrect 2nd parameter to utimes call 3575 * stress-sockmany: fix fd leak, close file descriptor on error 3576 * stress-sockabuse: ensure addrlen is set to the length of addr 3577 * stress-sockabuse: close fd even when it is zero 3578 * stress-sockabuse: avoid closing unopened fd on error 3579 * stress-sock: ensure socklen setting is set before calling getsockopt 3580 * stress-sigfd: voidify return of read, we don't care if it fails 3581 * stress-sigfd: fix open error check 3582 * stress-shm: use shim helper and ignore error return 3583 * stress-ramfs: fix close of a -ve file descriptor 3584 * stress-pipeherd: remove redundant variable n 3585 * stress-mq: don't check values[prio] if prio is out of range 3586 * stress-memhotplug: fix leak of opendir descriptor 3587 * stress-judy: check allocated pvalue is not-null 3588 * stress-eventfd: fix incorrect open failure check 3589 * stress-cpu: gcd: fix potential multiply overflow 3590 * stress-cpu: ensure i64 is stashed in stress_cpu_intconversion 3591 * stress-clock: be extra pedantic and set and check timer_id values 3592 * stress-chattr: handle open failure correctly 3593 * stress-binderfs: fix failure error return path 3594 * stress-af-alg: fix incorrect size of buffer to randomize 3595 * core-helper: don't call ttyname a second time, use name instead 3596 * core-helper: ensure data is null terminated 3597 * core-cache: nullify a free'd cpus pointer before returning 3598 * stress-cpu: add missing Apéry constant cpu method 3599 * stress-zlib: add missing morse code generated text 3600 3601 -- Colin King <colin.king@canonical.com> Wed, 1 Apr 2020 18:23:41 +0100 3602 3603stress-ng (0.11.06-1) unstable; urgency=medium 3604 3605 * Makefile: bump version 3606 * stress-dev: remove TIOCGETC and TIOCSETC ioctl to fix FTBFS on alpha 3607 - this is the 2nd attempt to fix this issue, this time I'm removing 3608 the use these specific ioctl commands. 3609 3610 -- Colin King <colin.king@canonical.com> Mon, 30 Mar 2020 09:46:35 +0100 3611 3612stress-ng (0.11.05-1) unstable; urgency=medium 3613 3614 * Makefile: bump version 3615 * stress-dev: define a shim for struct tchar, fixes a FTBFS 3616 on arch alpha 3617 3618 -- Colin King <colin.king@canonical.com> Sun, 29 Mar 2020 17:34:14 +0100 3619 3620stress-ng (0.11.04-1) unstable; urgency=medium 3621 3622 * Makefile: bump version 3623 * stress-sockabuse: reduce scope of variable sfd 3624 * stress-reboot: reduce scope of another ret variable 3625 * stress-reboot: reduce scope of variable ret 3626 * stress-skiplist: make function skip_list_free static 3627 * stress-madvise: relax constness of buf pointer 3628 * stress-reboot: don't pass args to clone, it is not required 3629 * stress-reboot: remove shadowed variable ret 3630 * stress-sysbaddr: add guard on bad_getdomainname and comment 3631 out bad_acct 3632 * stress-sysbadaddr: disable acct for the moment. 3633 * stress-sysbadaddr: limit clone to just linux for the moment 3634 * stress-sysbadaddr: pass incremented addresses to avoid restrict 3635 warnings 3636 * stress-sysinfo: cast void * to the appropriate arg types on system 3637 calls 3638 * stress-reboot: add and use SHIM_CAP_SYS_BOOT 3639 * stress-reboot: move help so it's always built in 3640 * Add a reboot stressor. This does not actually reboot a system. 3641 * stress-sigfd: exercise the fd info of the signalfd 3642 * stress-fcntl: pass uids array to fcntl for F_GETOWNER_UIDS cmd 3643 * stress-sysbadaddr: remove create, it can leave broken files in 3644 directory 3645 * stress-sysbadaddr: add in more system calls 3646 * stress-procfs: remove ARM64 workaround as this is now fixed 3647 * README: update stressor stats 3648 * stress-xattr: don't fail to build if HAVE_LGETXATTR is not defined 3649 * stress-xattr: don't fail to build if HAVE_LSETXATTR is not defined 3650 * stress-xattr: don't fail to build if HAVE_LLISTXATTR is not defined 3651 * core-shim: fix typo on LLISTXATTR detection 3652 * Add shims to xattr system calls 3653 * stress-pipeherd: fix typo in switch rate info 3654 * stress-sockabuse: remove xattr from OS X builds 3655 * stress-dev: add TCOOFF, TCOON, TCIOFF, TCION ioctls 3656 * stress-dev: add TIOCGETC and TIOCSETC ioctls 3657 * stress-rtc: exercise RTC_SET_TIME, RTC_IRQP_SET and RTC_VL_READ 3658 ioctls 3659 * stress-ustat: silently ignore bad ustat buf 3660 * stress-sockabuse: don't memset timespec if we don't have 3661 HAVE_FUTIMENS 3662 * stress-sockabuse: silently ignore EADDRINUSE error when binding 3663 * stress-sockabuse: use different port for each instance 3664 * stress-sockabuse: use DEFAULT_SOCKABUSE_PORT as the default post 3665 * stress-ng.h: update a couple of socket port definitions 3666 * core-shim: cast shim'd ustat arg to void * 3667 * stress-sockabuse: localize variable n to FIONREAD ioctl code block 3668 * core-shim: fix missing ; on shim_enosys call 3669 * Add a skiplist stressor 3670 * Add socket file descriptor abusing stressor 3671 * stress-madvise: exercise madvise on mappings in threads where 3672 possible 3673 * stress-cpu: remove tab 3674 * syscalls.txt: remove stray ' char 3675 * Add a shim for deprecated system call ustat 3676 * stress-eventfd: exercise /proc/self/fdinfo on the eventfd 3677 descriptors 3678 * stress-chattr: fix build failure for non-Linux platforms 3679 * Add chattr file attribute stressor 3680 * stress-dentry: pressurize the dentry cache with negative dentries 3681 3682 -- Colin King <colin.king@canonical.com> Sat, 28 Mar 2020 22:36:12 +0000 3683 3684stress-ng (0.11.03-1) unstable; urgency=medium 3685 3686 * Makefile: bump version 3687 * core-try-open: break up assignment and check into two statements 3688 * stress-softlockup: reduce scope of old_nice_val 3689 * stress-softlockup: remove redundant assignment to old_nice_val 3690 * stress-cpu: workaround a cppcheck warning 3691 * stress-cpu: replace pointer casting with union type 3692 * stress-cpu: exercise struct element u32 3693 * stress-cpu: fix incorrect assignment 3694 * stress-cpu: fix type on assignment of i64 3695 * stress-cpu: reduce scope of some integer variables in a for-loop 3696 * stress-cpu: reduce scope of variables in a for-loop 3697 * stress-binderfs: move declaration of variable i into #if block 3698 * stress-binderfs: move label close_control to clear up warning 3699 * stress-binderfs: reduce scope of ret and t2 variables 3700 * stress-netlink-task.c: ensure pointer is const 3701 * stress-pthread: add build time check for pthread_attr_setstack 3702 * stress-pthread: define PTHREAD_STACK_MIN if it is not defined 3703 * stress-mmapfork: make stress_memory_is_not_zero a conditional build 3704 * snapcraft: add base info and remove need for libxattr1 3705 * Debian: control: remove need for libxattr1 (Closes: #953905) 3706 * stress-ng.h: add more comments 3707 * stress-mmapfork: add madvise MADV_WIPEONFORK sanity check 3708 * stress-dentry: exercise with utime setting 3709 * Add intconversion cpu stressor method 3710 * Fix _ARCH macros not being used because of bad rename 3711 * Add a floatconversion cpu stressor method 3712 * stress-cpu: add long double sqrt to the sqrt stress method 3713 * Remove trailing tabs, minor tidy up 3714 * Remove trailing spaces, minor tidy up 3715 * core-parse-opts: fix a cppcheck warning, cast values to long and 3716 use %ld 3717 * stress-enosys: add x86 syscall calls 3718 * stress-ng.h: clean up some overly long function prototypes 3719 * Rename all get_{int|uint}* helpers to stress_{int|uint}* 3720 * core-parse-opts: add stress_ prefix to ensure helper functions 3721 * core-affinity: add stress_ prefix to helper functions 3722 * core-parse-opts: add stress_ prefix before check_* helper functions 3723 * Rename set_max_limits to stress_set_max_limits 3724 * Rename log_system_mem_info to stress_log_system_mem_info 3725 * stress-sleep: remove alternative stack 3726 * stress-procfs: remove alternative stack 3727 * stress-memthrash: remove unused label 'die' 3728 * stress-sysfs: remove alternative stack 3729 * stress-memthrash: remove alternative stack 3730 * stress-membarrier: remove alternative stack 3731 * stress-mcontend: remove alternative stack 3732 * stress-inode-flags: remove alternative stack 3733 * stress-fstat: remove alternative stack 3734 * stress-pthread: mmap each pthread's stack and improve failure checking 3735 * stress-dev: remove alternative stack 3736 * stress-pthread: remove alternative stack 3737 * core-parse-opts: cast *ptr to int to avoid clang 3.4 warning 3738 * stress-madvise: add FreeBSD madvise options 3739 * stress-mmap: add some FreeBSD mmap options 3740 * core-shim: fix braino on pointer declaration 3741 * core-shim: add unconstify helper for mlock on older sun systems 3742 * Fix PRAGMA_* macros that are missing STRESS_ prefix 3743 * Macros: put all values in ( ) 3744 * Add STRESS_ to PRAGMA macros 3745 * Rename warn_once to stress_warn_once 3746 * Rename align_stack to stress_align_stack 3747 * stress-cpu: remove tabs to keep continutation markers aligned 3748 * Rename MWC_ macros to STRESS_MWC_ 3749 * Rename arch macros, add _ARCH to signify they are architecture specific 3750 settings 3751 * Add SHIM_ prefix to ICACHE and DCACHE macros 3752 * core-time: rename timeval_to_double to stress_timeval_to_double and 3753 un-inline it 3754 * core-setting: stress_ prefix before settings helper functions 3755 * put*: add stress_ prefix before put* helper functions 3756 * mwc: add stress_ prefix before mwc random number helper functions 3757 * jobs: add stress_ prefix before job helper functions 3758 * cache: add stress_ prefix before cache helper functions 3759 * Rename args_t to stress_args_t 3760 * Rename opt_set_func_t to stress_opt_set_func_t 3761 * Rename help_t to stress_help_t 3762 * Rename pthread_args_t to stress_pthread_args_t 3763 * Rename cpus_t to stress_cpus_t 3764 * Rename cpu_t to stress_cpu_t 3765 * Rename cpu_cache_t to stress_cpu_cache_t 3766 * Rename cache_t to stress_cache_t 3767 * Rename scale_t to stress_scale_t 3768 * Rename shared_t to stress_shared_t 3769 * Rename proc_stats_t to stress_proc_stats_t 3770 * Fix typedef / struct type warning on proc_info 3771 * Rename tz_stat_t to stress_tz_stat_t 3772 * Rename tz_info_t to stress_tz_info_t 3773 * Rename proc_info_t to stress_proc_info_t 3774 * Rename mwc_t to stress_mwc_t 3775 * Rename put_val_t to stress_put_val_t 3776 * Rename setting_t to stress_setting_t 3777 * Rename perf_stat_t to stress_perf_stat_t 3778 * Rename class_info_t and class_t 3779 * Rename type_id_t to stress_type_id_t to avoid future name clashes 3780 * stress-mmap: add two OpenBSD mmap options 3781 * voidify return from munmap() 3782 * Rename helper mfence to shim_mfence 3783 * Rename helper shim cflush to shim_cflush 3784 * stress-binderfs: fix typo in non-linux build 3785 * stress-binderfs: add binder file system stressor 3786 * stress-vecmath: use macros to simplify vector initialization 3787 3788 -- Colin King <colin.king@canonical.com> Mon, 16 Mar 2020 16:40:22 +0000 3789 3790stress-ng (0.11.02-1) unstable; urgency=medium 3791 3792 * Makefile: bump version 3793 * core-parse-opts: cater for -ve values 3794 * core-parse-opts: check for non-numeric in numeric args (Closes: #940515) 3795 * Manual: update contributors names 3796 * Fix --random mode 3797 * Allow negative --random for selecting number of online CPUs 3798 * stress-prctl: add PR_SET_IO_FLUSHER PR_GET_IO_FLUSHER prctl commands 3799 * stress-mmapfork: check if parent is OOM'd and force exit on early abort 3800 * stress-mmapfork: force reap on interrupt waiting for pid 3801 * stress-mmapfork: ensure we kill and reap child processes 3802 * stress-mmapfork: reap when no more process slots are free 3803 * stress-mmap: add in more yield points 3804 3805 -- Colin King <colin.king@canonical.com> Tue, 3 Mar 2020 14:50:44 +0000 3806 3807stress-ng (0.11.01-1) unstable; urgency=medium 3808 3809 * Makefile: bump version 3810 * Ensure --aggressive mode terminates early (LP: #1858858) 3811 * stress-ptrace: also check for EACESS errors 3812 * stress-ptrace: add one more EPERM check 3813 * stress-ptrace: make EPERM non-fatal error, modify pr_info messages 3814 * snapcraft: add system-trace, hardware-random-observe interfaces 3815 * stress-ptrace: terminate in with failure if child cannot be ptraced 3816 3817 -- Colin King <colin.king@canonical.com> Mon, 24 Feb 2020 10:48:23 +0000 3818 3819stress-ng (0.11.00-1) unstable; urgency=medium 3820 3821 * Makefile: bump version and change codename 3822 * stress-pipeherd: make sure child terminates with _exit() 3823 * kernel-coverage: add timer-slack timer setting 3824 * Fix --timer-slack correctly, fetch argument and set it 3825 * core-parse-opts: sanity check uint32 and int32 min/max values 3826 * Add environment stressor 3827 * Make several const objects static 3828 * stress-pidfd: voidify return from pause system call 3829 * stress-get: add missing check_do_run exit points after new get* 3830 system calls 3831 * stress-get: exercise a few more get* system calls 3832 * stress-pipeherd: add context switch stats 3833 * Add pipeherd stressor: a stress to simulate a thundering herd of 3834 pipe wakeups 3835 3836 -- Colin King <colin.king@canonical.com> Wed, 12 Feb 2020 14:19:41 +0000 3837 3838stress-ng (0.10.19-1) unstable; urgency=medium 3839 3840 * Makefile: bump version 3841 * stress-mmapaddr: make stress_mmapaddr_child static 3842 * stress-wait: remove duplicated pr_fail message and cast pid_t to 3843 long int 3844 * stress-memrate: rename NANOSEC to STRESS_NANOSEC to avoid clashing 3845 * stress-cyclic: avoid NANOSEC* name classhes, rename to STRESS_NANOSEC 3846 * Fix the MAX_FILE_LIMIT shift, use 1ULL instead of 1UL 3847 * stress-sockfd: attempt to read from the fd passed over the socket 3848 * stress-fork: fix time_now calls to stress_time_now 3849 * stress-clone: move a #if defined that got moved to the wrong place 3850 * set maximum file size based on off_t size 3851 * set maximum memory limit to MAX_48 and maximized limits to MAX_32 3852 * core-sched: prefix typedefs with stress_ 3853 * core-perf: prefix typedefs with stress_ 3854 * core-net: prefix typedefs with stress_ 3855 * core-ignite-cpu: prefix typedefs with stress_ 3856 * core-cache: prefix typedefs with stress_ 3857 * core-cache: prefix typedefs with stress_ 3858 * stress-*: prefix typedefs with stress_ 3859 * stress-pty: allocate the pty structure on the heap, don't use the 3860 stack 3861 * stress-stackmmap: ensure random data is pushed onto the stack 3862 * stress-stack: fill pages with non-zero content to avoid same-page 3863 merges 3864 * stress-spawn: fix up a comment 3865 * stress-wait: add waitid siginfo sanity checks 3866 * stress-wait: fix WIFCONTINUED check because of a typo in the check 3867 * core-helper: map signal number to signal name 3868 * core-shim: fix renaming of time_now to stress_time_now 3869 * core-helper: voidify arg fd in stress_is_dev_tty 3870 * stress-x86syscall: move scope of variable j 3871 * stress-vdso: measure test overhead to compute more accurate results 3872 * stress-x86syscall: measure test overhead to compute more accurate 3873 results 3874 * core-time: prefix helper functions with stress_ 3875 * core-thrash: prefix helper functions with stress_ 3876 * core-thermal-zone: prefix helper functions with stress_ 3877 * core-perf: prefix perf helper functions with stress_ 3878 * core-mount: add stress_ to mount helper functions 3879 * Add stress_ to mmap_set and mmap_check helper functions 3880 * Prefix mincore helper functions with stress_ 3881 * Rename madvise_random to stress_madvise_random 3882 * stress-zlib: scale the logmap value to produce harder to compress 3883 data 3884 * stress-zlib: add chaotic number generator using a logmap method 3885 * replace g_keep_stressing_flag with two helper functions 3886 * stress-memthrash: add byte swapping memory stepping thrasher 3887 * stress-sysfs: add bad sysfs files to hash table 3888 * Makefile: remove need to define __FreeBSD_Kernel__ 3889 * Add more stress_ prefixes to various core functions 3890 * core-ignite-cpu: prefix ignite_* functions with stress_ 3891 * core-cpu: rename cpu_is_x86 to stress_cpu_is_x86 3892 * core-hash: remove need for str pointer 3893 * core-hash: optimize hash adding, reduce need for strdup and a free 3894 * stress-zombie: make max zombies a 32 bit 3895 * stress-clone: make max clones a 32 bit 3896 * stress-chdir: cleanup the chdir(cwd) loop 3897 * stress-memrate: clean up continuation lines 3898 * Rename set_oom_adjustment -> stress_set_oom_adjustment 3899 * Add stress_oomable_child helper to catch and restart OOM'd child 3900 processes 3901 * stress-chdir: use flags rather than #ifdef around the open call 3902 * core-hash: move various string hashing functions to core-hash 3903 3904 -- Colin King <colin.king@canonical.com> Fri, 7 Feb 2020 14:37:11 +0000 3905 3906stress-ng (0.10.18-1) unstable; urgency=medium 3907 3908 * Makefile: bump version 3909 * stress-urandom: handle ENOTTY errors on ioctl() on older kernels 3910 3911 -- Colin King <colin.king@canonical.com> Wed, 29 Jan 2020 14:09:22 +0000 3912 3913stress-ng (0.10.17-1) unstable; urgency=medium 3914 3915 * Makefile: bump version 3916 * stress-clock: reduce scope of variable ret 3917 * stress-shm: free addrs and shm_names on error 3918 * stress-shm: only use SA_NOCLDWAIT if it is available 3919 * stress-exec: clean up warning on gcc 4.8.5 3920 * stress-exec: define err label only if required 3921 * Add core-try-open helper to check if a file can be opened without 3922 blocking 3923 * stress-exec: remove shadowed variables ret and rc 3924 * Add string hash helper to core, use this for device and scsi hashing 3925 * stress-dev: move handler to fix build warning 3926 * stress-dev: fix equality checks and incorrect stress_dev_tty_open 3927 call 3928 * stress-dev: add blocked device open sanity check 3929 * stress-cpu: add lowest common multiple sanity check on gcd 3930 computation 3931 * stress-clock: exercise clock_getres on a /dev/ptp0 clockid 3932 * stress-clock: exercise /dev/ptp0 on linux 3933 * kernel-coverage.sh: allow perf to run when non-root 3934 * stress-tmpfs: add MAP_HUGETLB mmap option and reduce sleep time 3935 * stress-mmap: remove duplicated no_mem_retries increment 3936 * stress-membarrier: exercise more membarrier commands 3937 * stress-fcntl: exercise F_SETOWN, F_SETOWN_EX and F_GETOWN_EX more 3938 * stress-exec: create and try to execute a garbage executable 3939 * stress-stream: fix failure message logging 3940 * stress-shm: add some more shm exercising on shm fd 3941 * stress-ramfs: rename mount point directory to mnt 3942 * stress-af-alg: add helpers to lookup hash types by name or type 3943 * stress-af-alg: remove ptr + 2 occurrences 3944 * stress-msg: exercise MSG_COPY if it is available 3945 * stress-aio-linux: ignore EINVAL on io submits for fdsync or fsync 3946 commands 3947 * stress-brk: silently ignore brk on a specific address failures 3948 * stress-sysfs: disable ROM test as this is causing some issues 3949 * stress-mq: use 0..127 priority levels chosen at random 3950 * stress-quota: add CAP_SYS_ADMIN prechecks before running the stressor 3951 * stress-sysfs: skip over /sysfs kernel debug interfaces 3952 3953 -- Colin King <colin.king@canonical.com> Tue, 28 Jan 2020 16:00:02 +0000 3954 3955stress-ng (0.10.16-1) unstable; urgency=medium 3956 3957 * Makefile: bump version 3958 * Update copyright year to 2020 3959 * Manual: update date 3960 * stress-bad-altstack: clean up clang pedantic build warning on 3961 variable shadowing 3962 * stress-aio-linux: use %zu for size_t instead of %zd 3963 * stress-mq: simplify file open and null check for static analysis tools 3964 * stress-aio-linux: use correct %zd print format specifier for size_t 3965 * stress-bad-altstack: move SIGSEGV handler to child 3966 * stress-bad-altstack: ensure we set the mmap'd alternative stack 3967 * stress-bad-altstack: aggressively re-try when we can't segfault the 3968 handler 3969 * stress-aio-linux: perform periodic async fdsync and fsync and use lots 3970 of open files 3971 * stress-aio-linux: add async reads and allocate buffers 3972 * stress-dev: Add TIOCMBIS and TIOCMBIC ioctls 3973 * stress-dev: add TIOCNXCL and TIOCEXCL ioctls 3974 * stress-dev: add a couple more tty specific ioctls 3975 * stress-aio: fix sleepy wait to make it interruptible 3976 * Manual: move the --set and --set-ops to the correct place 3977 * stress-sysfs: remove commented out debug 3978 * stress-sysfs: improve timeout on slow sysfs entries, get more coverage 3979 * stress-ramfs: create/lstat/remove symlink file on ramfs filesystem 3980 3981 -- Colin King <colin.king@canonical.com> Fri, 10 Jan 2020 17:15:13 +0000 3982 3983stress-ng (0.10.15-1) unstable; urgency=medium 3984 3985 * Makefile: bump version 3986 * Manual: update date 3987 * stress-cyclic: only declare label redo_policy for SCHED_DEADLINE 3988 * stress-cyclic: don't perform E2BIG error check if SCHED_DEADLINE is 3989 not available 3990 * stress-cyclic: print out cyclic policy name using correct index 3991 * stress-cyclic: remove space before == operator 3992 * stress-cyclic: update to new policy if E2BIG occurs 3993 * stress-cyclic: handle differences in sched_attr sizes 3994 * stress-sock: ensure pointer recvfunc is ininitialized 3995 * stress-vm-segv: avoid void * pointer arithmetic, it is not portable 3996 * stress-sysbadaddr: avoid void * pointer arithmetic, it is not 3997 portable 3998 * stress-memthrash: fix up another void * math portability issue 3999 * stress-memthrash: avoid void * pointer arithmetic, it is not 4000 portable 4001 * stress-madvise: avoid void * pointer arithmetic, it is not portable 4002 * stress-clone: make rnd a uint32_t so 31 bit left shift is portable 4003 * stress-rds: remove prototype stressor 4004 * stress-ramfs: remove unnecessary initialisation of pid 4005 * stress-exec: move variable ret into section that requires it 4006 * stress-urandom: ignore -EINVAL errors on non-existent ioctls 4007 * stress-ramfs: ensure path does not overflow in snprintf 4008 * stress-urandom: fix build warning on non-Linux platforms 4009 * stress-urandom: only write to /dev/urandom on Linux 4010 * stress-mmap: fix missing stressor name in pr_inf messages 4011 * stress-mmap: clean up build warning on systems that won't retry 4012 * stress-eventfd: fix build issue with systems that don't support 4013 eventfd 4014 * stress-mmap: add MAP_{EXECUTABLE|UNINITIALIZED|DENYWRITE} flags 4015 * stress-mmap: use MAP_NORESERVE as we have a SIGSEGV handler 4016 * stress-dev: add some pre-checks before assuming dev is a tty 4017 * stress-mmap: add MAP_HUGETLB mmap flag 4018 * stress-dev: add more tty ioctls 4019 * stress-tun: add TUNGETDEVNETNS ioctl 4020 * stress-tun: add various tun related *SET* ioctls 4021 * stress-tun: add TUNGETVNET* ioctls 4022 * stress-tun: add TUNGETSNDBUF ioctl 4023 * stress-tun: add TUNGETVNETHDRSZ ioctl 4024 * stress-tun: add SIOCGIFHWADDR ioctl 4025 * stress-tun: add TUNSETNOCSUM ioctl 4026 * stress-xattr: add llistxattr system call 4027 * stress-procfs: add fstat operation on proc file and exercise namespace 4028 files 4029 * stress-procfs: handle DT_LNK symlinks like regular files 4030 * stress-fcntl: F_SETLKW at SEEK_END and SEEK_CUR file positions 4031 * kernel-coverage: add a couple more coverage options 4032 * stress-exec: add random 1 in 4 chance exec'ing from inside a pthread 4033 * stress-eventfd: add non-blocking option --eventfd-nonblock 4034 * stress-tun: disable tun/tap device info 4035 * stress-tun: add tap support with --tun-tap option 4036 * stress-ramfs: add some file/directory activity on ramfs 4037 * stress-iomix: silently ignore -EPERM write failures 4038 * stress-ramfs: alternate between ramfs and tmpfs memory based 4039 filesystems 4040 * kernel-coverage: add mmap odirect and osync options 4041 * stress-mmap: add --mmap-odirect and --map-osync file options 4042 * stress-swap: add random use of SWAP_FLAG_DISCARD if available 4043 * kernel-coverage: Add more options to get more kernel coverage 4044 * Manual: remove trailing space 4045 * stress-run: make bind EADDRINUSE not fatal 4046 * stress-tun: Add network tunnelling stressor using the TUN/TAP 4047 interface 4048 * stress-urandom: use SHIM_CAP_SYS_ADMIN instead of CAP_SYS_ADMIN 4049 * kernel-coverage: add --all option 4050 * stress-prctl: add 4 more prctl commands to exercise 4051 * stress-sem-sysv: add SETALL semctl 4052 * stress-fanotify: add more fanotify events, remove exec stats 4053 * stress-urandom: move next label to avoid skipping some more stress 4054 points 4055 * stress-urandom: exercise lseek and write on /dev/random 4056 * stress-urandom: add more ioctl calls to exercise kernel coverage 4057 * stress-loop: add xor and none crypto on loopback 4058 * stress-loop: exercise the LOOP_SET_BLOCK_SIZE ioctl 4059 4060 -- Colin King <colin.king@canonical.com> Tue, 31 Dec 2019 01:37:31 +0000 4061 4062stress-ng (0.10.14-1) unstable; urgency=medium 4063 4064 * Makefile: bump version 4065 * stress-chdir: fix opening of paths[i] 4066 * stress-vecmath: don't use TARGET_CLONES on ppc64, it breaks some 4067 older compilers 4068 * stress-hrtimes: handle fork resource failures more gracefully. 4069 * stress-chdir: mix random value and grey code of nth file 4070 * stress-chdir: make paths more random and chdir to / for more stress 4071 * stress-wait: clean up a comment 4072 * stress-sem: add sem_getvalue call to increase coverage 4073 * stress-sem: add sem_timedwait to increase test coverage 4074 * sigprocmask: fix missing sigprogmask and add sigtimedwait 4075 * core-cache: remove / from cache path 4076 4077 -- Colin King <colin.king@canonical.com> Mon, 16 Dec 2019 21:22:23 +0000 4078 4079stress-ng (0.10.13-1) unstable; urgency=medium 4080 4081 * Makefile: bump version 4082 * stress-dev: add TIOCMGET, TIOCGICOUNT and TIOCGSERIAL ioctls 4083 * stress-close: add more open types, don't chown files if root, 4084 remove AF_APPLETALK 4085 * stress-close: enable some more socket domains 4086 * test: add test-setproctitle.c, forgot to add this earlier 4087 * Where possible set the process title (argv[0]) 4088 * Change cache size information from info to debug level output 4089 * stress-ng: add missing space between switch statement and ( 4090 * Add SIGILL to signals that need to be handled, it was missing 4091 * stress-rdrand: fix typo in \n at end of info message 4092 * stress-sock: fix build issues on systems without HAVE_RECVMMSG 4093 * stress-sock: get the incoming CPU of the socket 4094 * stress-sock: get MTU size and set TOS to IPTOS_THROUGHPUT 4095 * kernel-coverage.sh: add random sock-opts flag 4096 * stress-sock: also exercice recvmmsg and recvmsg 4097 * stress-sock: remove debug 4098 * stress-sock: add a random send option for --sock-opt 4099 * core-mwc: fix mwc8() being reset when using mwc1() 4100 * stress-schedpolicy: silently ignore EBUSY returns (LP: #1853944) 4101 4102 -- Colin King <colin.king@canonical.com> Mon, 9 Dec 2019 12:37:21 +0000 4103 4104stress-ng (0.10.12-1) unstable; urgency=medium 4105 4106 * Manual: update date 4107 * stress-sem-sysv: fix GETALL arg, it should not be pass by reference 4108 * stress-clock: fix segfault when timer_create fails 4109 * kernel-coverage.sh: add more hdd specific advice hints 4110 * stress-revio: fix fadv-seq option, it is currently disabled 4111 * stress-hdd: fix fadv-seq option, it is currently disabled 4112 * stress-sem-sysv: remove trailing whitespace 4113 * stress-udp: exercise SIOCOUTQ and SIOCINQ ioctls 4114 * stress-sock: exercise SIOCOUTQ and SIOCINQ ioctls 4115 * stress-udp-flood: add SIOCOUTQ ioctl 4116 * Include linux/sockios.h include if is available 4117 * stress-shm: add lseek to exercise shm 4118 * stress-sem-sysv: exercise GETALL semctl command 4119 * stress-sem-sysv: fix typo GEZCNT -> GETZCNT 4120 * stress-sysfs: add poll to sysfs exercising 4121 * stress-sysfs: add some more file specific operations on /sysfs 4122 files 4123 * stress-clock: don't wait for timer completions, makes test more 4124 aggressive 4125 * stress-madvise: add MADV_COLD and MADV_PAGEOUT advice flags 4126 * stress-msg: add random MSG_STAT_ANY msgctl call 4127 * stress-msg: check struct msginfo is available with HAVE_MSGINFO 4128 * kernel-coverage.sh: remove unix socket domain from udp stressor 4129 * stress-rdrand: increase rdrand read rate by adding inner loop 4130 * Manual: add clone3() to --clone description 4131 * core-shim: remove debug 4132 * stress-clone: convert NULL to a uint64_t for tls clone argument 4133 * stress-clone: exercise clone3() if it is available 4134 * stress-clone: add linux 5.5 CLONE_CLEAR_SIGHAND flag 4135 * stress-rdrand: remove rdrand32 4136 * stress-rdrand: add support for Power9 darn instruction 4137 * stress-tsc: add time stamp counter support for ppc64 4138 * stress-sockmany: clean up build warnings on openindiana 4139 * stress-stack: make altstack a void pointer, cleans up build warning 4140 * Fix --timer-slack from consuming the following arg (LP: #1853832) 4141 * stress-ng: add ppc64el target clones for power9 and generic 4142 * stress-fp-error: clean up error warning on non-standard fegetround 4143 prototypes 4144 * stress-memthrash: constify size arguments 4145 * stress-ipsec-mb: remove debug disabling of the stressor for x86 4146 * stress-ipsec-mb: Add --ipsec-mb-feature option 4147 4148 -- Colin King <colin.king@canonical.com> Wed, 27 Nov 2019 19:38:23 +0000 4149 4150stress-ng (0.10.11-1) unstable; urgency=medium 4151 4152 * Makefile: update version 4153 * Manual: update date 4154 * stress-dev: remove NetBSD mixup_sort variant, NetBSD 8.0 is now 4155 compliant 4156 * stress-schedpolicy: fix build warnings on BSD systems 4157 * Rename stress-socketmany to stress-sockmany to match the stressor 4158 name 4159 * Rename stress-socketpair to stress-sockpair to match the stressor 4160 name 4161 * Rename stress-socket-diag to stress-sockdiag to match the stressor 4162 name 4163 * Rename stress-socket-fd to stress-sockfd to match the stressor name 4164 * stress-sock: rename functions with sctp in name to sock 4165 * Rename sock stressor stress-socket.c to stress-sock.c 4166 * Add sockmany stressor to exercise many open socket connections 4167 * stress-dev: add initial /dev/ptp device exercising code 4168 * stress-schedpolicy: add SCHED_DEADLINE scheduling 4169 * stress-softlockup: force lowest niceness to be less nice 4170 * stress-softlockup: clean up a comment 4171 * kernel-coverage.sh: Add some more corner case stressors 4172 * stress-shm-sysv: silently ignore EINVAL when deleting shared memory 4173 * manual: add default number of system V shared memory segments 4174 * README: update number of stressors 4175 * stress-zero: add lseeks as these are allowed on /dev/zero 4176 * stress-zombie: don't give up when we hit out of memory 4177 * stress-schedpolicy: exercise sched_util_max if it is useable 4178 * stress-cache: add --cpu-sfence sfence instruction support (x86 only) 4179 * stress-af-alg: fix typo: rd -> rc 4180 * stress-af-alf: fix stack clobbering issue on arm64/armhf 4181 * stress-af-alg: report send/sendmsg EINVAL errors as debug, ignore 4182 for next time 4183 * stress-af-alg: add a preemption point on each crypto iteration 4184 4185 -- Colin King <colin.king@canonical.com> Wed, 20 Nov 2019 16:24:11 +0000 4186 4187stress-ng (0.10.10-1) unstable; urgency=medium 4188 4189 * Makefile: bump version 4190 * stress-ipsec-mb: rename IPSEC to IPSec 4191 * stress-ipsec-mb: add helper function to get and memset the next job 4192 * stress-ipsec-mb: increment jobs count in stress_job_check_status 4193 * stress-ipsec-mb: check that jobs are complete as soon as possible 4194 * stress-funcret: rename counter ii to i 4195 * README: Fix typo in requests 4196 * README: Add contributing information 4197 4198 -- Colin King <colin.king@canonical.com> Fri, 8 Nov 2019 13:44:15 +0000 4199 4200stress-ng (0.10.09-1) unstable; urgency=medium 4201 4202 * Makefile: bump version 4203 * Makefile: add stress-af-alg-defconfigs.h to the dist rule 4204 * stress-af-alg: make buffers static, reduces stack overhead 4205 * stress-af-alg: add opt_set_funcs helper for non-linux builds 4206 * Manual: update contributors and date 4207 * stress-af-alg: some minor code cleanups, no functional change 4208 * stress-af-alg: handle bind() ETIMEDOUT failures 4209 * stress-af-alg: add default configs to complement /proc/crypto list 4210 * stress-af-alg: add defconfigs with --af-alg-dump 4211 * stress-af-alg: introduce the --af-alg-dump option 4212 * stress-af-alg: skip 'internal' crypto algorithms 4213 * stress-af-alg: fix close(fd) to avoid bind() EBUSY 4214 * stress-af-alg: use 'aead' salg_type for CRYPTO_AEAD on bind() 4215 * stress-af-alg: fix sockaddr algorithm type on bind() 4216 * stress-stack: setup alternative stack in child only (LP: #1851316) 4217 * stress-stack: check for ENOMEM fork failure and retry 4218 * stress-stack: don't throw a fatal error when sigaltstack fails 4219 * stress-stack: return error code in child using _exit() and not 4220 return 4221 * core-madvise: Add 5.4 MADV_COLD and MADV_PAGEOUT hints 4222 * stress-prctl: add PR_GET_SPECULATION_CTRL exerciser 4223 * Manual: update af-alg description 4224 * Make a couple of const strings static 4225 * stress-af-alg: fix build errors on undefined macros 4226 * stress-af-alg: add aead support 4227 * stress-af-alg: remove some debugging messages 4228 * stress-af-alg: remove old unused crypto structures 4229 * stress-af-alg: only add crypto algorithms that are supported by the 4230 stressor 4231 * stress-af-alg: use crypto algorithm data from /proc/crypto 4232 * stress-clone: Add CLONE_NEWCGROUP 4233 * stress-daemon: add expanding backoff timeout 4234 * stress-daemon: keep retrying fork if we don't have enough resources 4235 * stress-daemon: add minor backoff before fork retry (LP: #1849595) 4236 * stress-vm: print stressor name using args->name rather than literal 4237 string 4238 * stress-readahead: print stressor name in failure message 4239 * stress-matrix-3d: use pr_fail for short error failure messages 4240 * stress-matrix-3d: use pr_fail_err for short error failure messages 4241 * stress-iomix: fix one more pr_fail message 4242 * stress-iomix: use pr_fail_err for short error failure messages 4243 4244 -- Colin King <colin.king@canonical.com> Wed, 6 Nov 2019 01:03:05 +0000 4245 4246stress-ng (0.10.08-1) unstable; urgency=medium 4247 4248 * Makefile: bump version 4249 * README: Add SuSE package information 4250 * stress-x86syscall: use cpuid if it is available 4251 * README: Add Judy development library packages 4252 * Remove redundant stress-ng snapcraft makefile 4253 * stress-judy: Add Judy array stressor 4254 * Add memory hotplug stressor 4255 * stress-sendfile: add missing line after variable declaration 4256 * stress-dev: add some more linux keyboard ioctls to exercise 4257 * stress-tree: fix error messages when nodes are not found 4258 * stress-swap: detect for EINVAL errors on swapon 4259 * stress-filename: don't use chars in filename that throw EILSEQ 4260 errors 4261 * stress-fiemap: detect if file system can support FIEMAP ioctls 4262 * stress-zlib: make some char * pointers non-clobberable by longjmp 4263 * stress-urandom: add mmap'ing to /dev/urandom for more exercising 4264 * stress-zlib: use text_start and text_end based on stress-zlib 4265 object code 4266 * Add x86syscall vsyscall stressor 4267 * stress-tsc: fix info message when tsc is not supported 4268 4269 -- Colin King <colin.king@canonical.com> Mon, 21 Oct 2019 11:47:22 +0100 4270 4271stress-ng (0.10.07-1) unstable; urgency=medium 4272 4273 * Makefile: bump version 4274 * Remove smatchify script, we now use other tools to static 4275 analyse stress-ng 4276 * core-helper: add sanity check if ttyname returns NULL to avoid 4277 null pointer dereferencing 4278 * stress-fp-error: fix checks for NaN and Inf (LP: #1846216) 4279 * Don't show utf8 chars on dump consoles (LP: #1846196) 4280 * stress-clone: make child process larger to make it more 4281 OOM-able (LP: #1845948) 4282 * core-out-of-memory: open and close proc interface after each write 4283 * Add autobuild detection of getsid() for better portability 4284 * stress-ng.h: only use x86 target clones for x86 arches 4285 * stress-rdrand: unroll loop x 4 more times for more throughput 4286 * inline the __keep_stressing function, reduce call overhead 4287 for more throughput 4288 * stress-stack: make alternative signal stack privately 4289 mapped (LP: #1845464) 4290 4291 -- Colin King <colin.king@canonical.com> Tue, 1 Oct 2019 16:39:52 +0100 4292 4293stress-ng (0.10.06-1) unstable; urgency=medium 4294 4295 * Makefile: bump version 4296 * stress-mcontend: ensure mmap'd file is sync'd with zero 4297 data (LP: #1845011) 4298 * stress-rmap: don't make fallocate failures a rmap test 4299 failure (LP: #1845005) 4300 * stress-shm: fork and exit a child to exercise shm dup and 4301 removal 4302 * stress-ng: fix jobfile with classes (LP: #1706970) 4303 * stress-procfs: don't randomly read pci proc info on ARM64 4304 * stress-procfs: remove bad buffer test, it's not portable 4305 * stress-sysfs: rename MAX_READ_THREADS to MAX_SYSFS_THREADS 4306 * stress-sysfs: remove bad address reads, these fault on ARM64 4307 * stress-procfs: rename MAX_READ_THREADS to MAX_PROCFS_THREADS 4308 * stress-inode-flags: move open/close to controlling process 4309 * stress-sig: fix spelling mistake "siqqueue" -> "sigqueue" 4310 4311 -- Colin King <colin.king@canonical.com> Mon, 23 Sep 2019 17:40:21 +0100 4312 4313stress-ng (0.10.05-1) unstable; urgency=medium 4314 4315 * Makefile: bump version 4316 * core-shim: fix typo in shim_move_mount 4317 * core-shim: use shim_enosys for more ENOSYS returns 4318 * Clean up shims for syslog(2) and syslog(3) 4319 * stress-ramfs: remove it from the filesystem test 4320 * stress-dirdeep: make inodes info into a debug message 4321 * Remove trailing tab from ends of lines 4322 * Remove trailing white space after statements 4323 * stress-vm: fix verification failure with gray code method 4324 * stress-socket: make EPIPE a non-fatal error condition 4325 * stress-udp: use correct default UDP port 7000 4326 * stress-ng: rescan the exclusion list for --class stressors 4327 * core-shim: reset errno before each waitpid call 4328 * stress-socket: handle SIGPIPE as non-fatal 4329 * stress-physpage: don't abort on zero address physpage 4330 * Use HTTPS URL for kernel.ubuntu.com 4331 4332 -- Colin King <colin.king@canonical.com> Thu, 12 Sep 2019 15:26:22 +0100 4333 4334stress-ng (0.10.04-1) unstable; urgency=medium 4335 4336 * Makefile: bump version 4337 * Remove execute bit on bash completion script 4338 * debian: rules: workaround dwz failures on arm64 4339 4340 -- Colin King <colin.king@canonical.com> Mon, 2 Sep 2019 18:43:41 +0100 4341 4342stress-ng (0.10.03-1) unstable; urgency=medium 4343 4344 * Makefile: bump version 4345 * core-cache: add checks for null strings 4346 * stress-cpu: fix build time checks for __cpuid() 4347 * Debian: update compat to level 12 4348 * Manual: update date 4349 * stress-cpu: add a collatz sequence stressor 4350 * stress-dev: temporarily disable hpet test 4351 * stress-stack: use memory backed mmap'd alternative stack 4352 * stress-inode-flags: detect failures in pthread and propagate 4353 these back to parent (LP: #1841900) 4354 * Add a pthread return pointer to pthread args 4355 * stress-numa: move assignment to *node_ptr 4356 * core-helper: voidify return of fprintf 4357 * core-cache: voidify return of snprintf 4358 * stress-ramfs: voidify return of snprintf 4359 * stress-ng: voidify return of fprintf and fflush 4360 * core-job: voidify return of fprintf 4361 * core-sched: voidify return of fprintf 4362 * stress-get: voidify memset return 4363 * stress-seccomp: vodify memset return 4364 * stress-bind-mount: remove ` char in comment 4365 * stress-apparmor: remove redundant sizeof char 4366 * Add new 5.3 sched_attr fields, fixes EFBIG on sched_{get|set}attr 4367 * core-helper: don't call sched_getcpu on s390x 4368 4369 -- Colin King <colin.king@canonical.com> Mon, 2 Sep 2019 14:23:22 +0100 4370 4371stress-ng (0.10.02-1) unstable; urgency=medium 4372 4373 * Makefile: bump version 4374 * stress-pthread: protect counter with spinlock not mutex lock 4375 * Manual: update date 4376 * stress-pthread: don't block forever on pthread_cond_wait() (LP: #1840867) 4377 * stress-pty: remove some white spaces in source 4378 * core-cache: ensure read buffer has trailing '\0' 4379 * core-cache: update comments 4380 * core-cache: use a fixed size buffer for reading in /sys info 4381 * stress-cpu: remove a debugging message 4382 * stress-pty: don't report a failure on EINTR (LP: #1840512) 4383 * stress-cpu: add an x86 cpuid instruction exerciser 4384 * stress-cpu: add a 64 bit division stressor 4385 * snapcraft: add automatic versioning 4386 * snapcraft: bump version 4387 * stress-pthread: don't tkill pthreads, can lead to futex blocking 4388 4389 -- Colin King <colin.king@canonical.com> Wed, 21 Aug 2019 10:00:01 +0100 4390 4391stress-ng (0.10.01-1) unstable; urgency=medium 4392 4393 * Upload as source package (Closes: #934007) 4394 * Makefile: bump version 4395 * stress-cache: replace globbing with scandir, clean up pathnames 4396 * stress-sysfs: remove filename, it is now redundant 4397 * stress-sctp: voidify unused return 4398 * stress-mcontend: break multistatment lines 4399 * stress-sysfs: copy to sysfs_path rather than using sysfs_path as a pointer 4400 * stress-procfs: disable read to read-only buffer 4401 * stress-procs: fix incorrect strlcpy size 4402 * stress-procfs: don't use large filenames on small pthread stacks 4403 * stress-sysfs: remove redundant readlink 4404 * core-shim: voidify unused args in new mount shim helpers 4405 * bash-completion: remove the shebang at the start 4406 * stress-ramfs: fix umounting races 4407 * Move the "random" option in correct alphabetical order 4408 * Move new mount system call shims to core-shim.c 4409 * stress-ramfs: remove pathological setting 4410 * stress-ramfs: add capability check before running 4411 * Add ramfs stressor, this also exercises the new mount system calls 4412 * Add brk emulation for systems that don't support brk() 4413 * stress-clone: add CLONE_PIDFD (new with Linux 5.2) 4414 * stress-cpu: remove blank lines 4415 * stress-cpu: warn if CPU affinity may have been set 4416 * stress-vforkmany: fix build error 4417 * stress-vforkmany: wrap vfork syscall and put pragmas around it 4418 * stress-fork: move pragmas to outside the stress_vfork function 4419 * stress-opcode: fix missing space and remove redundant parentheses 4420 * stress-memrate: handle memory sizes < 1MB 4421 4422 -- Colin King <colin.king@canonical.com> Sat, 10 Aug 2019 19:48:23 +0100 4423 4424stress-ng (0.10.00-1) unstable; urgency=medium 4425 4426 * Makefile: bump version, change code name 4427 * stress-fault: remove redundant variable offset 4428 * stress-netlink-task: remove redundant initialization of id 4429 * stress-pthread: abort if mutex lock is unlockable 4430 * stress-cpu: use CLOCK_PROCESS_CPUTIME_ID to measure CPU consumed 4431 * stress-cpu: clean up cpu load variables 4432 * stress-cpu: fix CPU loading calculation 4433 * stress-dev: move ret and buffer to lower scope 4434 * core_shim: Remove caddr casts for __sun__ 4435 * stress-mergesort: workaround heap corruption on OpenBSD with 4436 setjmp/longjmp 4437 * core-helper: keeping on ringing SIGALRM until stressors get the 4438 message 4439 * stress-memthrash: make stressors more yielding 4440 * Enable FORMAT macro (__attribute__ format) for clang 4441 * Add Tiny C compiler notes in README 4442 * stress-fork: add vfork timeout for OS X to workaround SIGARLM 4443 issues 4444 * stress-fork: do explicit keep_stressing() call rather than 4445 simple flag check 4446 * stress-pthread: use stress_sigalrm_pending helper and make set 4447 non-static 4448 * stress-fork: block SIGALRM and check for pending SIGALRMs 4449 * Add stress_sigalrm_pending and stress_sigalrm_block helpers 4450 * stress-fork: make fork_max a uint32_t and optimize wait and 4451 error check loops 4452 * Only use openlog/closelog if we have HAVE_SYSLOG_H defined 4453 * core-sched: fix build error on some BSD systems 4454 * stress-brk: exercise zero expansion of brk 4455 * stress-efivar: exercise efi variable interfaces a little more 4456 * core-out-of-memory: refactor code, add a set adjustment helper 4457 * core-sched: put sched types into a lookup table 4458 * stress-socket: remove debug 4459 * stress-dev: exercise /dev/nvram 4460 * stress-dev: try lseek and read on /dev/mem on x86 4461 * stress-socket: exercise IP_MTU if it is available 4462 * stress-sctp: use setsockopt for more socket option exercising 4463 * stress-sctp: remove some debugging info 4464 * stress-sctp: add some sctp related getsockopt calls 4465 * stress-fcntl: don't make EPERM a fatal test failure 4466 * stress-chroot: don't make EPERM a fatal test failure 4467 * stress-fault: fix warnings on open indiania with gcc-8 4468 4469 -- Colin King <colin.king@canonical.com> Mon, 8 Jul 2019 20:14:21 +0100 4470 4471stress-ng (0.09.60-0ubuntu1) unstable; urgency=medium 4472 4473 * Makefile: bump version 4474 * Makefile: add kernel-coverage.sh to make dist rule 4475 * Manual: add capabilities requirements and missing idle-page notes 4476 * stress-cpu: make val an auto variable, we can't take address of a 4477 register 4478 * stress-pidfd: reduce scope of variable pid 4479 * stress-netlink-task: reduce scope of variable len 4480 * stress-utime: move if statement into a #if'def block 4481 * stress-softlock: replace spaces with tab in indentation 4482 * stress-softlockup: remove a duplicated return statement 4483 * stress-resources: move a keep stressing check inside a #if'def block 4484 * stress-lockbus: fix build warning on label "done" for non-x86 arches 4485 * stress-lockofd: rename dirname to pathname 4486 * stress-ng.h: rename a couple of function args to stop name clashing 4487 * core-shim: ensure mlock addresses are const arguments 4488 * stress-lockf: declare opt_set_funcs for all builds 4489 * core-shim: rename dirfd to dir_fd 4490 * stress-timerfd: rename exp to expval 4491 * stress-memrate: rename remainder to dur_remainder 4492 * stress-lockf: rename dirname to pathname 4493 * stress-locka: rename dirname to pathname 4494 * stress-inotify: rename dirname to pathname 4495 * stress-hdd: rename remainder to size_remainder 4496 * stress-filename: rename dirname to pathname 4497 * stress-fcntl: rename dirname to pathname 4498 * stress-fanotify: rename dirname to pathname 4499 * stress-dnotify: rename dirname to pathname 4500 * stress-chown: rename dirname to pathname 4501 * stress-dir: rename dirname to pathname 4502 * stress-chmod: rename dirname to pathname 4503 * stress-opcode: remove .set_default and add .opt_set_funcs for 4504 GNU/Hurd builds 4505 * stress-opcode: fix build warning on GNU/Hurd 4506 * stress-enosys: fix build warning when array size is zero 4507 * stress-rawsock: remove shadowed rc declaration 4508 * stress-rawsock: remove redundant __packed__ attribute 4509 * stress-netlink-task: fix const build warning 4510 * Add kernel coverage test bash script 4511 * stress-netlink-task: voidify a few function returns and remove a 4512 whitespace 4513 * stress-lockbus: add a page boundary split lock 4514 * stress-tmpfs: add parentheses around magic number 4515 * stress-sctp: limit to ipv4 and ipv6 domains 4516 * stress-udp: limit to ipv4 and ipv6 domains 4517 * bash-completion: add vm-madvise completion 4518 * bash-completion: add --stream-madvise completion 4519 * Manual: fix up cyclic-method options 4520 * stress-netlink-task: remove unused assignment to na->nla_len 4521 * core-perf: fix spinlock error check 4522 * README: update number of stressors 4523 * Add netlink taskstats stressor 4524 * stress-shm-sysv: add occasional reading of /proc/sysvipc/shm for 4525 linux 4526 * stress-sem-sysv: add occasional reading of /proc/sysvipc/sem for 4527 linux 4528 * stress-msg: declare get_procinfo only when required for linux 4529 * stress-msg: add occasional reading of /proc/sysvipc/msg for linux 4530 * stress_get: add deprecated _sysctl call to get sysctl info 4531 * stress-sysfs: exercise /proc/thread_self earlier 4532 * stress-lockbus: add split locks 4533 * stress-mq: add lseek and poll on mq descriptor for Linux 4534 * stress-rawsock: limit this to linux for the moment 4535 * stress-resources: fix missing guard on fd_ev 4536 * core-time: add constification 4537 * core-thermal-zone: add constifications 4538 * core-shim: add a constification 4539 * core-parse-opts: add some constifications 4540 * core-mwc: add a constification 4541 * core-helper: minor constification clean ups 4542 * core-cache: constify len2 4543 * Add a raw socket rawsock network stressor 4544 * Add HAVE_LINUX_HPET_H config checks 4545 * stress-socket: add baroque mmap on socket fd 4546 * core-thrash: add zone compaction, make per process paging less 4547 aggressive 4548 * stress-dev: add hpet HPET_INFO ioctl dev check 4549 * stress-loop: add LOOP_SET_DIRECT_IO ioctl 4550 * stress-loop: add 64 bit info get/set ioctl calls 4551 * stress-fanotify: check if FAN_MARK_FILESYSTEM is defined 4552 * stress-fanotify: exercise remove and flush 4553 4554 -- Colin King <colin.king@canonical.com> Sat, 22 Jun 2019 09:27:15 +0100 4555 4556stress-ng (0.09.59.1-0ubuntu1) unstable; urgency=medium 4557 4558 * Makefile: bump version 4559 * stress-wcs: fix segfault because of using incorrect string pointer 4560 4561 -- Colin King <colin.king@canonical.com> Sat, 8 Jun 2019 19:39:12 +0100 4562 4563stress-ng (0.09.59-0ubuntu1) unstable; urgency=medium 4564 4565 * Makefile: bump version 4566 * Add bash completion script 4567 * Fix up missing options args on help for various stressors 4568 * stress-fcntl: ignore EINTR as a failed error return 4569 * stress-iomix: add yield point in ioctl exercising 4570 * stress-resources: add missing ifdef guard on fd_memfd 4571 * stress-resources: add more yield points 4572 * stress-ioprio: add more yield points 4573 * stress-inode-flags: add another yield point check per ioctl 4574 * stress-hrtimes: optimize the reaping process of child processes 4575 * stress-vfork: improve vforkmany stressor yielding 4576 * stress-dnotify: make dnotify wait loop yield 4577 * Add more yield points when touching pages with mincore_touch_pages 4578 * stress-bad-altstack: fix inverted logic of yield checks 4579 * stress-bad-altstack: add some more yield points 4580 * stress-yield: clarify yielder task types 4581 * stress-mmap: voidify unused argument mmap_mprotect 4582 * stress-str: fix incorrect size for str2 4583 * stress-wcs: fill string with random characters to the correct length 4584 * stress-shellsort: remove base_index helper function 4585 * stress-shellsort: correctly constify return from base_index() 4586 * remove declaration of ret, it shadows a higher scoped declaration 4587 * stress-prct: remove environ declaration, it is defined int unistd.h 4588 * core-helper: voidify unused capability argument 4589 * Revert "stress-vecmath: align data to cache boundary and copy on 4590 initialization" 4591 * core-helper: fix missing int type in stress_check_capability 4592 declaration 4593 * check for capabilities rather than if euid is zero 4594 * stress-clone: make parent of clone'd processes less oomable 4595 * stress-vecmath: align data to cache boundary and copy on 4596 initialization 4597 * sorting: fix comments of sorting functions 4598 * Add shell sort CPU/memory stressor 4599 * stress-wcstr: cache align start of wide strings 4600 * stress-wcstr: remove a string randomization, exercises wcstr 4601 functions more 4602 * stress-str: use len1, len2 for string lengths 4603 * stress-mremap: remove empty line 4604 * Add in missing white space 4605 * Ignore SIGUSR1, don't let it stop stressing 4606 * core-job: fix optind check, should only check for non --job options 4607 * jobs: parse jobfile name from correct argv[] location 4608 * stress-pidfd: replace goto's with continues 4609 * stress-poll: replace redo goto with a for-loop 4610 * stress-prctl: also exercise PR_SET_PTRACER 4611 * stress-prlimit: add more PR_SET_MM exercising 4612 * stress-prctl: pass correct zero flags on PR_SET_MM_BRK 4613 * stress-str: remove an string randomization, exercises str 4614 functions more 4615 * stress-bad-altstack: install signal handler in child as early as 4616 possible (LP: #1830856) 4617 * stress-netdev: add in missing ioctls to exercise 4618 * stress-seccomp: add maximum seccomp bpf filter stress 4619 * Add --msg-types to manual 4620 * stress-mq: remove an unnecessary assignment 4621 * stress-mq: remove stop flag, just kill child to remove complexity 4622 * stress-msg: remove need for magic stop message, just kill child 4623 instead 4624 * stress-msg: make message 4 bytes, cache align it to get more 4625 throughput 4626 * stress-shm: voidify memset return 4627 * stress-enosys: replace multiple if statements with loop 4628 * stress-cyclic: refactor some code 4629 * stress-cyclic: add less accurate usleep sleep delays 4630 * zlib: add lrand48 data source zlib method 4631 * stress-funccall: rename funcall -> funccall 4632 * stress-clone: make parent of the clones child processes an OOMable 4633 target (LP: #1828788) 4634 * Add pass by value function return funcret stress tests 4635 * stress-fault: make minor page faults more stressy 4636 4637 -- Colin King <colin.king@canonical.com> Fri, 7 Jun 2019 17:01:02 +0100 4638 4639stress-ng (0.09.58-0ubuntu1) unstable; urgency=medium 4640 4641 * Makefile: bump version once more 4642 * core-cache: cater for C libraries that don't support GLOB_ONLYDIR 4643 * stress-bad-altstack: move help info to start of function to fix build error 4644 * stress-icache: fix build error, add missing comma 4645 * stress-stackmmap: move help info to start of function to fix build error 4646 * stress-vm: include options that are no-ops for some arches 4647 * stress-vm: fix missing return 0 4648 * stress-full: move help info to start of function to fix build error 4649 * stress-af-alg: fix build error, add missing comma 4650 * Add copyright boilerplate to some text files 4651 * Move per stressor help info into each stressor 4652 * stress-udp: only declare udp_lite variable if UDP lite is supported 4653 * stress-cache: move cache_flags declaration; fixes build error 4654 * stress-ng: free proc info when a proc is being removed from the list 4655 * Allow multiple definition of symbols when building a static image 4656 * stress-softlockup: fix spelling mistake "reslults" -> "results" 4657 * stress-cpu: fix spelling mistake "maxiumum" -> "maximum" 4658 * stress-sigsegv: fix spelling mistake "instread" -> "instead" 4659 * stress-ng: fix spelling mistake "functon" -> "function" 4660 * Fix spelling mistake "exercsing" -> "exercising" 4661 * stress-ng: fix spelling mistake "compressession" -> "compression" 4662 * stress-cpu: fix spelling mistake "Rapshon" -> "Raphson" 4663 * Add missing colon in error message text 4664 * stress-zlib: clarify precedence of & and ? operators 4665 * stress-stack: reduce scope of variable i 4666 * core-log: reduce scope of empty_ts 4667 * stress-aio-linux: fix build issue, missing , 4668 * stress-*: pass args using opt rather than optarg 4669 * stress-socket: make function stress_set_socket_domain static 4670 * stress-ng.h: compact up option flags 4671 * stress-*: remove the use of global opt flags for non-global stressor settings 4672 * stress-*: make various variables static 4673 * stress-*: make some more functions static 4674 * stress-funccall: make a few more functions static 4675 * stress-funccall: make functions static 4676 * Remove the declaration of stressor options in opt_set_funcs, move them to each stressor 4677 * Move STRESSORS macro to stress-ng.h and declare stress_id_t with it 4678 * stress-ng: remove STRESS macro and declare stress info objs using STRESSORS macro 4679 * core-shim: remove FUTEX_WAIT from shim_enosys call 4680 * core-shim: replace ENOSYS code with an inlined helper 4681 * Add build time check for pidfd-send-signal system call 4682 * Add new pidfd stressor that exercises pidfd_send_signal 4683 * Remove stress-pidfd.c from Makefile 4684 * stress-enosys: don't SIGKILL child when it is waiting to reap (LP: #1825089) 4685 * Add shim_waitpid to silently handle EINTR by retrying 4686 * stress-numa: fix undefined behaviour with left shift 4687 * stress-numa: fix calculation of max nodes (LP: #1803468) 4688 * stress-fanotify: add FAN_OPEN_EXEC_PERM and try all allowed masks one by one 4689 * stress-seal: exercise F_SEAL_FUTURE_WRITE 4690 * stress-cpu: don't use large fft arrays on the stack 4691 * stress-cpu: don't use large correlation arrays on the stack 4692 * stress-cpu: don't use large matrixprod arrays on the stack 4693 * stress-kcmp: rework capfail message to unconfuse static analysis tools 4694 * stress-af-alg: make several functions static 4695 * stress-sysfs: rename stat buf to stafbuf to fix name shadowing warnings 4696 4697 -- Colin King <colin.king@canonical.com> Thu, 2 May 2019 08:48:11 +0100 4698 4699stress-ng (0.09.57-0ubuntu1) unstable; urgency=medium 4700 4701 * Makefile: bump version 4702 * stress-zlib: make buffer in static to avoid large stack 4703 allocations 4704 * stress-sysfs: only close ctxt.kmsgd if the fd is open 4705 * test/test-sendmmsg: fix another resource leak of sockfd 4706 * stress-epoll: remove redundant initialization of ret 4707 * stress-fifo: remove redundant initialization of rc 4708 * stress-fcntl: remove redundant initialization of rc 4709 * stress-sysfs: fix fd leak 4710 * core-perf: remove redundant variable rc 4711 * stress-zero: ensure initialized data is being written 4712 * test/test-posix-fadvise: remove unused label 'err' 4713 * core-log: add paranoid check for localtime returning NULL 4714 * test/test-mremap: remove unused pointer buf 4715 * stress-opcode: remove redundant initialization of rc 4716 * test/test-inotify: remove unused variable ret 4717 * stress-swap: remove redundant assignment of fd to -1 4718 * test/test-sendmsg: close socket fd 4719 * stress-pty: remove redundant variable rc 4720 * test/test-posix-fadvise: remove redundant variable ptr 4721 * stress-memrate: remove redundant assignment to rc 4722 * stress-dev-shm: remove redundant assignment of sz_delta 4723 * stress-zlib: remove redundant initialization of flush 4724 * Make various large stack allocations static 4725 * stress-shm: fix end of string setting on wrong string 4726 * core-helper: initialize val2; cleans up static analysis warning 4727 * stress-pipe: use strncmp instead of strcmp on pipe stop message 4728 * stress-socket-fd: check for non-null addr before unlinking addr_un 4729 * stress-physpage: fix mapping address on failed mmap. 4730 * stress-zlib: fix double call to deflateEnd 4731 * stress-fcntl: improve checking of file creation 4732 * stress-shm-sysv: lock/unlock shm segment if SHM_LOCK/SHM_UNLOCK 4733 are defined 4734 * stress-af-alg: fix copy-n-paste error on pointer name 4735 * stress-af-alg: track unavailable af algs across multiple 4736 stressors (LP: #1813847) 4737 * stress-sysfs: add mmap and readlink operations on sysfs files 4738 4739 -- Colin King <colin.king@canonical.com> Wed, 27 Mar 2019 12:16:20 +0000 4740 4741stress-ng (0.09.56-0ubuntu1) unstable; urgency=medium 4742 4743 * Makefile: bump version 4744 * stress-bigheap: poll with keep_stressing() rather than 4745 g_keep_stressing_flag 4746 * Fix typo in sysbadaddr help, sysbaddaddr-ops -> 4747 sysbadaddr-ops (LP: #1820251) 4748 * stress-shm: paranoidly memset msg; cleans up static analysis warnings 4749 * stress-nice: use setpriority or nice of both are available 4750 * stress-zlib: fix incorrect macro name, should be 4751 HAVE_BUILTIN_CTZ (LP: #1820252) 4752 * stress-udp-flood: add some random port flooding into the mix 4753 * stress-procfs: exercise procfs with mmap, ioctl and poll too 4754 * stress-xattr: use macro for the max number of xattr settings 4755 * README: add pcc as another supported compiler (LP: #1820253) 4756 * Disable matrix-3d options when building with pcc 4757 * stress-ng.h: don't use sync_synchronized when building with pcc 4758 * stress-ng.h: make __builtin_prefetch a variadic function 4759 * stress-matrix-3d: disable for PCC builds as this breaks the compiler 4760 * stess-ng.h: fully define __builtin_prefetch for pcc 4761 * Add build time check for gcc/clang label as a value feature 4762 * core-perf: add OOM and thermal zone trip perf stats (LP: #1820254) 4763 * core-perf: add filemap page cache perf stats (LP: #1820254) 4764 4765 -- Colin King <colin.king@canonical.com> Fri, 15 Mar 2019 10:55:02 +0000 4766 4767stress-ng (0.09.55-0ubuntu1) unstable; urgency=medium 4768 4769 * Makefile: bump version 4770 * Remove need for alloca.h to be build checked or included 4771 * Manual: update stack stressor description, it no longer uses 4772 alloca() 4773 * Add tcc as supported compilers in README 4774 * core-helper: add missing __dso_handle for tcc 4775 * Add build check for __builtin_prefetch 4776 * Add build-time checks for __builtin_memcpy and __builtin_memmove 4777 * Add implementation of __builtin_ctz for systems that don't support 4778 this 4779 * core-helper: use correct etext and edata symbols for tcc builds 4780 * Use correct macro name HAVE_VLA_ARG and not HAVE_VLA_ARGS 4781 * matrix-3d: fix all matrix-3d settings, the name should not be 4782 matrix_3d* 4783 * Add check for variable length array support in function args 4784 * rename TYPEOF macro to CAST_TYPEOF as it really is used for type casting 4785 * Add build checks for complex.h and complex type 4786 * stress-close: remove debug message 4787 * stress-close: add more pthreads, remove some protocols and fsync 4788 * core-helper: remove redundant null check for case where NSIG or _NSIG 4789 are not defined 4790 * core-helper: use ptrdiff_t types for pointer math and fix start >= end 4791 check 4792 * core-mwc: use ptrdiff_t types to perform pointer math on different 4793 objects 4794 * stress-resources: remove use of alloca 4795 * stress-stack: remove need for alloca, expand stack by deep recursion 4796 * stress-funccall: add additional missing floating point types 4797 * stress-funccall: add in return type returns, remove structs 4798 * tests: clean up some cppcheck style warnings 4799 * stress-zlib: add extra brackets to explicitly clarify precedence 4800 * stress-unshare: guard declaration of euid with CLONE_NEWNET check 4801 * stress-switch: reduce scope of overrun and overrun_by 4802 * stress-ng: declare and assign last_page only when it is required 4803 * stress-ng: move get class setting before class is sanity checked 4804 * stress-hrtimers: remove redundant if check, ensure timer is always 4805 non-zero 4806 * stress-hdd: fix iovec buffer settings 4807 * stress-cpu: remove redundant multiply of gm, it's not used 4808 * stress-apparmor: reduce scope of variable tmp_counter 4809 * core-helper: reduce scope of buffer 'str' 4810 * core-helper: stress_text_addr: check for start >= end 4811 * core-helper: move start if #ifdef to remove unused code 4812 * Manual: update contributors list 4813 * stress-vm-addr: fix discarding of existing mappings 4814 * stress-ng: bring back error messages from getopt_long 4815 * stress-ng: fix ALWAYS_INLINE with gcc < v6.0.1 on s390/s390x 4816 * stress-ng: fix --class option 4817 * Add close race stressor, exercises various close kernel paths 4818 * Makefiles: make static build checking handle linking correctly 4819 4820 -- Colin King <colin.king@canonical.com> Mon, 4 Mar 2019 16:01:23 +0000 4821 4822stress-ng (0.09.54-0ubuntu1) unstable; urgency=medium 4823 4824 * Makefile: bump version 4825 * stress-efivar: add in missing constifications 4826 * core-cache: fix strncpy - it was one byte too short and not copying 4827 end-of-string char 4828 * stress-efivar: properly work around gcc-9 -Waddress-of-packed-member 4829 warning 4830 * stress-efivar: pass naturally aligned pointer (stops gcc9 from 4831 complaining) 4832 * stress-pthread: don't unlock if previously an unlock failed 4833 * stress-zlib: avoid static analysis warnings about division by zero on 4834 zero text_len 4835 * stress-mremap: fix compare, was an incorrect assignment 4836 * stress-urandom: skip stressor if /dev/urandom and /dev/random don't 4837 exist 4838 4839 -- Colin King <colin.king@canonical.com> Thu, 21 Feb 2019 18:15:55 +0000 4840 4841stress-ng (0.09.53-0ubuntu1) unstable; urgency=medium 4842 4843 * Makefile: bump version 4844 * Manual: update date 4845 * Manual: update contributing authors 4846 * stress-zlib: mark zero pipe reads as an interrupted pipe 4847 * stress-zlib: improve error handling messages 4848 * stress-sem: check for errno being zero for dilos 4849 * test/test-bsd-wchar: Explicitly include stdio.h 4850 * stress-af-alg: add yield detection before a blocking accept() 4851 * stress-socket: add yield detection before a blocking accept() 4852 * stress-sctp: add yield detection before a blocking accept() 4853 * stress-dccp: add yield detection before a blocking accept() 4854 * stress-epoll: add yield detection before a blocking accept() 4855 * stress-socket-fd: add more yield detection points 4856 * stress-ng: cast pid_t to int for printf 4857 * Add build time check for clearenv() 4858 * Voidify return from shim_sched_yield() 4859 * stress-vm-segv: add some voidifications on ptrace calls 4860 * Voidify return from fflush() 4861 * Voidify return from feraiseexcept() 4862 * Voidify return to shim_usleep() 4863 * Voidify return from snprintf 4864 * Voidify return from calls to shim_cacheflush 4865 * core-perf: add spinlock/unlock error checking 4866 * thermal-zone: remove degrees char and also add Kelvin too 4867 * Voidify return of sync() 4868 * stress-tree: ensure avl cleans it's nodes on free 4869 * Voidify return from memcpy() 4870 * Voidify return from memset() 4871 * Rename dummy variable to signum 4872 * stress-key: don't perform KEYCTL_CLEAR, add more error checking 4873 * stress-daemon: perform more SysV daemon like actions 4874 * stress-vdso: fix typo in comment 4875 * Handle ENOMEM fork failures by retrying 4876 * stress-ng: catch and report weird child termination issues 4877 4878 -- Colin King <colin.king@canonical.com> Fri, 15 Feb 2019 12:05:01 +0000 4879 4880stress-ng (0.09.52-0ubuntu1) unstable; urgency=medium 4881 4882 * Makefile: bump version 4883 * Manual: update date 4884 * stress-clock: ignore EPERM errors on timer_create 4885 * stress-clock: ignore -EINVAL and -ENOSYS failures for gettime and 4886 getres 4887 * stress-sem-sysv: don't spam output with timeout info messages 4888 * stress-clock: ignore -EINVAL and -ENOSYS failures 4889 * stress-switch: remove debug 4890 * stress-switch: fix division by zero by switch_freq 4891 * Update number of stressors in README 4892 * Add 3D matrix stressor 4893 * stress-ng: update version info in manual 4894 * Add stress_get_uname_info to get specific uname info, tidy up -V 4895 output 4896 * stress-ng: add compiler version info into -V info 4897 * Add helper function to get compiler information 4898 * Fix some spelling mistakes. 4899 * stress-mlock: add zero sized mlock/munlocks 4900 * stress-udp: move declaration of variable val 4901 * stress-mmap: be less noisy on mmap failures and fix directory 4902 cleanup (LP: #1807732) 4903 * Add new --switch-rate context switch rate setting 4904 4905 -- Colin King <colin.king@canonical.com> Wed, 6 Feb 2019 13:27:33 +0000 4906 4907stress-ng (0.09.51-0ubuntu1) unstable; urgency=medium 4908 4909 * Makefile: bump version 4910 * stress_numa: remove __linux__ check 4911 * Add build time checks for struct shmid_ds and struct shminfo 4912 * stress-mlockmany: add some invalid mlock/munlock calls for more stress 4913 * stress-clone: use shim_unshare instead of unshare 4914 * stress-clone: forgot to remove other __linux__ check 4915 * stress-clone: remove __linux__ checks 4916 * Add shim for getxattr to work around OS X 6 arg getxattr 4917 * stress-sleep: remove debug on join failure on bad threads 4918 * Add watchdog test to excluded tests as it can trigger reboots 4919 * stress-ng.h: remove a couple more __linux__ checks 4920 * Add build check for sched_rr_get_interval 4921 * stress-sysbadaddr: remove __linux__ checks 4922 * stress-sleep: fix broken --sleep-ops threshold counter 4923 * stress-sleep: improve main loop exit on alarm 4924 * stress-pthread: clean up warning on %d for pid_t types (missed one) 4925 * stress-softlockup: memset param to avoid old gcc warnings on struct initializer 4926 * stress-pthread: clean up warning on %d for pid_t types 4927 * Add build check for struct msginfo 4928 * stress-rlimit: fix warnings on gcc 6.4 on solaris 4929 * stress-hrtimers: fix warnings on gcc 6.4 on solaris 4930 * stress-cyclic: fix warnings on gcc 6.4 on solaris 4931 * stress-lockbus: fix warnings on gcc 6.4 on solaris 4932 * stress-cpu-online: remove empty line 4933 * stress-pty: remove __linux__ check and add ptsname check 4934 * Add checking for process-vm-readv and process-vm-writev 4935 * stress-pthread: add better error recovery and locking prevention checks 4936 * stress-pthread: make error messages a bit more informative 4937 * Add build detection of ino64_t 4938 * stress-bind-bound: add some extra clone flag checks 4939 * stress-memthrash: remove __linux__ check 4940 * Add name_to_handle_at and open_by_handle_at checks 4941 * stress-getrandom: clean up buffer size setting 4942 * Move ptsname check to correct alphabetic order place 4943 * Add check for ptsname 4944 * stress-resources: remove some more __linux__ instances 4945 * Add build check for sched_setscheduler 4946 * stress-iomix: replace __linux__ check with HAVE_SYNC_FILE_RANGE check 4947 * stress-cyclic: fix build warning on systems without sched_get_priority* 4948 * Add build detection for sched_get_priority_{min|max} 4949 * stress-cyclic: remove __linux__ checks, the code is generic enough now 4950 * stress-oom-pipe: replace __linux__ check with appropriate macro checks 4951 * stress-msg: remove __linux__ check, check instead IPC_INFO and MSG_INFO 4952 * stress-hrtimes: remove __linux__ check 4953 * Add build time check for splice 4954 * Add build time check for tee system call 4955 * Add build time check for vmsplice 4956 * test/test-off64_t.c: clean up cppcheck style warning 4957 * test/test-loff_t: clean up cppcheck style warning 4958 * stress-utime: clean up cppcheck style warning 4959 * sytess-sysinfo: fix some cppcheck style warnings 4960 * stress-pty: clean up some cppcheck style warnings 4961 * stress-clock: reduce scope of several variables 4962 * stress-apparmor: ensure we handle residual bogo ops 4963 * stress-apparmor: fix broken apparmor-ops accounting 4964 * core-helper: clean up unused variable warning 4965 * stress-poll: fix missing }, detected by cppcheck 4966 * stress-ng: remove extraneous ) bracket found by cppcheck 4967 * stress-af-alg: add missing ) in message 4968 * stress-sigfpe: ignore bogus -ve si_codes 4969 * Add build time checks for xattr family of system calls 4970 * stress-xattr: remove __linux__ check 4971 * stress-rlimit: remove __linux__ check 4972 * stress-lockbus: remove __linux__ check 4973 * stress-iomix: only perform ioctl's if the ioctl command is defined 4974 * stres-futex: remove __linux__ check 4975 * stress-dnotify: remove __linux__ check 4976 * stress-switch: replace __linux__ check with HAVE_PIPE2 check 4977 * stress-sleep: remove __linux__ check 4978 * Add build time check for crypt_r 4979 * core-out-of-memory: remove some empty lines 4980 * core-io-priority: remove __linux__ check 4981 * core-helper: remove __linux__ check on F_SETPIPE_SZ check 4982 * core-helper: replace __linux__check with HAVE_SCHED_GETCPU 4983 * stress-spawn: check if /proc/self/exe is supported 4984 * stress-spawn: remove __linux__ check 4985 * stress-pipe: replace GLIBC version check with check for O_DIRECT 4986 * Add build time checks for pipe2 4987 * stress-timer: remove other __linux__ check 4988 * stress-timer: remove \ continuation from # if defined check 4989 * stress-timer: remove __linux__ check 4990 * stress-cache: fix warnings when sched_getcpu not available 4991 * Add build time checks for sched_getcpu 4992 * stress-yield: remove need for GLIBC version 4993 * stress-apparmor: remove need for __linux__ check 4994 * Add build time checks for sched_getaffinity 4995 * stress-aio: remove __linux__ check 4996 * stress-aio-linux: remove check for __linux__ 4997 * stress-mlock: use shim version of munlock() 4998 * debian/tests/fast-test-all: add mlockmany to the banned stress tests 4999 * stress-mlockmany: make this stressor CLASS_PATHOLOGICAL 5000 * Add more mlock/munlock iterations while child waits to be killed 5001 * stress-mlockmany: check for ability to mlock/munlock 5002 * stress-mlockmany: remove redundant low mem checks 5003 * stress-mlockmany: add more yielding points 5004 * stress-branch: make source more compact 5005 * Add build time check for semtimedop 5006 * stress-sigq: fix build warning on Solaris with gcc 4.8.2 5007 * stress-sysbadaddr: fix cast 5008 * stress-sysbadaddr: fix pointer bump warnings 5009 * stress-resources: declare ret in block only if required 5010 * stress-mlockmany: replace MAX_LOOPS with 1024 5011 * stress-clock: only define stress_clock_name if required 5012 * stress-sem-sysv: fix build issue with timeout undefined 5013 * stress-mlockmany: set default ptr to avoid any warnings 5014 * stress-cyclic: move stress_cyclic_itimer_handler to clean up build warning 5015 * stress-cyclic: move timerid into function, don't make it static 5016 * stress-sysbadaddr: use HAVE_NANOSLEEP check 5017 * stress-cyclic: make timer delay checks more portable 5018 * Add build time check for posix_madvise 5019 * stress-clock: add timer_getoverrun call to exercise this more 5020 * Add build time check for timer_getoverrun 5021 * Add build time check for timer_gettime 5022 * Add build time check for timer_settime 5023 * Add build time check for timer_create 5024 * Add build time check for timer_create 5025 * Add build time check for clock_nanosleep 5026 * Add build time check for clock_getres 5027 * Add build time check for clock_settime 5028 * Add build time check for clock_gettime 5029 * stress-sigrt: remove need for _POSIX_C_SOURCE check 5030 * stress-sigqueue: remove need for _POSIX_C_SOURCE check 5031 * Add build time check for sched_yield 5032 * stress-branch: add note to why we inlined mwc8 5033 * stress-branch: add inline mwc8(), boosts cache misses 5034 * Add some addition x86 target clone targets 5035 * Add a mlockmany aggressive mlock stressor 5036 * stress-resource: add check that RLIMIT_MEMLOCK is available 5037 * Add CLONE_NEWCGROUP for stress-unshare.c 5038 * README: add libipsec-mb-dev to library list 5039 * core-mwc: add in aux_rand value to w term 5040 * stress-resources: mlock and munlock pages of memory 5041 * stress-vm-segv: remove debug printf 5042 * stress-vm-segv: use ptrace if available to stop apport spammage 5043 * stress-opcode: use seccomp trap rather than a kill 5044 * stress-opcode: add a text --opcode-method 5045 * stress-zlib: use new stress_text_addr helper 5046 * core-helper: add stress_text_addr text segment helper 5047 * stress-vm-segv: remove setrlimit on core dump size 5048 * stress-seccomp: catch child with SIGSYS trap 5049 * core-helper: attempt to set soft rlimit first 5050 * Makefile: remove -g CC option 5051 * stress-secomp: clean up incorrect indentation 5052 * stress-ipsec-mb: voidify job submission returns 5053 * Add missing idle-page mini help information 5054 * stress-sem: use trywait and do some yielding 5055 * stress-sem: run semaphore stressors as pthreads and not child processes 5056 * Fix typo in int128_t support message and don't support for < GCC 4.0.0 5057 * core-shim: handle posix_fallocate error return correctly 5058 * stress-timerfd.c: rename TIMER_MAX to TIMERFD_MAX 5059 * Add build detection of various BSD related header files 5060 * stress-idle-page: return EXIT_NO_RESOURCE if sysfs entry does not exist 5061 * Add build detection of __int128_t types 5062 * Add build time check for alloca.h 5063 * core-log: add gnu printf format attribute for pr_msg_lockable 5064 * core-log: make pr_msg_lockable static to reduce scope 5065 * core-affinity: rename ptr to avoid variable shadowing warnings 5066 * stress-memcpy: fix naive memcpy and memmove, swap src and dest pointers 5067 * stress-ng.h: remove another unnecessary __linux__ check 5068 * Add build time detection of missing __kernel_long_t and __kernel_ulong_t 5069 * stress-ng.h: remove unnecessary linux check 5070 * stress-ng.h: remove some duplicated includes 5071 * core-helper: add more prctl build time checks 5072 * Add build checks for prctl and remove __linux__ checks 5073 * stress-ng: define IOPRIO_* macros if they are not defined 5074 * stress-ng.h: add build check for malloc.h 5075 * stress-ng.h: remove empty lines 5076 * Add build checks for loff_t and off64_t types 5077 * rename personality.c to core-personality.c, update Makefile 5078 * Replace deconstification with a opt arg duplication 5079 * stress-clone: remove a deconstification 5080 * Rename core helper source, add core- prefix to souce 5081 * helper: prefix some helper functions with stress_ 5082 * Add a new idle scan page scanning stress test for Linux 5083 * Remove per-stressor umask as is now set before running each stressor 5084 * Set umask to owner before running each stressor 5085 * Add build time check for flock() 5086 * log: add comments and handle systems that don't support flock 5087 * Add log message locking. 5088 * stress-resources: guard pkey with HAVE_PKEY_* macro checks 5089 * Makefile.config: sort config function probing 5090 * Add posix_fallocate check and use shim_fallocate if it does not exist 5091 * stress-timerfd: use 256 timers for more stress and throughput 5092 * stress-procfs: remove empty line 5093 * stress-fanotify: use the mount_get()/mount_free() mount helpers 5094 * stress-iosync: force sync'ing on all accessible mount points 5095 * stress-ng.h: minor space reformatting 5096 * Add a --memcpy-method option to use different memcpy/memove functions 5097 * stress-fanotify: add kernel v5.0 FAN_OPEN_EXEC support 5098 * stress-ipsec-mb: allow static build now that ipsec lib has symbols exported 5099 5100 -- Colin King <colin.king@canonical.com> Thu, 31 Jan 2019 16:45:31 +0000 5101 5102stress-ng (0.09.50-1) unstable; urgency=medium 5103 5104 * Makefile: bump version 5105 * Manual: update date 5106 * stress-fanotify: don't declare ret if it is not used 5107 * stress-ipsec-mb: make pr_inf message a debug pr_dbg message 5108 * stress-zlib: remove xsum value debug verify information 5109 * stress-ipsec-mb: add more explanation to why the stressor may be 5110 skipped 5111 * stress-ipsec-mb: check for IMB_* macros 5112 * stress-ipsec-mb: fix typo "avx" -> "avx2" 5113 * stress-ipsec-mb: Add SHA encryption 5114 * stress-ipsec-mb: fix hmac md5 error messages 5115 * stress-ipsec-mb: Add HMAC MD5 5116 * stress-ipsec-mb: add CTR encoding 5117 * stress-ipsec-mb: don't enable for static builds 5118 * Update copyright year 5119 * debian/control: add ipsec library dependency 5120 * stress-quota: use linux quotactl API for linux only systems 5121 * stress-opcode: voidify name argument 5122 * stress-opcode: define stress_set_opcode_method for unimplemented 5123 build case 5124 * Forgot to add test/test-libipsec-mb.c 5125 * Add initial cut of ipsec-mb stressor for SHA, DES and CMAC 5126 * stress-af-alg: prefix macro constants with SNG to avoid clashes 5127 * stress-rdrand: remove assembler cpuid check 5128 * stress-fanotify: improve FAN mode checks for v4.20 5129 * stress-resources: fork a child off on each resource eating child 5130 * Add --opcode-method [ random | inc | mixed ] option 5131 * shim: remove duplicated code for __APPLE__ case 5132 * stress-opcode: iterate 1024 times in each child 5133 * stress-stackmmap: fix leak of open file descriptor on ENXIO error 5134 * stress-opcode: comment why mwc32() is being called before forking 5135 * stress-opcode: remove unnecessary { } block scope 5136 * stress-opcode: use mwc8() instead of mwc32() when setting opcodes 5137 * snapcraft: make stress-ng binary static and add various plugs 5138 5139 -- Colin King <colin.king@canonical.com> Wed, 2 Jan 2019 16:58:52 +0000 5140 5141stress-ng (0.09.49-1) unstable; urgency=medium 5142 5143 * Makefile: bump version 5144 * stress-udp-flood: remove check for struct iphdr and icmphdr 5145 * stress-icmp-flood: add check for struct iphdr and icmphdr 5146 * Add checks for struct iphdr and icmphdr 5147 * helper: remove libgen.h - it is not needed 5148 * Add check for fenv.h 5149 * Add check for float.h 5150 * stress-icmp-flood: fix typo in macro name check 5151 * Add checks for netinet/ip.h and netinet/ip_icmp.h 5152 * Move getopt.h to stress-ng.h 5153 * Add check for netinet/sctp.h 5154 * Add check for locale.h 5155 * stress-epoll: remove need for netdb.h, clean up define checks 5156 * Add checkfor libgen.h 5157 * stress-spawn: only test on linux 5158 * Add detection for posix_spawn 5159 * stress-socket: add check for SOL_TCP for BSD systems 5160 * Add check for net/if.h 5161 * Add check for netinet/tcp.h and clean up stress-socket a little 5162 * Move include of arpa/inet.h to stress-ng.h 5163 * Move include netinet/in.h to stress-ng.h 5164 * stress-dirdeep: remove include of dirent.h, it is already included 5165 in stress-ng.h 5166 * Add check for cpuid.h 5167 * Move include of keyutils.h to stress-ng.h 5168 * Move include of crypt.h to stress-ng.h 5169 * Add check for strings.h 5170 * Fix check on sys/msg.h, use correct macro for check 5171 * Use check for mqueue.h 5172 * Move pwd.h to stress-ng.h 5173 * Add check for mqueue.h 5174 * Move ucontext.h and search.h to stress-ng.h 5175 * Add check for semaphore.h 5176 * Add checks for aio.h and spawn.h 5177 * Move math,h and complex.h to stress-ng.h 5178 * Disable swap for SunOs/Solaris as the interface is different to Linux 5179 * stress-chown: don't count retries for NetBSD sched_yield retries 5180 * stress-raw-dev: replace __linux__ check with some more specific checks 5181 * test/test-sysinfo.c: force failure for sunos, this clashes with a 5182 different sysinfo 5183 * stress-ng.c: Add check for sysinfo system call 5184 * Add check for sysinfo system call 5185 * Add check for syslog.h 5186 * Add check for sys/epoll.h 5187 * Add check for poll.h 5188 * helper: remove include of sys/statvfs.h as it is include from 5189 stress-ng.h 5190 * Add check for sys/shm.h 5191 * Add check for sys/msg.h 5192 * Add check for sys/ipc.h 5193 * helper: use HAVE_SYS_STATVFS_H check for statvfs calls 5194 * stress-filename.c: use statvfs check 5195 * Add check for sys/statvfs.h 5196 * Add check for sys/statfs.h 5197 * Use check for sys/fanotify.h 5198 * Add check for sys/sysmacros.h 5199 * stress-rawdev: remove include of dirent.h, it is in stress-ng.h 5200 * Add check for sys/io.h 5201 * Add check for sys/inotify.h and various inotify types 5202 * Add check for termio.h and termios.h 5203 * Add check for sys/quota.h 5204 * Add check for deprecated include ustat.h 5205 * Add check for utime.h 5206 * Add check for sys/sysinfo.h 5207 * Move include of sys/timex.h from stress-get.c to stress-ng.h 5208 * Add check for sys/ucred.h 5209 * Add check for sys/mount.h 5210 * Add check for sys/param.h 5211 * Move include of mntent.h to stress-ng.h 5212 * Add check for sys/personality.h 5213 * perf-event: no need to check for __linux__, remove check 5214 * Add better checking for HAVE_LINUX_PERF_EVENT_H 5215 * stress-nop: undefined NOP macros to avoid name space clash 5216 * Move libaio.h from stress-aio-linux.c to stress-ng.h 5217 * Move several includes from stress-dev.c to stress-ng.h 5218 * Add check for linux/cn_proc.h 5219 * Add check for linux/unix_diag.h 5220 * Add check for linux/sock_diag.h 5221 * Add check for linux/rtnetlink.h 5222 * Add check for linux/netlink.h 5223 * Add check for linux/connector.h 5224 * stress-sock-diag: remove includes that are in stress-ng.h 5225 * stress-ng.h: remove check for HAVE_SWAP to include swap.h 5226 * Add check for linux/posix_types.h 5227 * stress-ng.h: more clean ups 5228 * stress-ng.h: more include cleanups 5229 * alphabetically re-order sys/includes 5230 * Move include of linux/if_alg.h to stress-ng.h 5231 * Move include of linux/socket.h to stress-ng.h 5232 * stress-dev: remove need for linux/random.h, it's included in 5233 stress-ng.h 5234 * stress-timerfd: clean up build warning on pid_t on sunos 5235 * Only include sys/swap.h if swapon/swapoff exist 5236 * stress-sendfile: return EXIT_NOT_IMPLEMENTED if sendfile returns ENOSYS 5237 * Add check for statfs system call 5238 * Add swapon/swapoff system call autodetection 5239 * stress-swap: don't use SWAP_FLAG_PREFER if it's not defined 5240 * stress-sysbadaddr.c: remove include of sys/vfs.h 5241 * Add build config check for sys/uio.h 5242 * Add build config check for sys/vfs.h 5243 * Add build config check for sys/swap.h 5244 * Add build config check for sys/timerfd.h 5245 * Move include of sys/apparmor.h to stress-ng.h 5246 * Add build config check for sys/sendfile.h 5247 * Add build config check for sys/signalfd.h 5248 * stress-netdev.c: remove include of sys/ioctl.h, it is included in 5249 stress-ng.h 5250 * Move include of sys/auxv.h to stress-ng.h 5251 * stress-socket-diag: remove include for sys/socket.h, it is include 5252 in stress-ng.h 5253 * Add build config check for netinet/in.h 5254 * Add build config check for sys/un.h 5255 * Add in version info computer unicode character 5256 * Add unicode 32 symbol for fire in the version info 5257 * Re-order pthread and libc library linker order (LP: #1807176) 5258 * Move <sys/utsname.h> include to stress-ng.h 5259 * stress-rawdev: remove sys/types.h as it is included in stress-ng.h 5260 * Rename HAVE_SYS_CAP_H to HAVE_SYS_CAPABILITY_H, move include to 5261 stress-ng.h 5262 * stress-urandom: move the include of linux/random.h to stress-ng.h 5263 * stress-loop: move the include of linux/loop.h to stress-ng.h 5264 * stress-futex: remove include/futex.h 5265 * shim: remove linux/futex.h include 5266 * Move the include of linux/rtc.h to stress-ng.h 5267 * Move the include of linux/watchdog.h to stress-ng.h 5268 * Move the include of linux/userfaultfd.h to stress-ng.h 5269 * Move the include of linux/futex.h to stress-ng.h 5270 * stress-seccomp: no need for __linux__ check, remove it 5271 * stress-opcode: fix build issue because if #if/#endif mismatch 5272 * Move linux/seccomp.h include to stress-ng.h 5273 * Add build config check for linux/filter.h 5274 * Add build config check for linux/audit.h 5275 * stress-seccomp: improve EACCES failure skip message information 5276 * Add build config check for sys/prctl.h 5277 * stress-udp-flood: check for EPROTONOSUPPORT socket failures 5278 * stress-stackmmap: handle ENXIO mmap failures on minix 5279 * stress-loop: remove redundant check for __linux__ being defined 5280 * Add build config check for linux/rtc.h 5281 * Add build config check for linux/version.h 5282 * stress-urandom: use HAVE_LINUX_URANDOM_H check 5283 * Add build config check for linux/watchdog.h, re-order some checks too 5284 * Add build config check for sys/timex.h 5285 * Add build config check for sys/utsname.h 5286 * stress-get: fix typo in comment 5287 * Use check for HAVE_LINUX_FUTEX_H for linux/futex.h 5288 * Move sys/select.h include into stress-ng.h 5289 * Add build config check for linux/fs.h 5290 * Add build config check for sys/fanotify.h 5291 * Add build config check for mntent.h 5292 * Add build config check for crypt.h 5293 * Add build config check for ucontext.h 5294 * Add build config check for sys/apparmor.h 5295 * Add build config check for sys/select.h 5296 * Add build config check for libaio.h 5297 * Add build config check for aio.h 5298 * Rename HAVE_SOCK_DIAG_H to HAVE_LINUX_SOCK_DIAG_H 5299 * stress-af-alg: add checks for <linux/if_alg.h> and <linux/socket.h> 5300 * stress-stackmmap: needs swapcontext 5301 * stress-ng: minor reordering of includes, minor changes 5302 * Remove include of semaphore.h as this is already included in 5303 stress-ng.h 5304 * stress-ng.h: fix include on semaphore.h 5305 * stress-resources: use posix semaphores if HAVE_SEM_POSIX is defined 5306 5307 -- Colin King <colin.king@canonical.com> Thu, 13 Dec 2018 16:08:11 +0000 5308 5309stress-ng (0.09.48-1) unstable; urgency=medium 5310 5311 * Makefile: bump version 5312 * stress-dev: pass correct struct to SCSI_IOCTL_GET_IDLUN 5313 ioctl (LP: #1806024) 5314 * Remove full stop from some messages, like other messages 5315 * stress-spawn: fix skipping message, use stressor test name 5316 5317 -- Colin King <colin.king@canonical.com> Fri, 30 Nov 2018 12:07:13 +0000 5318 5319stress-ng (0.09.47-1) unstable; urgency=medium 5320 5321 * Makefile: bump version 5322 * Manual: update date 5323 * Add in missing option --vdso-func to specific the vDSO function to 5324 call 5325 * stress-mcontend: check data[1] rather than data[0] for failed mmap 5326 * stress-dev: remove redundant null assignment to dev_scsi_new 5327 * log: use strncpy instead of less safe strcpy 5328 * README: add WSL as a supported platform 5329 * stress-itimer: skip stressor if itimer cannot be set 5330 * stress-schedpolicy: skip sched_setparam on EPERM errors 5331 * stress-key: skip stressor if add_key is not implemented 5332 * stress-netdev: ignore errors of EINVAL on ioctls 5333 * stress-ioprio: skip over failures that return -EINVAL 5334 * stress-file-ioctl: skip flag checking if ioctl fails 5335 * helper: forgot to use %s when printing cache pr_inf message 5336 * stress-file-ioctl: silently ignore ENOTTY ioctl failures 5337 * stress-file-ioctl: add in errno info on failure 5338 * helper: shrink cache defaults message, make it less verbose 5339 * stress-fcntl: cater for kernels that don't support some fcntl commands 5340 * stress-sigio: cater for kernels that don't support F_SETOWN 5341 * stress-udp: cater for kernels that don't support SO_REUSEADDR 5342 * cache: remove some empty lines, minor code cleanup 5343 * stress-tee: terminate with EXIT_NO_RESOURCE on ENOMEM on tee 5344 * stress-sctp: skip stressor if protocol is not supported (part 2) 5345 * Make cache size warnings less verbose 5346 * Add getauxval autoconfig detection 5347 * stress-vdso: only build test if AT_SYSINFO_EHDR is defined 5348 * README: add in more operating systems that the tool can build on 5349 * stress-sync-file: skip stressor if sync_file_range is not implemented 5350 * stress-switch: fall back to pipe() if pipe2() fails to work 5351 * stress-socket-diag: skip stressor if protocol is not supported 5352 * stress-sctp: skip stressor if protocol is not supported 5353 * stress-pipe: fall back to pipe() if pipe2() fails to work 5354 * exit_status: make ENOSYS return EXIT_NOT_IMPLEMENTED 5355 * stress-mq: skip stressor if POSIX message queues are not implemented 5356 * stress-mincore: skip stressor of mincore not implemented 5357 * stress-full: check if /dev/full exists, return EXIT_NOT_IMPLEMENTED 5358 if not available 5359 * stress-filename: cater for WSL on Windows 10 ENOENT errors 5360 * stress-filename: make probing more robust 5361 * stress-clock: handle kernels that return -EINVAL for timer_create 5362 * stress-vdso: make function vdso_sym_list_check_vdso_func static 5363 * stress-vdso: fix realloc null return check, don't check str 5364 * stress-vdso: ensure hash is initialized to NULL 5365 * stress-zlib: add gray code generator 5366 * stress-zlib: add brown noise and fix missing funcs from 5367 rand_data_funcs 5368 * stress-wait: voidify kill return 5369 * stress-vm: minor optimization, don't keep on recomputing max_ops arg 5370 * stress-vm: handle counter increments via helper functions 5371 * stress-bindmount: use get_counter instead of referencing counter 5372 * Add add_counter helper to add a value to the bogo op counter 5373 * Add a set_counter helper to set the bogo counter 5374 * Use get_counter rather than directly referencing *args->counter 5375 * mwc: use getauxval(AT_RANDOM) as a base seed if it is available 5376 * stress-switch: add more context switch info 5377 * stress-ng.h: add get_counter helper to get counter from args 5378 * stress-vdso: add arm64 vDSO symbol names 5379 * stress-vdso: scan all symbols and remove duplicates 5380 * Add vDSO stress test. 5381 * use a test program to conditionally set TARGET_CLONES (LP: #1800826) 5382 * Detect and use <features.h> if it is available. 5383 * Fix build with uClibc-ng (LP: #1800829) 5384 * stress-ng.h: conditionally define _{LARGEFILE,LARGEFILE64}_SOURCE 5385 to fix build warning (LP: #1800828) 5386 5387 -- Colin King <colin.king@canonical.com> Wed, 21 Nov 2018 17:03:43 +0000 5388 5389stress-ng (0.09.46-1) unstable; urgency=medium 5390 5391 * Makefile: bump version, remove -g and -pipe flags 5392 * Makefile: remove -pipe and -g CFLAGS 5393 * stress-ng: only defined TARGET_CLONES optimizations for x86-64 5394 * stress-affinity: fix set affinity setting across all 5395 stressors (LP: #1803322) 5396 * stress-fault: add mmap failed resource checking, treat as non-fatal 5397 * stress-tlb-shootdown: retry for ENFILE errors on mmap 5398 * stress-udp: handle ENETUNREACH silently 5399 * stress-vecmath: work around gcc breakage on ppc64el 5400 5401 -- Colin King <colin.king@canonical.com> Wed, 14 Nov 2018 13:01:57 +0000 5402 5403stress-ng (0.09.45-1) unstable; urgency=medium 5404 5405 * Makefile: bump version 5406 * Use alternative mmap strategy on last shared page if mprotect is 5407 not available 5408 * stress-dev: constify a char * function parameter, fixes warning 5409 * stress-dev: fix warnings on non-Linux systems 5410 * stress-dev: add 4.20 BLKGETZONESZ and BLKGETNRZONES ioctls 5411 * stress-tsc: add supported handler for non-x86 5412 * stress-rdrand: add supported handler for non-x86 5413 * stress-ng: add extra non-accessible page at end of shared region 5414 * thrash: assign return to variable and voidif 5415 * stress-getrandom: check if system call is available before testing 5416 * stress-cpu-online: ignore -EOPNOTSUPP failure, just keep on 5417 exercising the sys interfaces 5418 * stress-cpu-online: check if we can access sysfs file for updating 5419 * stress-cpu-online: add root check before running the stress test 5420 * stress-seccomp: add sanity check to see if SECCOMP_SET_MODE_FILTER 5421 works (LP: #1801856) 5422 * stress-dev: cache the scsi device names to reduce lookup overhead 5423 * stress-dev: remove debug cruft 5424 cache: turn macro MK_PATH to an inline'd static helper function 5425 * stress-dev: add SCSI device checking 5426 * stress-af-alg: handle ENOMEM failures on sendmsg (LP: #1801865) 5427 * stress-pty: handle EIO failures on opening /dev/ptmx 5428 * stress-loop: fix EBUSY error detection (LP: #1797544) 5429 * cache: optimize MK_PATH macro, remove double strlen call 5430 5431 -- Colin King <colin.king@canonical.com> Fri, 9 Nov 2018 10:43:35 +0000 5432 5433stress-ng (0.09.44-1) unstable; urgency=medium 5434 5435 * Makefile: bump version 5436 * stress-dev: add HDIO_* ioctls 5437 * stress-file-ioctl: add FIBMAP ioctl to file 5438 * stress-dev: remove FIBMAP ioctl on device (LP: #1800609) 5439 * log: use snprintf instead of sprintf, it is safer 5440 5441 -- Colin King <colin.king@canonical.com> Thu, 1 Nov 2018 11:45:01 +0000 5442 5443stress-ng (0.09.43-1) unstable; urgency=medium 5444 5445 * Makefile: bump version 5446 * stress-loop: check for specific loop ioctl commands 5447 * mounts: cater for minix requiring statbufs for mount information 5448 * stress-revio: ensure fiemap extent struct is zero'd (LP: #1798566) 5449 * Add autodetection of linux/futex.h 5450 * shim: revert back to checking if syscall is defined if calling via 5451 syscall() 5452 * test-pkey: also check if syscall is available 5453 * Add checks for linux/membarrier.h and membarrier system call 5454 * shim.c: update for KCMP and SYSLOG 5455 * Add HAVE_GETCPU getcpu system call check 5456 * test/test-fallocate: remove whitespace 5457 * Add HAVE_FALLOCATE fallocate system call check 5458 * Add HAVE_COPY_FILE_RANGE copy_file_range system call check 5459 * Add HAVE_SYNC_FILE_RANGE to Makefile.config 5460 * Add HAVE_SYNC_FILE_RANGE sync_file_range system call check 5461 * stress-apparmor: make another aa_kernel_interface_replace_policy 5462 failure an info message 5463 * Add autobuild detection for pkey family of system calls 5464 * stress-resources: use HAVE_USEFAULTFD check 5465 * Use HAVE_LINUX_USERFAULTFD_H and HAVE_USERFAULTFD checks 5466 * stress-apparmor: make aa_kernel_interface_replace_policy failure an 5467 info message 5468 * Use HAVE_SYS_EVENTFD_H and HAVE_EVENTFD checks 5469 * Add sys/eventfd header detection 5470 * Add HAVE_IOPRIO_{GET|SET}ATTR ioprio_{get|set}attr system call check 5471 * Add HAVE_KEYCTL keyctl system call check 5472 * Add HAVE_ADD_KEY add_key system call check 5473 * Add HAVE_REQUEST_KEY request_key system call check 5474 * stress-ng.h: re-order syscall checks alphabetically 5475 * Add HAVE_SCHED_{GET|SET}ATTR sched_{get|set}attr system call check 5476 * Add autobuild check and exercising of getdtablesize() 5477 * test/test-mremap: voidify newbuf to avoid cppcheck warning 5478 * test/test-ioport: return ret, fixes warning 5479 * stress-loop: clean up cppcheck warning on clr_loop not being used: 5480 * stress-kcmp: move slot to local scope 5481 * ignite-cpu: reduce scope of buffer and cpu 5482 * Add HAVE_KCMP kcmp system call check 5483 * Add HAVE_REMAP_FILE_PAGES check in Makefile.config 5484 * Add HAVE_SYSLOG syslog system call check 5485 * Add autobuild detection of remap_file_pages 5486 * Add HAVE_TGKILL tgkill system call check 5487 * Add HAVE_{SET|GET}_ROBUST_LIST {set|get}_robust_list system call 5488 check 5489 * Add HAVE_GETTID gettid system call check 5490 * Add HAVE_GETDENTS* check 5491 * Add autobuild detection of unshare 5492 * Add autobuild check for MLOCK2 5493 * stress-revio: use shim_fdatasync 5494 * Abstract fdatasync with a shim 5495 * stress-getrandom: allow __APPLE__ as it provides getentropy 5496 * Add autobuild detection of sys/memfd.h 5497 * Add autobuild detection of memfd_create 5498 * stress-get: use HAVE_LOOKUP_DCOOKIE check 5499 * Add autobuild check for lookup_dcookie system call 5500 * Use the autobuild config HAVE_SENDMMSG check 5501 * Add autobuild detection of sendmmsg 5502 * Makefile.config: minor cleanups 5503 * Makefile.config: use more generic rules for checking 5504 * Makefile.config: use generic have_test_prog rule for asm nop test 5505 * Makefile.config: use generic have_test_prog rule for alignment build 5506 checks 5507 * Makefile.config: add and use generic have_test_prog rule 5508 * stress-ng.h: re-order shim_ function declarations 5509 * Add autoconfig check for execveat 5510 * Move shim_execveat to main shim source 5511 * README: Add Dilos to notes 5512 * Makefile: use standard grep for dilos 5513 * stress-sysbadaddr: make ro_page and rw_page void * rather than uint8_t 5514 * stress-sigsegv: clean up warnings on older gcc on solaris 5515 * stress-rmap: clean up warnings on older gcc on solaris 5516 * stress-mmapaddr: clean up warnings on older gcc on solaris 5517 * stress-vforkmany: cleans up warnings on older gcc on solaris 5518 * stress-memthrash: make mem void * rather than uint8_t 5519 * stress-madvise: make buf void * rather than uint8_t 5520 * stress-bad-altstack: make stack pointer void * rather than uint8_t * 5521 * stress-loop: add stress_loop_supported for non-linux platforms 5522 * cache: minor change to comment block 5523 * stress-loop: use HAVE_LINUX_LOOP_H build detection 5524 * Makefile.config: check for linux/loop.h 5525 * stress-loop: check for ioctl commands before using them 5526 * Add loopback stressor 5527 * stress-sysfs: work around race on TPM driver for Linux 5528 5529 -- Colin King <colin.king@canonical.com> Thu, 18 Oct 2018 14:09:17 +0100 5530 5531stress-ng (0.09.42-1) unstable; urgency=medium 5532 5533 * Makefile: bump version 5534 * stress-quota: abort early if we get EPERM errors (LP: #1796248) 5535 * stress-get: fix check for HAVE_ADJTIMEX or HAVE_ADJTIME 5536 * stress-pthread: work around broken pthread join that returns 5537 ESRCH (LP: #1796249) 5538 * stress-chroot: check for EINVAL for Haiku 5539 * stress-link: disable link stressor for Haiku 5540 * stress-get: disable a couple of rlimit types for Haiku 5541 * stress-cpu: define expl as exp for Haiku as it's not yet defined 5542 * Update README, add Haiku notes 5543 * Makefile: add -lc for non-Haiku, and -lnetfork for Haiku 5544 * helper: fix warnings on systems where strsignal returns const char * 5545 * Add autodetection of nice 5546 * Add autodetection of setpriority, fall back to using nice if we 5547 don't have it 5548 * stress-get: only declare is_root when required for adjtime* functions 5549 * Add autodetection of adjtime 5550 * stress-get: don't declare array priorities if getpriority does not 5551 exist 5552 * Add automatic detection of getpriority 5553 * stress-fault: don't declare usage for Haiku 5554 * stress-fault: don't print ruseage stats for Haiku 5555 * stress-dev: disable for Haiku 5556 * Add more info to README file 5557 5558 -- Colin King <colin.king@canonical.com> Fri, 5 Oct 2018 10:29:34 +0100 5559 5560stress-ng (0.09.41-1) unstable; urgency=medium 5561 5562 * Makefile: bump version 5563 * stress-dirdeep: clean up warning if O_DIRECTORY is not defined 5564 * stress-dir: clean up warning if O_DIRECTORY is not defined 5565 * stress-sysbadaddr: move ustat include to fix kfreeBSD build warnings 5566 * Manual: update date 5567 * Manual: update contributors list 5568 * Fixed thermal zone use after free bug in multi-process test. 5569 * thermal-zone: don't accumulate insane temperatures 5570 * stress-*: make sure structs are packed more efficiently 5571 * stress-dynlib: don't use if building a static image 5572 * stress-quota: keep if/else codestyle consistent 5573 * stress-sctp: break up declaration + assignment 5574 * stress-resources: add pkey alloc/free resource consumer 5575 * stress-numa: add in extra brackets to match coding style 5576 * stress-matrix: fix comment, not cpu stressor but matrix stressor 5577 * stress-kcmp: prefix kcmp consts with SHIM_ to avoid name clashes 5578 * syscalls.txt: add pkey_* and renameat* syscalls 5579 * stress-rename: use renameat2 system call if available 5580 * stress-rename: use renameat system call if available 5581 * Add autoconfig detection of renameat system call 5582 * Add autoconfig detection of renameat2 system call 5583 * Move pkey shims to shim.c 5584 * stress-pkey: add pkey memory protection thrash stress test 5585 * stress-enosys: add pket_get and pkey_set 5586 * stress-enosys: Add io_pgetevents 5587 * stress-enosys: add rseq system call 5588 * stress-dirdeep: add directory data sync'ing for more stress 5589 * stress-dir: add directory data sync'ing for more stress 5590 * stress-*: replace fsync with shim_fsync 5591 * Add shim helper for fsync, helps with no-op OS X fsync 5592 5593 -- Colin King <colin.king@canonical.com> Wed, 26 Sep 2018 12:00:01 +0100 5594 5595stress-ng (0.09.40-1) unstable; urgency=medium 5596 5597 * Makefile: bump version 5598 * Manual: update date 5599 * log: cast fractions of seconds to long 5600 * stress-get: move timex declarations to HAVE_ADJTIMEX block statement 5601 * Use HAVE_MREMAP check for mremap system call 5602 * Add autobuild test for mremap system call 5603 * stress-malloc: use HAVE_MALLOPT check for threshold variable 5604 * stress-malloc: use HAVE_MALLOPT check for mallopt glibc function 5605 * Add mallopt glibc function autodetection 5606 * stress-ioport: fix check on HAVE_IOPORT and not IOPORT 5607 * stress-ioport: use HAVE_IOPORT check for ioport system call 5608 * Add autobuild test for ioport system call 5609 * stress-inode-flags: build valid stressor if specific ioctl flags are 5610 defined 5611 * stress-get: use HAVE_PRLIMIT check for prlimit system call 5612 * Add autobuild test for prlimit system call 5613 * stress-get: use HAVE_ADJTIMEX check for adjtimex system call 5614 * Add autobuild test for adjtimex system call 5615 * stress-get: move locals to block statements 5616 * stress-sysbadaddr: use autodetection config for getresgid and 5617 getresuid calls 5618 * stress-get: use autodetection config for getresgid and getresuid 5619 calls 5620 * Add autobuild checks for getresgid and getresuid 5621 * README: update dependencies information 5622 * stress-sysfs: exercise each sysfs for a specific time or number of 5623 iterations 5624 * Add shim_usleep_interruptible, an interruptible usleep 5625 * stess-sysfs: exercise each sysfs file for a 1/25 of a second 5626 * stress-sysfs: improve draining control in threads 5627 * Add .gitignore 5628 * stress-sysfs: back off pthreads when kernel log spamming is detected 5629 * manual: fix typo: multiple -> multiply 5630 * stress-sysfs: close file if we have messages that needed draining 5631 * Add bad alternative stack stressor 5632 * stress-procfs: free directory entries, fixes memory leak 5633 * stress-dirdeep: free directory entries, fixes memory leak 5634 * stress-dev: free directory entries, fixes memory leak 5635 * stress-sysfs: free directory entries, fixes memory leak 5636 * stress-sysfs: skip over sysfs files that produce a lot of kernel 5637 spamming 5638 * Add more info in the README file 5639 5640 -- Colin King <colin.king@canonical.com> Wed, 12 Sep 2018 17:11:11 +0100 5641 5642stress-ng (0.09.39-1) unstable; urgency=medium 5643 5644 * Makefile: bump version 5645 * stress-hdd: add yield points 5646 * stress-dev-shm: add an extra yield point 5647 * stress-bigheap: add an extra yield point 5648 * stress-af-alg: add more yield points 5649 * tests: fast-test-all: add timestamp to log output 5650 * stress-fiemap: wrap overly wide #if defined checks 5651 * stress-enosys: add address passing args 5652 * Replace loop variable i with j 5653 * Fix typo in comment 9 -> 0 5654 * stress-zlib: add comment, remove two white spaces 5655 * stress-zlib: add zlib-level compression level and zlib rate stats 5656 * Add timestamp to log with --timestamp option 5657 * Add -pipe to CFLAGS, speeds up build by a few seconds 5658 * Makefile: remove -Wabi on pedantic builds 5659 * Replace int type with int32_t on loop counters 5660 * Rename macro argument lower_name to name 5661 * Manual: add Khem Raj to contributors name list 5662 * TODO: Add restartable sequencues 5663 * stress-chown: be less fussy about -EPERM failures 5664 * stress-get: ignore EINVAL on getgroups failures 5665 * stress-get: ignore EINVAL on getpriority failures 5666 * stress-af-alg: check for EBUSY bind failures 5667 * stress-stackmmap: simplify SEGV handling using a child process 5668 * stress-mmapfixed: don't be so verbose about SIGSEGVs on fixed mmaps 5669 * stress-sysfs: add check for some broken sysfs files 5670 5671 -- Colin King <colin.king@canonical.com> Tue, 4 Sep 2018 11:36:21 +0100 5672 5673stress-ng (0.09.38-1) unstable; urgency=medium 5674 5675 * Makefile: bump version 5676 * Makefile: ensure fast-test-all and slow-test-all build with config 5677 * stress-fork: print correct fork/vfork name on an error 5678 * stress-fork: don't throw error on EAGAIN or ENOMEM (LP: #1788385) 5679 * stress-sysfs: add SEGV detection and abort 5680 * stress-funccall: make deep calls perform more stack work 5681 * stress-fiemap: remove blank line 5682 * stress-dir: rename d_reclen to d_namlen for DragonFly BSD 5683 * stress-dev: clean up overly wide function prototypes 5684 * stress-dccp: make loop iterator size_t 5685 * stress-mmap: move } outside #if #endif, fix *BSD build error 5686 * stress-chdir: remove blank line 5687 * stress-access: remove empty line 5688 * stress-ng: don't enable TARGET_CLONES for musl 5689 * stress-ng: don't exit a failure if no stressors are run when some 5690 are not supported 5691 * stress-dnotify: check if dnotify is supported by linux kernel 5692 * stress-access: make bool is_root const 5693 * stress-access: make struct fields const 5694 * stress-mmap: add hole punching to mmap'd file 5695 * ignite-cpu: remove extraneous debug 5696 * Manual: add note about using --timer-slack 0 for high freq timers 5697 5698 -- Colin King <colin.king@canonical.com> Thu, 23 Aug 2018 16:54:53 +0100 5699 5700stress-ng (0.09.37-1) unstable; urgency=medium 5701 5702 * Makefile: bump version 5703 * snapcraft: add stage packages and build with hardening settings 5704 * stress-chown: cater for OpenBSD chown returning 0 and errno being set 5705 * stress-zlib: don't report write failure if errno == 0 5706 * stress-fp-error: relax checking for pre glib 4.8 5707 * Add voidifications on ignored function returns 5708 * ignite-cpu: set freq governor and restore settings at end 5709 * ignite-cpu: try and set max cpu frequency scaling setting 5710 * cache: add G size specifier 5711 * Makefile: check for GNU/kFreeBSD and set __FreeBSD_Kernel__ 5712 * stress-sysbadaddr: only use ustat if HAVE_USTAT is defined 5713 * stress-ng.h: rename statx_timestamp to shim_statx_timestamp 5714 5715 -- Colin King <colin.king@canonical.com> Mon, 13 Aug 2018 13:58:57 +0100 5716 5717stress-ng (0.09.36-1) unstable; urgency=medium 5718 5719 * Makefile: bump version 5720 * stress-schedpolicy: ignore EINVAL on non-POSIX policies 5721 * mungify _ to - on stressor name before calling the stressor 5722 * stress-seek: disabled SEEK_HOLE and SEEK_DATA for OS X 5723 * stress-fp-error: relax checking on non-Linux systems 5724 * stress-schedpolicy: skip FIFO if sched_get_priority_min/max return -1 5725 * stress-mknod: fix cut-n-paste error on struct stress_info_t 5726 * stress-fp-error: be less pedantic with errno checks on non-Linux systems 5727 * stress-mknod: disable this for non-Linux systems 5728 * stress-affinity: check that process can set CPU affinity 5729 * stress-access: remove AT_SYMLINK_NOFOLLOW, it is not needed 5730 * stress-vm-segv: remove some old commented out debug text 5731 * stress-vm-segv: retry on ENOMEM on fork 5732 * stress-vm-segv: make child process non-dumpable 5733 * test/test_modify_ldt: fail for no-x86 architectures 5734 * stress-cpu: compute geometric mean by split mantissa and exponent method 5735 * stress-fork: turn warnings off around vfork and not fork 5736 * stress-dentry: fall back to using fcntl if flock is not available 5737 * Turn off warnings around vfork calls 5738 * Makefile: "SunOS" should be SunOS and not quoted in if statement 5739 * Makefile: check for SunOS to use non-default grep for -e capability 5740 * stress-dentry: don't flock the entry if we don't have flock flags 5741 5742 -- Colin King <colin.king@canonical.com> Thu, 2 Aug 2018 14:39:41 +0100 5743 5744stress-ng (0.09.35-1) unstable; urgency=medium 5745 5746 * Makefile: bump version 5747 * stress-file-ioctl: check size against stat buf size 5748 * stress-file-ioctl: remove redundant buffer 5749 * stress-file-ioctl: print differences in sizes on error of 5750 FIOQSIZE ioctl 5751 * stress-sysfs: use shim_ spinlock type rather than direct structure 5752 * perf: use shim_ spinlock rather than direct call 5753 * stress-procfs: use shim_ spinlock rather than direct call 5754 * stress-procfs: use shim_ spinlock rather than native call 5755 * stress-dev: use shim spinlock rather than native call 5756 * stress-dccp: skip stressor if DCCP protocol not supported 5757 * stress-af-alg: return EXIT_NOT_IMPLEMENTED if protocol is not 5758 supported 5759 * rename set_cpu_affinity to stress_set_cpu_affinity 5760 * Update comment relating to stressor names 5761 * Make stressor command options match 1-to-1 with info and function 5762 names 5763 * Re-work STRESSOR macro so that we don't need upper case name anymore 5764 * Make stressor names with OPT_ options match 5765 * Make stressor names with stressor #defines match 5766 * Add more comments and make index i a size_t 5767 * Add helper to mlock stress-ng into memory 5768 * stress-procfs: use copy of proc_path and set to empty string rather 5769 than NULL 5770 * stress-dev: use copy of dev_path and set to empty string rather 5771 than NULL 5772 * stress-sysfs: copy sysfs_path while locked into path 5773 * stress-sysfs: don't nullify sysfs_path, set it to empty string and 5774 lock it 5775 * stress-personality: don't verify personality setting, it does not work 5776 * stress-sysfd: temporarily disable read access fstat error 5777 * rename snapcraft directory to snap 5778 5779 -- Colin King <colin.king@canonical.com> Fri, 20 Jul 2018 12:19:44 +0100 5780 5781stress-ng (0.09.34-1) unstable; urgency=medium 5782 5783 * Makefile: bump version 5784 * Ensure all fail log messages set the error to EXIT_FAILURE 5785 * Manual: update contributors list 5786 * stress-opcode: make child process non-dumpable 5787 * Add bcd and utf8 zlib data methods to manual 5788 * stress-zlib: add 8 bit UTF-8 data stream 5789 * stress-zlib: put BCD data as bytes not 32 bit words 5790 * stress-zlib: add bcd data mode 5791 5792 -- Colin King <colin.king@canonical.com> Mon, 16 Jul 2018 23:50:22 +0100 5793 5794stress-ng (0.09.33-1) unstable; urgency=medium 5795 5796 * Makefile: bump version 5797 * stress-pty: make open failure on ENOMEM non-fatal 5798 * stress-sockpair: handle EPERM error on read gracefully 5799 * stress-quota: don't count a pass as a failure 5800 * stress-quota: add some ESRCH failure debug info 5801 * stress-quota: don't fail if file system does not enable quota 5802 * stress-socket: don't make ECONNRESET on recv fatal 5803 * stress-spawn: skip if run as root 5804 * stress-spawn: fix comment 5805 * stress-vm: only declare stress_set_vm_flags if it is required 5806 * cache: remove unused function get_cache_name 5807 * stress-iomix: only declare stress_iomix_inode_ioctl when it is 5808 required 5809 * stress-sleep: remove sleep-max-adjustment handler 5810 * stress-pthread: remove pthread-max-adjustment handler 5811 * stress-unshare: only declare check_unshare when it is really 5812 required 5813 * stress-file-ioctl: only declare check_flag when it is really 5814 required 5815 * stress-dev: declare ret only for when it is used 5816 * stress-chroot: sanity check for ENOENT as a false positive 5817 * Add a slow-test-all make rule to perform more exhaustive testing 5818 * stress-dentry: remove redundant args argument 5819 * Add ptrace build autodetection 5820 * Update copyright year to 2018 in some odd files 5821 * Remove trailing space and tabs from end of lines 5822 * ignite-cpu: set process name to stress-ng-ignite 5823 * thrash: use the pagein method of forcing pages back into memory 5824 * thrash: add ksm memory merging (Linux only) 5825 * thrash: add kernel memory compaction (Linux only) 5826 * stress-dentry: add some misc operations on a directory fd 5827 * stress-dentry: add lookup failures to exercise directory searching 5828 * Add a watchdog stressor 5829 * stress-kill: add some early delay to give parent time to spawn 5830 stressors 5831 * stress-rtc: add select on RTC device 5832 * stress-netlink-proc: fix build with kernel v3.9 5833 * stress-context: rename uc_link to uctx_link 5834 5835 -- Colin King <colin.king@canonical.com> Thu, 5 Jul 2018 16:46:12 +0100 5836 5837stress-ng (0.09.32-1) unstable; urgency=medium 5838 5839 * Makefile: bump version 5840 * Makefile: add .travis.yml to make dist rule 5841 * stress-dev-shm: reduce scope of variable ret 5842 * stress-fstat: add yield point to get lower-latency in stopping 5843 * stress-dev-shm: handle interrupted wait to fix utime accounting 5844 * stress-dev-shm: use shim_fallocate for older kernels that don't 5845 support it 5846 * stress-pthread: don't block threads from SIGALRM for DragonFly BSD 5847 * stress-pthread: don't block threads from SIGALRM for OS X 5848 * stress-fstat: don't block threads from SIGALRM for OS X 5849 * stress-dev: skip devices that are not standard chr or blk devices 5850 * Check for chr or blk device using S_ISCHR/S_ISBLK 5851 * Fall back to mutexes instead of spinlocks for OpenBSD 5852 * stress-iomix: make kill and wait into two phases 5853 * stress-msg: add extra yield points for prompt death of children 5854 * stress-msg: add yielding to boost performance and help NetBSD 5855 * shim: make FreeBSD use the emulated fallocate for the moment 5856 * stress-zlib: constify data, cleans up clobbering warning 5857 * stress-dev-shm: close fd on exit 5858 * stress-sigpipe: move declaration of sigpipe_count 5859 * Add /dev/shm memory stressor 5860 * stress-dev: remove duplicated BLKSSZGET ioctl 5861 * stress-cyclic: reformat table contents 5862 * stress-clock: add 4.17 CLOCK_MONOTONIC_ACTIVE clock 5863 * stress-mmapfixed: add new 4.17 MAP_FIXED_NOREPLACE flag 5864 * stress-matrix: only print matrix method on first stressor instance 5865 * stress-matrix: add more yield points for snappier exits 5866 * stress-socket-fd: remove debug message 5867 * stress-socket-fd: add more yield points on fd recv and closing 5868 * stress-sctp: handle failures more gracefully, retry rather than 5869 abort 5870 * stress-cpu: Add LIKELY hint on callfunc stressor, speeds up 5871 by ~0.8% 5872 * stress-cpu: optimize primes a little further 5873 * Add UNLIKEY hint on sqrt stressor, speeds up by ~3% 5874 * stress-cpu: add UNLIKELY hint on hanoi zero depth 5875 * stress-ng: call free_settings to fix memory leak on process exits 5876 * cache: fix removed assignment to cpu count and make buffer larger 5877 * cache: use sizeof types to fix segfault 5878 * helper: put PRAGMAs around function rather inside function 5879 * Use trusty dist in travis 5880 * Force disabling of warnings on older versions of gcc 5881 * Add travis build yaml 5882 * stress-ng: rename abort to do_abort to avoid shadowing of global 5883 function abort 5884 * stress-zlib: rename rand to rnd to avoid shadowing with global 5885 function rand 5886 * stress-zlib: rename index to idx to avoid shadowing with global 5887 function index 5888 * stress-utime: rename times to timevals to avoid shadowing with 5889 global function times 5890 * stress-sigpending: rename sigset to _sigset to avoid shadowing of 5891 global sigset 5892 * stress-rtc: rename alarm to wake_alarm to avoid shadowing with 5893 function alarm 5894 * stress-rawdev: rename function shift to shift_ul 5895 * stress-link: remove need for symlink argument 5896 * rename acct to account to avoid shadowing with function acct 5897 * stress-fanotify: rename mount to mnt to avoid shadowing with 5898 function mount 5899 * rename times to timespec to avoid shadowing with global function 5900 times 5901 * stress-dev: rename stat to vt_stat to avoid shadowing with 5902 function stat 5903 * stress-cpu: rename gamma to _gamma to fix shadowing with 5904 function gamma 5905 * stress-context: rename link to uc_link to avoid shadowing with 5906 function link 5907 * stress-branch: rename index to _index inside macro to avoid 5908 global shadowing 5909 * Rename mount to mnt to ensure we don't shadow global function 5910 mount 5911 5912 -- Colin King <colin.king@canonical.com> Wed, 27 jun 2018 19:12:17 +0100 5913 5914stress-ng (0.09.31-1) unstable; urgency=medium 5915 5916 * Makefile: bump version 5917 * cache: fix out of bounds access and potential null pointer 5918 dereferences 5919 * cache: fix various warnings when building with gcc-8.1.1 5920 * stress-memfd: fix build warning on whence not being used 5921 * Makefile.config: add detection for APPARMOR_PARSER failures 5922 * perf: Add some more SW perf events 5923 * Makefile: fix perf HW events, need to pick up $(CFLAGS) 5924 * stress-matrix: add a square product matrix method 5925 * Ensure apparmor binary data is removed 5926 * Add extra sanity checking for apparmor builds 5927 * stress-mmapaddr: use correct signal handler 5928 * Re-order message queue stressor, it's not in the correct place 5929 * stress-timerfd: reduce scope of buffer 5930 * stress-efivar: reduce scope of varname and guid_str 5931 * stress-chdir: remove hard coded chdir_dirs setting 5932 * stress-rmap: child should _exit rather than return on error 5933 * stress-zlib: add a zero block data method 5934 * stress-sigfpe: just clear siginfo.si_code field 5935 * stress-sigfpe: use assignment rather than memset to zero siginfo 5936 * stress-timerfd: remove shadowed declaration of ret 5937 * stress-sigfpe: remove shadowed declaration of ret 5938 * Don't exit child sub-processes with exit() (LP: #1777564) 5939 * stress-inotify: fix various gcc-8 warnings 5940 * stress-sysbadaddr: pass non-aliased addresses to system calls 5941 * stress-filename: clean up gcc 8.1 warning 5942 * stress-fanotify: clean up gcc warning 5943 * Clean up gcc-8 warning by making filename 5 chars smaller 5944 5945 -- Colin King <colin.king@canonical.com> Thu, 21 jun 2018 14:38:18 +0100 5946 5947stress-ng (0.09.30-1) unstable; urgency=medium 5948 5949 * Makefile: bump version 5950 * stress-socket: fix build warning if FIONREAD is not defined 5951 * Add sanity check that child stressor processes are not calling exit() 5952 * stress-sigio: don't exit in sighandler; return back normally 5953 * stress-utime: fix failing utimes and futimens calls 5954 * stress-memcpy: fix clobbering of stats data when copying b_str 5955 * stress-shm: perform extra file operations on shm file descriptor 5956 * Add new real time signal stressor, sigrt 5957 * stress-sigsegv: add some verification checking 5958 * stress-access: voidify return from umask 5959 * stress-splice: remove variable bytes, replace with ret 5960 * stress-apparmor: add a few more yield points 5961 * stress-fifo: retry on select timeout rather than terminate 5962 5963 -- Colin King <colin.king@canonical.com> Fri, 15 jun 2018 16:52:25 +0100 5964 5965stress-ng (0.09.29-1) unstable; urgency=medium 5966 5967 * Makefile: bump version 5968 * Manual: fix spelling mistakes and update date 5969 * stress-sigfpe: remove need for fp_zero 5970 * stress-sigfpe: cater for systems without SA_SIGINFO 5971 * stress-socket: fix warning on unused variable ret 5972 * stress-sigfpe: remove feenableexcept, it is extraneous 5973 * stress-sigfpe: fix verify mode, match exception with error code 5974 * stress-sigfpe: zero siginfo struct 5975 * stress-apparmor: kill child processes aggressively 5976 * stress-sigfpe: reset fp exception states to fix math issues 5977 * stress-apparmor: add more yield point checking 5978 * Makefile.config: move pthread library to end to fix static linking 5979 issues 5980 * Fix typo in manual, --mmapfixedA-ops -> --mmapfixed-ops 5981 * stress-sigfpe: force more fpe exceptions, exercise handler more 5982 * stress-socket: use TCP_QUICKACK if available 5983 * stress-socket: add FIONREAD size peeking 5984 * stress-userfaultfd: exercise /proc/$pid/fdinfo/$timerfd proc file 5985 * stress-timerfd: exercise /proc/$pid/fdinfo/$timerfd proc file 5986 * Rename g_terminate_signum to terminate_signum and make it static 5987 * Renaming symbols to indicate they are used in process termination 5988 * Remove some unused old struct typedefs 5989 * Make some functions static 5990 * Deconstify some const pointers (ughh) 5991 * Add deconstifier helper. 5992 * remove redundant and shadowing variable ret 5993 * stress-dccp: add missing , 5994 * Move the class info into the stressor_info_t for each stressor 5995 * Rename class_t to class_info_t 5996 * stress-cpu: fix bitops checksum 5997 * stress-access: fix build warning on Solaris with %o on mode_t 5998 * stress-memthrash: restore accidentally removed function 5999 stress_set_memthrash_method 6000 * stress-mergesort: fix missing { 6001 * affinity: fix prototype of set_cpu_affinity 6002 * stress-cyclic: fix build warning on non-linux systems 6003 * Point to stress_not_implemented rather than wrapping each time 6004 * Add stressor_info_t for stress specific info 6005 * Clean up optarg handling, make it more table driven 6006 * Revert Add pr_* logging sleepy locks (LP: #1774571) 6007 * Add pr_* logging sleepy locks 6008 6009 -- Colin King <colin.king@canonical.com> Fri, 8 jun 2018 11:30:00 +0100 6010 6011stress-ng (0.09.28-1) unstable; urgency=medium 6012 6013 * Makefile: bump version 6014 * stress-zlib: rename variable i to j to fix variable shadowing 6015 warning 6016 * stress-prctl: make function stress_prctl_child static 6017 * stress-fanotify: remove shadow'd declaration of ret 6018 * stress-access: remove redundant declaration of ret 6019 * stress-sysbaddaddr: fix indenting 6020 * stress-flock: fix indenting 6021 * stress-enosys: fix indenting 6022 * test/test-modify-ldt: return ret to stop clang warning 6023 * test/test-pselect: make rfds, wfds static, stop clang warnings 6024 * stress-clone: put statements of if block in { } 6025 * stress-shm-sysv: voidify return from shmctl call 6026 * stress-prctl: voidify return from prctl system call 6027 * stress-clone: voidify return from modify_ldt system call 6028 * stress-iomix: fix early termination due to incorrect bogo ops 6029 comparison 6030 * Manual: update thread information for memthrash stressor 6031 * stress-memthrash: add warning and hint about sub-optimal stressor 6032 choice 6033 * stress-af-alg: fix errno = ENOENT assignment, should be == comparison 6034 * stress-set: add autodetect for setregid, setresgid, setresuid, 6035 setreuid 6036 * stress-af-alg: skip over ciphers that may not exist 6037 * stress-af-alg: make ENOKEY a non-critical failure 6038 * stress-af-alg: forgot to add in \n 6039 * stress-af-alg: expand error message to capture more information 6040 * stress-shm-sysv: add exercising for SHM_SET for linux only 6041 * stress-shm-sysv: add SHM_LOCK/SHM_UNLOCK commands 6042 * stress-mq: POSIX mq on linux allows one to read MQ status, add this 6043 * stress-af-alg: add crc32c 6044 * syscalls.txt: update swapon/swapoff info 6045 * stress-hsearch: fix spelling mistake in comment 6046 * syscalls: update statx and umount system calls 6047 * stress-chown: add lchown system call 6048 * stress-xattr: exercise the filename based xattr system calls 6049 * stress-pthread: use tgkill and gettid system calls 6050 * syscalls: mark tkill as obsolete 6051 * syscalls: ignore ugetrlimit 6052 * stress-hdd: use truncate as well as the ftruncate 6053 * syscalls: add update to setsid 6054 * stress-set: add setsid call 6055 * stress-efivar: fix error return in efi_get_variable 6056 * split mlocked region into mlocked text segment and mlocked data segment 6057 * stress-ng.h: add empty macro definitions for ALIGNED and SECTION 6058 * stress-efivar: add ioctl and fstat exercising on efivar fd's 6059 * test/test-setpgid: don't pass -ve args 6060 * stress-set: voidify returns to discard warnings 6061 * Add set stressor 6062 6063 -- Colin King <colin.king@canonical.com> Fri, 25 May 2018 16:18:12 +0100 6064 6065stress-ng (0.09.27-1) unstable; urgency=medium 6066 6067 * Makefile: bump version 6068 * Remove empty end lines from debian/control, debian/changelog 6069 * stress-filename: set rc to EXIT_SUCCESS if we get a timeout on again 6070 loop 6071 * stress-chdir: only use O_DIRECTORY if it is supported 6072 * stress-xattr: remove need to #include <xattr/xattr.h> 6073 * stress-utime: only declare ts when required 6074 * stress-utime: don't use UTIME_NOW or UTIME_OMIT if they are not 6075 defined 6076 * stress-pthread: exercise set_robust_list linux system call 6077 * stress-zlib: fix parity data generator 6078 * Add build-time check for faccessat 6079 * Add new access/faccessat stressor 6080 * stress-zlib: reorder rand_data_funcs and add in missing funcs 6081 * stress-zlib: Add sweep sin wave double prevision data 6082 * Add parity bit data zlib method 6083 * stress-cpu: fix parity sum check 6084 * syscalls.txt: fix up utimensat 6085 * stress-utime: add utimensat system call 6086 * Add build check for utimensat 6087 * stress-efivar: keep track of bad efivars and don't re-read them 6088 * stress-ng.h: forgot to include <asm/ldt.h> when HAVE_MODIFY_LDT is 6089 defined 6090 * Update modify_ldt syscall 6091 * stress-clone: add modify_ldt call 6092 * Add build time check for modify_ldt 6093 * Update syscall.txt with latest syscall additions 6094 * stress-pthread: exercise setns() 6095 * stress-clone: exercise setns() 6096 * Add build time check for setns 6097 * syscalls.c: add fchdir 6098 * stress-chdir: add fchdir syscall 6099 * stress-zlib: add pink noise data generation method 6100 * stress-bind-mount: don't clone signal handlers in clone child 6101 * stress-bind-bound: respawn process to handle limit on bind mounts 6102 * Add a EFI variable reading stressor 6103 * Add prctl stressor 6104 * stress-ng.h: don't allow both HAVE_SYS_XATTR_H and HAVE_ATTR_XATTR_H 6105 * Forgot to commit changes to Makefile.config 6106 * xattr: autodetect for different xattr paths attr/xattr.h and 6107 sys/xattr.h 6108 * stress-dev: add BLKSECTGET ioctl 6109 6110 -- Colin King <colin.king@canonical.com> Mon, 14 May 2018 14:31:12 +0100 6111 6112stress-ng (0.09.26-1) unstable; urgency=medium 6113 6114 * Makefile: bump version 6115 * Remove TARGET_CLONES on some functions that break on gcc 7.2 on 6116 kFreeBSD 6117 * Use nanosleep where possible for usleep, add nanosleep check 6118 * stress-dev: move wfds to select local scope to fix NetBSD warning 6119 * stress-dev: NetBSD hangs on select on some devices, so disable this 6120 * stress-dev: pass child failure status to parent 6121 * stress-dev: fix warning on char being passed to isdigit on NetBSD 6122 * stress-dev: NetBSD uses different sorting prototype 6123 * stress-sigio: don't do fcntl F_SETOWN for minix, it always fails 6124 * stress-sigio: fix hang in *BSD systems when we SIGALRM not handled 6125 * stress-sigio: exit in sighandler to force earlier termination 6126 * stress-sigio: add yield points to break out of heavy looping 6127 * shim: cater for systems that don't have mlock 6128 * stress-utime: check HAVE_FUTIMENS for declaration of ts 6129 * test/test-mq-posix: mq_* is defined but not implemented on kfreeBSD 6130 * test/test-syncfs: syncfs is defined but not implemented on kfreeBSD 6131 * stress-dirdeep: use HAVE_FUTIMENS 6132 * Makefile.comfig: fix typo in funtimens 6133 * test/test-futimens: check also for UTIME_NOW and UTIME_OMIT 6134 * Add build time check for futimens 6135 * test/test-dup3: trigger failure with FreeBSD kernel 6136 * stress-zlib: fix longjmp clobber warnings on data 6137 * stress-revio: make alloc_buf void * to avoid type punning warnings 6138 on gcc 3.4.3 6139 * stress-hdd: make alloc_buf void * to avoid type punning warnings on 6140 gcc 3.4.3 6141 * Add shim wrapper for mlock for Solaris compat reasons 6142 * stress-fanotify: peek into number of bytes to be read with FIONREAD 6143 * stress-crypt: include <crypt.h> if on Solaris 6144 * stress-enosys: avoid warning on unused procs on Solaris 6145 * stress-sysbadaddr.c: avoid warning on unused procs on Solaris 6146 * stress-sysbadaddr.c: include termios.h for TCGETS 6147 * stress-vm-segv: remove debug, it is spamming the output 6148 * stress-sysbadaddr: don't use ustat if it is not defined 6149 * stress-sysbadaddr: ensure we have PTRACE_GETREGS defined 6150 * Workaround failing pthread spinlock on DragonFly BSD 6151 * stress-dev: add /dev/null nop to have at least one item in table 6152 * stress-wait: use HAVE_WAITID to check for waitid() call 6153 * stress-sysbadaddr + Makefile.config: Add HAVE_WAITID check 6154 * stress-sysbadaddr: fix conditional build on bad_clock_gettime 6155 * stress-sysbadaddr: use mincore shim to fix build on GNU/Hurd 6156 * stress-sysbadaddr: ensure TCGETS is defined 6157 * stress-file-ioctl: fix a file handle leak 6158 * Add sysbadaddr stressor to exercise system call bad address handling 6159 * stress-mmap: use new MAP_FIXED_NOREPLACE flag introduced in 4.17 6160 * stress-clock: add CLOCK_MONOTONIC_ACTIVE that was added to Linux 4.17 6161 * stress-oom-pipe: Explicitly drop capabilities to make root spawned 6162 processes more OOMable 6163 * Explicitly drop capabilities to make root spawned processes more 6164 OOMable 6165 * helper: remove some blank lines 6166 * stress-dev: add linux stress for /dev/{mem|kmem|port|kmsg} 6167 * stress-vm-segv: don't assume max size of size_t 6168 * stress-vm-segv: ensure we force SEGVs by invalidating I$ cache 6169 * Add --vm-segv option to force SEGVs on unmapping 6170 * stress-fork: make it more OOMable 6171 * stress-clone: make clone'd procs OOMable 6172 * make main process less likely to be OOM-able 6173 * snapcraft: add libsctp-dev 6174 * stress-tree: rename BSD trees to fix build error on OpenBSD 6.3 6175 6176 -- Colin King <colin.king@canonical.com> Fri, 27 Apr 2018 15:59:11 +0100 6177 6178stress-ng (0.09.25-1) unstable; urgency=medium 6179 6180 * Makefile: bump version 6181 * stress-ng: don't enable TARGET_CLONES for kFreeBSD (LP: #1765050) 6182 * stress-enosys: avoid calling vhangup with upper bits set (LP: #1757967) 6183 6184 -- Colin King <colin.king@canonical.com> Wed, 18 Apr 2018 15:25:51 +0100 6185 6186stress-ng (0.09.24-1) unstable; urgency=medium 6187 6188 * Makefile: bump version 6189 * Misc small fixes detected by static analysis (LP: #1762848) 6190 * stress-fcntl: use | rather than |= to get new_flags 6191 * stress-tmpfs: clear mnts and check if mnts[i] is null 6192 * stress-sync-file: fix incorrect placement of break statement 6193 * stress-af-alkg: check for more NULL cmsg pointers 6194 * stress-pipe: ensure no uninitialized data is written to pipe 6195 * stress-fcntl: use | rather than |= to get new_flags 6196 * test/test-posix-memalign.c: free allocated buffer 6197 * test/test-fanotify.c: free buffer 6198 * stress-mmapfailed: check for null return from mremap 6199 * stress-af-alkg: check for NULL cmsg 6200 * stress-resources: don't open on a null slavename 6201 * stress-sysinfo: ensure mnts array is zero'd 6202 * stress-cpu: make loop index in jenkin func size_t to fix overflow 6203 * stress-vm: don't loop forever in child sleep loop 6204 * ignite-cpu: don't wait for parent to kill loop, add timeout 6205 check too 6206 * Double number of stressor processes up to 8192 6207 * Add stream-index indexing option 6208 * Make some settings global to fix args confustion 6209 6210 -- Colin King <colin.king@canonical.com> Wed, 11 Apr 2018 09:58:44 +0100 6211 6212stress-ng (0.09.23-1) unstable; urgency=medium 6213 6214 * Makefile: bump version 6215 * cache: revert using shim_str* funcs (LP: #1759515) 6216 Using the shim_* str functions breaks the cache globbing paths, 6217 so for now, revert these. 6218 6219 -- Colin King <colin.king@canonical.com> Wed, 28 Mar 2018 10:40:10 +0100 6220 6221stress-ng (0.09.22-1) unstable; urgency=medium 6222 6223 * Makefile: bump version 6224 * stress-mmap: add extra checking on fd, don't do I/O on -ve fd 6225 * out-of-memory: ensure buffer is null-terminated 6226 * out-of-memory: move non-linux variant of process_oomed 6227 * out-of-memory: detect if a stressor was killed by the OOM killer and 6228 don't mark it as a strict stressor failure (LP: #1755245) 6229 * stress-mmap: add missing I/O to/from mmap'd buffer on mmap'd address 6230 * stress-ng.h: fix missing perf option (LP: #1758383) 6231 6232 -- Colin King <colin.king@canonical.com> Fri, 23 Mar 2018 16:44:47 +0000 6233 6234stress-ng (0.09.21-1) unstable; urgency=medium 6235 6236 * Makefile: bump version 6237 * stress-dir: clean up warning on args on DragonFly build 6238 * stress-dir: skip the sanitycheck on DragonFly BSD 6239 * stress-rawdev: reduce the scope of 'ret' 6240 * stress-mmapaddr: reduce the scope of 'ret' 6241 * stress-mcontend: reduce the scope of variable 'cpu' 6242 * stress-matrix: remove redundant initialization of a to NULL 6243 * stress-filename: reduce scope of variable d 6244 * stress-enosys: declare variable lim when only required 6245 * stress-dev: make 'ret' local to ioctl test block scope 6246 * Makefile.config: fix epoll_create build checking 6247 * stress-ioprio: check for systems that don't support pwritev 6248 * shim: overlooked another fallocate glibc call to fixup 6249 * shim: use syscall to call fallocate, older glibc may not support it 6250 * perf: cater for systems that don't support linux/perf_event.h 6251 * stress-urandom: workaround __u32 definitions in pre-2.6.29 kernels 6252 * stress-epoll: detect if epoll_create1 exists 6253 * stress-netlink-proc: don't use PROC_EVENT_SID in kernels earlier 6254 than 2.6.31 6255 * Add detection for linux/fiemap.h 6256 * test/test-librt.c: reorder functions in alphabetical order 6257 * stress-dirdeep: use shim_strlcat instead of strlcat 6258 * Replace strncat with safer strlcat 6259 * Add shim version of strlcat 6260 * Replace strncpy with safer strlcpy 6261 * Add shim and implementation of shim_strlcpy() 6262 * stress-dev: ensure we don't have a non-null terminated filename 6263 * stress-dev: don't sync on fd when open failed 6264 * stress-ng.h: check for spin lock failure 6265 * stress-dev: add #ifdef around stress_dev_tty 6266 * stress-dev: add #ifdef around struct termios tios declaration 6267 * stress-dev: remove gettid, only used during debug on linux 6268 * stress-dev: remove debug 6269 * stress-dev: randomly mix up device path scanning, limit to max 3 of 6270 same device 6271 * stress-dev: add missing /dev/random ioctl handling 6272 * stress-dev: add some Linux SCSI ioctls for block devices 6273 * stress-file-ioctl: fix missing #if / #endif around shim_fallocate 6274 * stress-procfs: mix up path name order to get a better spread 6275 * stress-sysfs: mix up path name order to get a better spread 6276 * stress-xattr: add missing setxattr and lsetxattr system calls 6277 * stress-utime: add NULL utimes time and non-nul utime parameters 6278 * stress-dir: add missing readdir() exercising 6279 * stress-file-ioctl: add missing FIDEDUPERANGE ioctl 6280 * stress-file-ioctl: exercise FS_IOC_RESVSP64 6281 * stress-fcntl: ensure F_OWNER_GID is being exercised 6282 * stress-get: add Linux lookup_dcookie call 6283 * stress-dev: exercise tty ioctls on devices 6284 * stress-file-ioctl: disable FIFREEZE/FITHAW filesystem ioctls 6285 * test/test-ustat.c: ustat will fail on __arch64__, so don't enable it 6286 * stress-enosys: add extra paranoid check on reboot syscall check 6287 * stress-enosys: ensure all known syscalls are added to hash 6288 table (LP: #1755358) 6289 * Makefile.config: add -Wextra build check on ustat 6290 6291 -- Colin King <colin.king@canonical.com> Wed, 21 Mar 2018 12:59:58 +0000 6292 6293stress-ng (0.09.20-1) unstable; urgency=medium 6294 6295 * Makefile: bump version 6296 * stress-procfs: remove debug (LP: #1755552) 6297 * stress-madvise: fix build issue for HPPA (LP: #1755551) 6298 * stress-dev: add missing FIBMAP to block dev stressor 6299 * Fix missing stressors in mini-help and re-order some 6300 * Remove duplicated "futex" stressor from stressor table 6301 6302 -- Colin King <colin.king@canonical.com> Tue, 13 Mar 2018 17:58:49 +0000 6303 6304stress-ng (0.09.19-1) unstable; urgency=medium 6305 6306 * Makefile: bump version 6307 * stress-cyclic: fix typo in time measurement, us should be ns 6308 * stress-enosys: add checks on RLIMIT_* macros 6309 * bump target_clones attribute to gcc 5.5 6310 * stress-mcontend: don't msync if it is not available 6311 * Disable target_clones attribute on GNU_HURD 6312 * stress-procfs: make stressor more stressful, less thread spawning 6313 * stress-enosys: wider sanity checks for fork/vfork/cloning (LP:#1753705) 6314 * Forgot to add test/test-personality.c 6315 * stress-enosys: try to limit fork run-away (LP:#1753705) 6316 * Add personality autoconfiguration detection 6317 * stress-mcontend: fix non-Linux build 6318 * stress-cpu: fix clang build error 6319 * Add new mcontend memory contention stressor 6320 * stress-af-algo: add a couple more crypto module tests 6321 * Add GCC-5 target_clones attribute 6322 * stressors: use the new cpu_is_x86 helper 6323 * Add cpu.c and cpu_is_x86 cpu detection helper 6324 6325 -- Colin King <colin.king@canonical.com> Mon, 12 Mar 2018 10:30:58 +0000 6326 6327stress-ng (0.09.18-1) unstable; urgency=medium 6328 6329 * Makefile: bump version 6330 * stress-sysfs: sysfs_path does not need to be marked as volatile 6331 * stress-flock: make function stress_flock_child static 6332 * stress-dev: pass thread data using pthread_args_t context 6333 * stress-dev: rename ret to wret to fix variable shadowing 6334 * stress-seal: don't redefine MFD_ALLOW_SEALING 6335 * test/test-ustat: fail for GNU/HURD, it is not implemented 6336 * helper: use sz only in scope that requires it 6337 * stress-fcntl: fix build error in do_fcntl 6338 * Pass SHIM_PTHREAD_PROCESS_SHARED rather than 0 as flags arg 6339 to shim spin lock init 6340 * stress-dev: Fix compat shim build warnings on OS X 6341 * stress-dev: use abstracted pthread spinlock for portability sake 6342 * syscalls.txt: add getpagesize 6343 * stress-get: use getpagesize if it is available 6344 * helper: use getpagesize() for legacy systems without sysconf 6345 * Add automatic build getpagesize detection 6346 * stress-exec: where possible, use execveat() as well as execve() 6347 * syscalls.txt: add epoll_create and epoll_pwait to syscall table 6348 * stress-epoll: use epoll_create and epoll_pwait to get more coverage 6349 * stress-sock: use accept4 to add more system call coverage 6350 * stress-dev: add some block specific ioctls 6351 * stress-dev: add more seeking and shared memory mapping 6352 * syscalls: add ustat 6353 * stress-sysinfo: add legacy ustat() system call 6354 * Update syscalls log 6355 * stress-poll: add ppoll and pselect calls to add more stress coverage 6356 * stress-dev: make stressor more stressful, less thread spawning 6357 * stress-sysfs: only stress sysfs if spinlock succeeded and bump counter 6358 * stress-sysfs: remove redundant null check on path 6359 * stress-sys: make stressor more stressful, less thread spawning 6360 6361 -- Colin King <colin.king@canonical.com> Wed, 28 Feb 2018 16:26:38 +0000 6362 6363stress-ng (0.09.17-1) unstable; urgency=medium 6364 6365 * Makefile: bump version 6366 * Manual: update date 6367 * stress-rawdev: make some functions static 6368 * stress-funcall: fix -Wmissing-declarations warning message 6369 * stress-file-ioctl: remove extraneous shadowed variable 'ret' 6370 * stress-madvise: make ret non-clobberable for gcc 4.2.1 6371 * Add minimum GCC version for Pragma push/pop 6372 * shim: older gcc required pragmas outside of functions 6373 * stress-enosys: older gcc required pragmas outside of functions 6374 * Check for clang version when using pragmas 6375 * stress-file-ioctl: remove debug printf 6376 * Add new file-ioctl stressor 6377 * shim: disable warnings for brk and sbrk for OS X 6378 * Swap ordering on compiler detection on pragmas 6379 * stress-enosys: turn off warning on syscall, cleans up OS X warning 6380 * Add no warning pragma macros 6381 * Makefile: force sync after build in case reboot loses executable 6382 * stress-enosys: add syscall7 shim 6383 * stress-dirdeep: only print info message on instance #0 6384 * stress-enosys: wrap with OOM catcher (LP: #1750787) 6385 * stress-dev: add bug reference to hpet failure 6386 * stress-enosys: exercise more arguments in syscall 6387 * Manual: udp-lite should be for ipv6 as well as ipv4 6388 * Manual: update arch specific limitations on lockbus and memthrash 6389 stressors 6390 * Return EXIT_NOT_IMPLEMENTED when system call returns ENOSYS 6391 * stress-userfaultfd: don't fail with an error if ENOSYS is returned 6392 * stress-membarrier: don't fail with an error if ENOSYS is returned 6393 * stress-getrandom: don't fail with an error if ENOSYS is returned 6394 * helper: make zero more obscure so that optimizer won't optimize 6395 zero out 6396 * stress-filename: remove shadowed redundant variable ret 6397 * Makefile: build perf-event with $(CC) rather gcc 6398 * stress-wcstr: fix warning on systems without wcs functions 6399 * job: make fp non-clobberable, cleans up build warning on gcc 4.8.4 6400 * stress-softlock: clean up clobbering warning on gcc 4.9.2 6401 * mwc: add more information into the reseed mix 6402 * stress-filename: don't closedir on a NULL dir pointer 6403 * Move LIB_DL headers to stress-ng.h 6404 * stress-dynlib: try to read the function memory to force page fault 6405 * Manual: fix enosys-ops entry, missing e from enosys-ops 6406 * Add new dynlib shared library dynamic loading stressor 6407 * stress-tree: make nodes align naturally with padding 6408 * stress-tree: move data to start of struct, ensures natural alignment 6409 * stress-tree: clean splay nodes at removal time 6410 * stress-tree: ensure splay tree data is cleared 6411 * stress-exec: drop all capabilities before exec'ing 6412 * stack-mmap: add MAP_STACK flag 6413 6414 -- Colin King <colin.king@canonical.com> Thu, 22 Feb 2018 14:04:11 +0000 6415 6416stress-ng (0.09.16-1) unstable; urgency=medium 6417 6418 * Makefile: bump version 6419 * Silence a build warning on %d for g_pgrp, cast to int 6420 * Use the new is_dot_filename() helper 6421 * Add is_dot_filename helper function to check for "." or ".." filenames 6422 * stress-filename: clean up temporary files on forced termination 6423 * stress-handle: catch any SIGKILL signals and report back 6424 * stress-filename: catch any SIGKILL signals and report back 6425 * Print process ID in [ ] braces 6426 * Add debug to inform us when stress-ng kills process group with SIGKILL 6427 * Makefile: make build output less noisy and cluttered 6428 * helper: add in compiler major minor info 6429 * stress-vecmath: don't built with clang less than version 5.0 6430 6431 -- Colin King <colin.king@canonical.com> Thu, 15 Feb 2018 17:41:32 +0000 6432 6433stress-ng (0.09.15-1) unstable; urgency=medium 6434 6435 * Makefile: bump version 6436 * debian/copyright: fix insecure debian copyright URL 6437 * debian/compat: update to 11 6438 * debian/control: update debhelper to >= 11 6439 * stress-bind-mount: ensure we have clone support with HAVE_CLONE 6440 check, fixes another FTBFS in ia64 6441 * stress-wait: remove empty line 6442 * Rename array and type unsupported to supported 6443 * stress-flock: Add more flock lock types, add more stressing children 6444 6445 -- Colin King <colin.king@canonical.com> Sat, 3 Feb 2018 15:02:11 +0000 6446 6447stress-ng (0.09.14-1) unstable; urgency=medium 6448 6449 * Makefile: bump version 6450 * stress-sigpipe: reduce scope of int ret 6451 * stress-wcsstr: sanity check to see if there are any wcs* functions 6452 * Add full wide char function autodetection 6453 * stress-chown: workaround a NetBSD hang on usleep 6454 * stress-chmod: workaround a NetBSD hang on usleep 6455 * stress-cpu: add __fp16 float16 support (ARM) 6456 * test/test-float: ensure test code is not overly optimized out 6457 * test/test-float.c: ensure build options are same as stress-cpu.c 6458 * Generalize float type config tests 6459 * stress-cpu: Add float32, float80 and float128 support 6460 * stress-ng: add some alignment tweaks to naturally align fields 6461 * Add a new vm-addr virtual memory address stressor 6462 * README: update number of stressors 6463 * stress-funccall: make functions non-static, force less optimization 6464 * stress-vm: add UNLIKELY annotations to improve performance 6465 * stress-procfs: don't write using a NULL badbuf 6466 * Add sigpipe stressor 6467 * Add bad write buffer to procfs write 6468 * stress-procfs: do proc writes only if proc_write is true 6469 * stress-vm-rw: fix build failure on ia64 with missing HAVE_CLONE 6470 6471 -- Colin King <colin.king@canonical.com> Tue, 30 Jan 2018 13:17:21 +0000 6472 6473stress-ng (0.09.13-1) unstable; urgency=medium 6474 6475 * Makefile: bump version 6476 * Manual: update date 6477 * Makefile.config: reorder detection, no major change 6478 * stress-userfault: add missing check for HAVE_CLONE, should fix 6479 FTBFS for ia64 arch 6480 * Rename stress_hdd_opts to stress_set_hdd_opts 6481 * Rename stress_filename_opts to stress_set_filename_opts 6482 * stress-matrix: make a couple of functions static 6483 * stress-enosys: fix variable shadowing warning 6484 * Add HAVE_SYSCALL_H detection and try to get more syscall coverage 6485 * stress-enosys: add an a complete set of known syscalls to skip 6486 * stress-enosys: make index ssize_t, fixes GNU/HURD build warning 6487 * Ensure skip syscall array is at least 1 element 6488 * Add a new enosys system call stressor 6489 * test/test-notify: add sanity check on message length 6490 * stress-cyclic: cast longs to int64_t before multiply to fix overflow 6491 * stress-funccall: add arg swapped recursion to calls 6492 * stress-funccall: add large data structure passing 6493 * stress-vecmath: vectorize constants, make them const too 6494 6495 -- Colin King <colin.king@canonical.com> Thu, 25 Jan 2018 16:45:43 +0000 6496 6497stress-ng (0.09.12-1) unstable; urgency=medium 6498 6499 * Makefile: bump version 6500 * stress-clone: fix build issue on systems without the clone system call 6501 * test/test-getmntent: remove unused variable 'n' 6502 * stress-revio: fix build warning on OS X builds 6503 * stress-swap: use mwc1() for single bit random value 6504 * stress-shm: use mwc1() for single bit random value 6505 * stress-shm-sysv: use mwc1() for single bit random value 6506 * stress-schedpolicy: use mwc1() for single bit random value 6507 * stress-key: use mwc1() for single bit random value 6508 * stress-iomix: use mwc1() for single bit random value 6509 * stress-dup: use mwc1() for single bit random value 6510 * stress-aio: use mwc1() for single bit random value 6511 * stress-madvise: add in new MADV options (Linux + BSD) 6512 * stress-membarrier: add in new membarrier commands to enum 6513 * Add fixed mmaping stressor, mmap-fixed 6514 * stress-fcntl: add F_GET_RW_HINT/F_SET_RW_HINT fcntl controls 6515 * stress-branch: optimization, remove a ! operator and align jmp table 6516 * stress-dev: add some extra per-device ioctl exercising 6517 * Makefile.config: generalize header detection 6518 * stress-madvise: perform random file or anonymous mapping for MADV_FREE 6519 * Add 1 bit mwc function 6520 * stress-madvise: add MADV_KEEPONFORK advise flag 6521 * Add reverse I/O stressor: revio 6522 6523 -- Colin King <colin.king@canonical.com> Mon, 22 Jan 2018 16:33:39 +0000 6524 6525stress-ng (0.09.11-1) unstable; urgency=medium 6526 6527 * Makefile: bump version 6528 * Manual: update date 6529 * stress-sigio: don't build if missing various core functionality 6530 * stress-sigio: remove sigprocmask, this is not used now 6531 * Makefile: forgot to add the new stress-sigio stressor 6532 * Add new sigio asynchronous I/O SIGIO stressor 6533 * Add clone glibc wrapper autodetection, fixes ia64 builds 6534 * Manual: remove excessive misplaced escape chars 6535 6536 -- Colin King <colin.king@canonical.com> Wed, 17 Jan 2018 17:01:02 +0000 6537 6538stress-ng (0.09.10-1) unstable; urgency=medium 6539 6540 * Makefile: bump version 6541 * stress-tlb-shootdown: ensure proc_mask is zero'd before use 6542 * Makefile.config: make fdatasync test fail if prototype is different 6543 * stress-rawdev: fix warning on non-linux builds 6544 * Manual: add another contributor to the manual 6545 * stress-unshare: throttle back when resources are getting low 6546 * stress-rawdev: make min/max block size #define values 6547 * stress-rawdev: ensure blksize cannot be less than 512 bytes 6548 * stress-rawdev: don't allow insanely sized block sizes 6549 * stress-rawdev: add a keep stressing check inside wiggle 2nd loop 6550 * stress-rawdev: ensure shifted values are never zero 6551 * stress-rawdev: use correct type for reading block size 6552 * stress-resources: ensure we don't have too many resource forks 6553 * stress-resources: try hard not to get too many OOMs 6554 * stress-dev: disable /dev/hpet testing when running as root 6555 * debian/control: skip requirement of libkeyutils-dev for ia64 6556 * stress-matrix: fix broken xy vs yx matrix method selection 6557 * stress-vm: remove a duplicated check addr == ptr 6558 * stress-filename: compare to zero rather than <= 0 6559 * stress-fcntl.c: fix syntax errors 6560 * Update copyright year 6561 6562 -- Colin King <colin.king@canonical.com> Fri, 12 Jan 2018 13:47:57 +0000 6563 6564stress-ng (0.09.09-1) unstable; urgency=medium 6565 6566 * Makefile: bump version 6567 * stress-tlb-shootdown: only kill legitimate pids 6568 * stress-tlb-shootdown: make child processes more OOM-able 6569 * stress-rawdev: replace some spaces with tab for indentation 6570 * stress-ng.1: fix table for rawdev-method option 6571 6572 -- Colin King <colin.king@canonical.com> Thu, 4 Jan 2018 01:37:11 +0000 6573 6574stress-ng (0.09.08-1) unstable; urgency=medium 6575 6576 * Makefile: bump version 6577 * Makefile.config: remove need for LIBBSD for wchar.h path detection 6578 * stress-rawdev: fix linking failure on non linux systems 6579 * Add wchar.h and bsd/wchar.h path detection, makes stress-ng.h cleaner 6580 * Add rawdev raw device read stressor 6581 * stress-vecmath: use uint128_put for 128 bit integer 6582 * Move ALIGNED and SECTION macros to stress-ng.h 6583 * Add OPTIMIZE0 level zero optimization hint macro 6584 * stress-socket-diag: remove some consts, cleans up clang warnings 6585 * Use the FORMAT macro for some printf style functions 6586 * stress-vm: fix warning when building with PEDANTIC=1 6587 * stress-tlb-shootdown: fix unterminated comment 6588 * stress-timer: fix warning when building with PEDANTIC=1 6589 * stress-itimer: fix warning when building with PEDANTIC=1 6590 * stress-funccall: clean up warnings when building with PEDANTIC=1 6591 * stress-physpage: only close an opened fd_pc file descriptor 6592 * stress-tlb: fix incorrect affinity on cores 6593 6594 -- Colin King <colin.king@canonical.com> Sun, 31 Dec 2017 17:18:23 +0000 6595 6596stress-ng (0.09.07-1) unstable; urgency=medium 6597 6598 * Makefile: bump version 6599 * Makefile: add stress-version.h to make dist rules 6600 * test: clean up errors in config tests found by static analysis 6601 * Add lockf autoconfigure detection 6602 * stress-io: use HAVE_SYNCFS to detect syncfs availability 6603 * stress-dirdeep: use HAVE_SYNCFS to detect syncfs availability 6604 * Add syncfs autoconfigure detection 6605 * Add fdatasync autoconfigure detection 6606 * Add fsync autoconfigure detection 6607 * stress-flock: remove __sun__ restriction 6608 * Add posix_memalign autoconfigure detection 6609 * Add futimes autoconfigure detection 6610 * stress-zlib: remove restriction on __sun__ 6611 * stress-wait: only disable for broken GNU/Hurd 6612 * Makefile.config: add -Werror to fix build warnings on Minix 6613 * Add mount autoconfigure detection for BSD and Linux 6614 * stress-rmap: remove build restrictions on non-linux systems 6615 * stress-ng: ensure utsname.h is included for non-linux builds 6616 * stress-get: ensure utsname.h is included for non-linux builds 6617 * stress-get: fix build error on non-linux platform 6618 * Add x86 cpuid autoconfigure detection 6619 * Add strlcpy strlcat string func autoconfigure detection 6620 * helper: clean up utsname includes 6621 * Add uname autoconfiguration detection 6622 * stress-msync: replace __minix__ with HAVE_MSYNC 6623 * stress-mincore: use the HAVE_MINCORE macro rather than __gnu_hurd__ 6624 * Add sigwaitinfo and sigqueue autoconfig detection 6625 * stress-hdd: replace __gnu_hurd__ with more generic posix fadvise check 6626 * stress-wait: add notes on why this is disabled on GNU/Hurd 6627 * helper: use HAVE_SIGALTSTACK instead of minix and GNU/Hurd checks 6628 * stress-msync: enable build for GNU/Hurd 6629 * Add posix_openpt autoconfig detection 6630 * stress-mincore: remove extraneous space at end of error message 6631 * test/test-posix-fadvise: force failures GNU/Hurd 6632 * Add posix_fadvise autoconfig detection 6633 * test: force failures for mincore and msync for GNU/Hurd 6634 * stress-fcntl: fix incorrect usage of F_DUPFD_CLOEXEC flag 6635 * stress-get: remove __minix__ #define check 6636 * Add mincore autoconfig detection 6637 * Add msync autoconfigure detection 6638 * stress-mmap: call shim_msync rather than msync 6639 * Add mprotect autoconfigure detection 6640 * Add autoconfigure detection of sigaltstack 6641 * Add autodetection of mlockall and munlockall 6642 * Add mlock autodetection 6643 * Add getpgid autoconfigure detection 6644 * Add getpgrp autoconfigure detection 6645 * split out version macros into stress-version.h 6646 * Add dup3 autoconfigure detection 6647 * stress-trees: voidify return of get_setting for tree-method option 6648 6649 -- Colin King <colin.king@canonical.com> Thu, 14 Dec 2017 18:12:01 +0000 6650 6651stress-ng (0.09.06-1) unstable; urgency=medium 6652 6653 * Makefile: bump version 6654 * Add more smarts in autodetecting wcs* functions 6655 * stress-tree fixes that got discovered after the 0.09.05 release: 6656 - stress-tree: minor changes to splay and rb tree setup and insertion 6657 - stress-tree: fix up tree method calling and add AVL tree 6658 * stress-tree: add binary tree 6659 * stress-tree: use faster method to populate data 6660 6661 -- Colin King <colin.king@canonical.com> Fri, 8 Dec 2017 16:24:56 +0000 6662 6663stress-ng (0.09.05-1) unstable; urgency=medium 6664 6665 * Makefile: bump version 6666 * Makefile: remove .xz tarball instead of .gz on make clean rule 6667 * debian/control: update Standards-Version to 4.1.2 6668 * Debian: watch: change watch URL to use .xz rather than .gz 6669 * Makefile: use xz compression on tarball make dist rule 6670 * Manual: Add more information in the tree description 6671 * stress-wcstr: fix build issues for GNU/kFreeBSD builds 6672 * Don't include bsd/wchar.h for GNU/kFreeBSD 6673 * libbsd test: Add *BSD support 6674 * stress-treee: don't build for __APPLE__ 6675 * Add DragonFly BSD to BSD support for libbsd 6676 * stress-tree: fix build for systems without libbsd 6677 * stress-ng: add funccall mini help options. 6678 * Add libbsd tree stressor 6679 * test/test-libpthread: remove POSIX semaphore checks 6680 * stress-ng.h: fix indentation 6681 * Move put values into global union, saves > 40K on x86 6682 * Add the funccall function call stressor 6683 * Makefile: move fanotify stressor to correct alphabetical order place 6684 * stress-dev: perform open with O_RDONLY | O_WRONLY for ioctl opens 6685 * stress-clone: catch OOM'ing clone stressors and re-spawn them 6686 6687 -- Colin King <colin.king@canonical.com> Wed, 6 Dec 2017 13:20:46 +0000 6688 6689stress-ng (0.09.04-1) unstable; urgency=medium 6690 6691 * Makefile: bump version 6692 * Manual: update date 6693 * stress-sigsegv: catch SIGBUS for systems such as __APPLE__ 6694 * stress-fault: catch SIGBUS for systems such as __APPLE__ 6695 * stress-mmapaddr: cast uint64_t value to intptr_t 6696 * stress-mmapaddr: set addr correctly, fixes null ptr issue 6697 * stress-mmapaddr: add mremapping if supported 6698 * stress-mmapaddr: add MAP_LOCKED random flag setting 6699 * stress-mmapaddr: 2nd mmap should check remap addr, and add MAP_32BIT 6700 * stress-mmapaddr: add random MAP_FIXED flag 6701 * Add stress-mmapaddr random address mmap stressor 6702 * stress-icache: remove constification of page_addr 6703 * stress-hrtimes: make a couple functions static 6704 * stress-vm-rw: constify pointer ctxt 6705 * stress-vm: add a couple of constifications in macros 6706 * stress-userfaultfd: constify a couple of function args 6707 * stress-tmpfs: constify rnd 6708 * stress-stream: constify advice in struct stream_madvise_info_t 6709 * stress-socket: constify type in struct socket_type_t 6710 * stress-pty: fix typo in comment 6711 * stress-mmapfork: constify ln 6712 * stress-mknode: constify greycode 6713 * stress-mincore: remove some empty lines 6714 * stress-mergesort: reorder statements and int declaration 6715 * stress-malloc: add some constifications 6716 * stress-ioport: constify flag 6717 * stress-icache: constify page_addr 6718 * stress-hdd: add some more constifications 6719 * stress-full: constify fields of a struct 6720 * stress-flock: constify ppid 6721 * stress-filename: add various variable constifications 6722 * stress-fiemap: add various variable constifications 6723 * stress-dirdeep: constify inodes_avail 6724 * stress-dentry: add a constification to a data structure 6725 * stress-clock: add a few more constifications 6726 * stress-branch: make array labels const 6727 * affinity: constify max_cpus 6728 * Add more comments to stress-ng.h 6729 * stress-vforkmany: call vfork syscall directly when possible 6730 * stress-open: only close fd's that have been opened 6731 * stress-cpu-online: only allow all CPUs to be offlined with 1 instance 6732 * stress-cpu-online: by default, don't offline/online CPU 0 6733 6734 -- Colin King <colin.king@canonical.com> Sun, 26 Nov 2017 22:46:23 +0000 6735 6736stress-ng (0.09.03-1) unstable; urgency=medium 6737 6738 * Makefile: bump version 6739 * Manual: update date 6740 * stress-physpage: move unsupported function 6741 * Add new physpage stressor 6742 * Manual: add more notes on the OOM behaviour of the stack stressor 6743 * Add in stressor name or core context as prefix in pr_dbg messages 6744 * stress-fanotify: write "test" rather than "foo" 6745 * stress-exec: don't allow this to run as root, skip rather than fail 6746 * stress-ng: remove semaphore.h, it is in stress-ng.h already 6747 * stress-hrtimers: don't kill pid 0 6748 6749 -- Colin King <colin.king@canonical.com> Sun, 19 Nov 2017 16:01:11 +0000 6750 6751stress-ng (0.09.02-1) unstable; urgency=medium 6752 6753 * Makefile: bump version 6754 * Manual: update contributors names and date 6755 * README: update, add OS X instructions and add clean rule 6756 * shim: cast to int for brk for __APPLE__ 6757 * stress-ng.h: fix missing _ off __APPLE_ macro name 6758 * Use shim_sbrk and shim_brk wrappers 6759 * Add shim for brk and sbrk 6760 * stress-pthread: use shim_sched_yield instead if pthread_yield 6761 * stress-ng.h: use shim spinlock in warn_once inline helper 6762 * pthreads: shim spinlocks so we can use mutex if not available 6763 * Makefile.config: add missing ( 6764 * Make BSD library more flexible, especially with __APPLE__ arch 6765 * stress-inode-flags: reset flags to zero at end of loop (LP: #1730297) 6766 * stress-inode-flags: move counter to bump once per loop iteration 6767 * stress-random: enable random stressor for __APPLE__ arch 6768 * stress-filename: default to POSIX filename chars for __APPLE__ 6769 * stress-filename: OS X can't have ':' in filenames 6770 * stress-fcntl: fix up incorrect name of failed system call 6771 * stress-fcntl: remove need for 2nd fd in F_DUPFD 6772 * stress-mmap: add MAC OS X mmap flags 6773 * stress-schedpolicy: disable this for __APPLE__ arch 6774 * sched: detect __APPLE__ and don't used sched funcs for this arch 6775 * stress-zlib: correct text start/end for all OS choices 6776 * test/test-libpthread: ensure we check all pthread functionality 6777 * Update README.Android notes 6778 6779 -- Colin King <colin.king@canonical.com> Tue, 7 Nov 2017 14:54:23 +0000 6780 6781stress-ng (0.09.01-1) unstable; urgency=medium 6782 6783 * Makefile: bump version 6784 * stress-fcntl: fix build issue when F_OWNER_PGRP is not 6785 defined (LP: #1709905) 6786 * Makefile: remove special rule for wcstr 6787 * stress-rmap: fix bogo-ops max checks 6788 * stress-memthrash: make bogo-ops checking more granular 6789 * stress-iomix: make bogo-ops checking more granular 6790 * stress-sleep: make bogo-ops checking more granular 6791 * stress-socket-diag: make bogo-ops checking more granular 6792 * stress-socketpair: make bogo-ops checking more granular 6793 * stress-stack: make bogo-ops checking more granular 6794 * stress-dirdeep: make bogo-ops checking more granular 6795 * stress-sigsuspend: catch SIGUSR1 to avoid children getting killed 6796 * stress-nice: make bogo-ops checking more granular 6797 * stress-aio: make bogo-ops checking more granular 6798 * stress-shm-sysv: make bogo-ops checking more granular 6799 * stress-shm: make bogo-ops checking more granular 6800 * stress-sem-sysv: make bogo-ops checking more granular 6801 * stress-sem: make bogo-ops checking more granular 6802 * stress-resources: make bogo-ops check more granular 6803 * stress-open: make bogo-ops check more granular 6804 * stress-key: increment counter on tidy phase 6805 * stress-inode-flags: don't over-run bogo-ops count 6806 * stress-dup: check for bogo-ops more accurately 6807 * stress-dev: make bogo-ops count on per directory 6808 * stress-sysfs: make bogo-ops count on per directory 6809 * stress-timerfd: fix bogo-ops, counter was not being incremented 6810 * stress-vm: fix bogo_ops threshold checks 6811 * stress-yield: fix bogo-ops timeout and accounting 6812 * stress-iomix: improve counter checking to make termination more 6813 responsive 6814 * stress-itimer: ensure we stop timers when timer handler is saturated 6815 * stress-hrtimers: ensure we stop timers when timer handler is saturated 6816 * stress-timer: ensure we stop timers when timer handler is saturated 6817 6818 -- Colin King <colin.king@canonical.com> Thu, 2 Nov 2017 15:06:11 +0000 6819 6820stress-ng (0.09.00-1) unstable; urgency=medium 6821 6822 * Makefile: bump major version 6823 * Makefile Add perf-event.c and usr.bin.pulseaudio.eg to dist rule 6824 * test/test-mathfunc.c: ensure link fails if function is not available 6825 * Add exporting of MATHFUNC for BSD builds 6826 * stress-ng: fix typo in comment 6827 * shim: remove leading tab on empty line 6828 * Add hrtimers stressor 6829 * sched: use pr_* logging and quiet flags rather than fprintf 6830 * Add CFLAGS and add -I to path so that stress-ng.h can be included 6831 * Add ioport (port 0x80) stressor 6832 * stress-resources: don't abort early on cleanup, fixes msg leaking 6833 * stress-cpu: use L suffix for all long double constants 6834 * stress-bigheap: cast uint8_t ptr to void * for %p format 6835 * stress-af-alg: remove unused macro SEMI_BLOCK_SIZE 6836 * stress-affinity: cast return type from stress_get_processors_configured 6837 * Remove ; at end of macro STRESS 6838 * Makefile: remove the rm of test-decimal.c, it is now redundant 6839 * Makefile: remove cpu decimal float test, it is in the Makefile.config 6840 * Move test config sources to test directory 6841 * stress-dev: catch SIGKILL et al on device access breakage 6842 * debian/control: change Priority to optional 6843 6844 -- Colin King <colin.king@canonical.com> Thu, 26 Oct 2017 09:56:32 +0100 6845 6846stress-ng (0.08.18-1) unstable; urgency=medium 6847 6848 * Makefile: bump version 6849 * Manual: update date 6850 * debian/control: update Standards-Version to 4.1.1 6851 * stress-hsearch: use sizeof on size of object and not the type 6852 * stress-vm: use sizeof on size of object and not the type 6853 * stress-ng: use sizeof on size of object and not the type 6854 * stress-radixsort: use sizeof on size of object and not the type 6855 * stress-shm: use sizeof on size of object and not the type 6856 * stress-zlib: use sizeof on size of object and not the type 6857 * stress-udp: use sizeof on size of object and not the type 6858 * stress-mlock: use sizeof on size of object and not the type 6859 * stress-sigsuspend: use sizeof on size of object and not the type 6860 * stress-tsearch: use sizeof on size of object and not the type 6861 * stress-stream: use sizeof on size of object and not the type 6862 * stress-yield: use sizeof on size of object and not the type 6863 * test-libbsd: use sizeof on size of object and not the type 6864 * stress-scpt: remove extraneous space 6865 * stress-qsort: use sizeof on size of object and not the type 6866 * stress-opcode: use sizeof on size of object and not the type 6867 * stress-mergesort: use sizeof on size of object and not the type 6868 * stress-lsearch: use sizeof on size of object and not the type 6869 * stress-heapsort: use sizeof on size of object and not the type 6870 * stess-fiemap: use sizeof on size of object and not the type 6871 * stress-cpu: fix setting of data values for stats data 6872 * stress-cpu: use sizeof on size of object and not the type 6873 * stress-cpu-online: use sizeof on size of object and not the type 6874 * stress-bsearch: use sizeof on size of object and not the type 6875 * stress-apparmor: use sizeof on size of object and not the type 6876 * stress-aio: use sizeof on size of object and not the type 6877 * perf: use sizeof on size of object and not the type 6878 * cache: use sizeof on size of object and not the type 6879 * stress-cpu: add statistics computations (stats cpu method) 6880 * Add eventfd autodetection 6881 * Add chroot autodetection 6882 * stress-cap: remove __linux__ check 6883 * stress-netdev: make errno EADDRNOTAVAIL non-fatal 6884 * Makefile: re-organize, put config probing into Makefile.config 6885 * Add swapcontext autoconfig detection 6886 * stress-zlib: add handler to catch code text read faults 6887 * stress-cyclic: print 64 bit signed 0 value dist stats correctly 6888 on 32 bit arch 6889 * stress-cyclic: fix up bucket info 6890 * stress-cyclic: dump more buckets and don't show lots of trailing 6891 zeros 6892 * stress-fiemap: add more yield points for snappier termination 6893 6894 -- Colin King <colin.king@canonical.com> Wed, 18 Oct 2017 10:27:43 +0100 6895 6896stress-ng (0.08.17-1) unstable; urgency=medium 6897 6898 * Makefile: bump version 6899 * debian/control: update Standards-Version to 4.1.0 6900 * perf: rename perf_info argument to pi to avoid shadowing warning 6901 * README: update number of stressors 6902 * stress-procfs: add some seeks to further exercise procfs 6903 * test-mathfunc: ensure we link in the math func 6904 * Fix test-mathfunc checks - fails on BSD. 6905 * Makefile: add test-mathfunc.c and add it to dist rule 6906 * Makefile + stress-cpu: add autodetection of missing math functions 6907 * perf: inline perf_type_tracepoint_resolve_config 6908 * perf: remove need for prefix of PERF_COUNT_ on perf counter names 6909 * perf: remove need for the HW_CACHE wrapper macro 6910 * perf: move PERF_INFO_TP macro 6911 * perf: increase width of label by 1 char 6912 * perf: rename STRESS_GOT to STRESS_PERF_DEFINED 6913 * Remove perf_get_counter_by_index, simplify code 6914 * Move perf_scale_t and perf_scale, make array const too 6915 * perf: remove helper function perf_get_label_by_index 6916 * perf: simplyify event handling, remove need for ids 6917 * stress-ng.h: remove redundant minix #if def 6918 * perf: remove some white spaces before tabs. bad formatting 6919 * perf: add some more perf hardware events 6920 * perf: add more trace point events 6921 * perf: fix spelling mistake in comment 6922 * perf: Add more units scaling, for when processors run really fast 6923 * Manual: update contributors 6924 * stress-key: bump timeout to 7200 seconds from 1 second 6925 * stress-opcode: fix build warning when SECCOMP_SET_MODE_FILTER is 6926 not defined 6927 6928 -- Colin King <colin.king@canonical.com> Mon, 9 Oct 2017 10:15:36 +0100 6929 6930stress-ng (0.08.16-1) unstable; urgency=medium 6931 6932 * Makefile: bump version 6933 * stress-aio-linux: automatically scale requests (LP: #1711675) 6934 * stress-socket-diag: sockdiag_send zero return should be checked 6935 * stress-socket-diag: sockdiag_send should return 0 on stress test end 6936 * stress-socket-diag: ensure name is sockdiag and not sock-diag 6937 * Add swapon/off stressor 6938 6939 -- Colin King <colin.king@canonical.com> Thu, 21 Sep 2017 10:17:11 +0100 6940 6941stress-ng (0.08.15-1) unstable; urgency=medium 6942 6943 * Makefile: bump version 6944 * Manual: update date 6945 * Abstract a shim for off64_t 6946 * shim: fix typo, error should be errno 6947 * stress-opcode: don't use seccomp if SECCOMP_SET_MODE_FILTER is not defined 6948 * stress-memrate: add volatile in void cast to fix buildw arning 6949 * stress-socket-diag: constify attr and cast 6950 * shim: move iopriority shims from io-priority.c to shim.c 6951 * stress-pthread: fix typo mutx -> mutex 6952 * Add cpu-online and oom-pipe stressors to the pathological class 6953 * shim: move shim_sync_file_range from stress-sync-file to shim 6954 * shim: use __NR_futex instead of SYS_futex in syscall 6955 * stress-dup: use dup3 shim 6956 * shim: add shim to dup3 6957 * stress-mincore: reset random address if it matches previous address 6958 * syscalls.txt: update 6959 * stress-clock: add half-baked attempt to set timer 6960 * helper: remove extraneous and incorrect < 0 after prctl call 6961 * fix -x exclude option 6962 * stress-ng: make index size_t type 6963 * stress-opcode: add seccomp filtering to limit syscalls 6964 * helper: stress_drop_capabilities: don't allow new privileges 6965 * Enable SCHED_DEADLINE and rework some abstraction interfaces 6966 * timers: cast to type of tv fields rather than long long int 6967 * stress-madvise: add MADV_WIPEONFORK 6968 * stress-vforkmany: cleanup build warnings on munmap on openindiana 6969 * stress-memrate: cleanup build warnings on munmap on openindiana 6970 * stress-matrix: cleanup build warnings on munmap on openindiana 6971 * temporarily disable SCHED_DEADLINE scheduling 6972 6973 -- Colin King <colin.king@canonical.com> Wed, 13 Sep 2017 13:35:59 +0100 6974 6975stress-ng (0.08.14-1) unstable; urgency=medium 6976 6977 * Makefile: bump version 6978 * Update TODO list 6979 * Add a latin (Lorem Ipsum) random text mode to zlib method 6980 * test-mq-posix: force failure for GNU/HURD 6981 * test-mq-posix: fix build failure because of missing <signal.h> 6982 * stress-resources: clean up warning when POSIX MQs are not available 6983 * include <sys/uio.h> in stress-ng.h 6984 * stress-mq: make build depend on HAVE_MQ_POSIX being defined 6985 * Add branch stressor that exercises process branch prediction 6986 * stress-memrate: perform oom adjustment in child earlier than allocation 6987 * test-sock-diag: voidify array unix_diag to work around clang warning 6988 * stress-kcmp: fix kcmp shim and fully implement KCMP_EPOLL_TFD stressor 6989 * stress-semaphore: make POSIX semaphores depend on HAVE_SEM_POSIX 6990 * stress-resources: waste POSIX message queues 6991 * stress-resources: waste SYSV message queues 6992 * stress-resources: waste SYSV semaphores 6993 6994 -- Colin King <colin.king@canonical.com> Thu, 7 Sep 2017 11:59:01 +0100 6995 6996stress-ng (0.08.13-1) unstable; urgency=medium 6997 6998 * stress-rdrand: use 32 bit rdrand for i386 6999 * stress_drop_capabilities: voidify name to avoid warning 7000 * Enable 64 bit large file system support by default 7001 * debian/rules: Add hardening=+all 7002 * manual: fix several spelling mistakes 7003 * stress-cpu: fix spelling mistake "assigment" -> "assignment" 7004 * stress-ng: fix spelling mistake "afer" -> "after" 7005 * stress-opcode: drop all capabilities so we can't do much 7006 damage (LP: #1714044) 7007 * helper: add stress_drop_capabilities to drop all capabilities 7008 * stress-socket-diag: use new HAVE_SOCK_DIAG_H build time check flag 7009 * Add sock_diag.h auto configure build time checking 7010 * Add sockdiag stressor 7011 * stress-fcntl: fix build failure on SLES11 SP4 (LP: #1709905) 7012 * stress-cyclic: fix build warning on systems w/o atomic ops 7013 * stress-softlockup: fix build warning on systems w/o atomic ops 7014 7015 -- Colin King <colin.king@canonical.com> Wed, 30 Aug 2017 22:06:11 +0100 7016 7017stress-ng (0.08.12-1) unstable; urgency=medium 7018 7019 * Makefile: bump version 7020 * helper: add more debug to filenames to help debugging 7021 * stress-inode-flags: fix incorrect path being used on 7022 directory (LP: #1712857) 7023 7024 -- Colin King <colin.king@canonical.com> Thu, 24 Aug 2017 16:59:33 +0100 7025 7026stress-ng (0.08.11-1) unstable; urgency=medium 7027 7028 * Makefile: bump version 7029 * stress-zlib: use _start for OpenBSD builds 7030 * stress-zlib: don't build objcode stress method for sun targets 7031 * Manual: update date 7032 * Add objcode zlib stressor method to compress object code data 7033 * stress-zlib: sort zlib methods by name 7034 * exit immediately on end of --stressors option 7035 * stress-inode-flags: remove temp file and directory 7036 * Fix comment in helper 7037 * stress-radixsort: fix warning on calloc sizeof 7038 * Add new inode-flags stressor 7039 * stress-dev: correct a comment 7040 * stress-dev: add select and F_GETSIG fcntl calls 7041 7042 -- Colin King <colin.king@canonical.com> Tue, 22 Aug 2017 11:11:12 +0100 7043 7044stress-ng (0.08.10-1) unstable; urgency=medium 7045 7046 * Makefile: bump version 7047 * stress-dirdeep: fix warning on unused variable ret on BSD systems 7048 * Update manual description for the --all option 7049 * job: allow classes to be run as jobs (LP: #1706970) 7050 * stress-dirdeep: don't remove directories in main exercise function 7051 * return EXIT_SUCCESS for class cpu? class command 7052 * stress-dirdeep: exercise files rather than create/delete 7053 * manual: fix wording in memthrash table 7054 * stress-dirdeep: Fix inode accounting, add more -v information feedback 7055 * Add --dirdeep-inodes option to limit of inodes being consumed: 7056 * parse-opts: don't allow negative percentages 7057 * Add stress_get_filesystem_available_inodes to get inode number 7058 * Add generialized percentage opt parser get_uint64_percent 7059 * helper: remove debug message from stress_get_filesystem_size 7060 * stress-ng: ensure --version option terminates immediately 7061 7062 -- Colin King <colin.king@canonical.com> Mon, 7 Aug 2017 21:31:32 +0100 7063 7064stress-ng (0.08.09-1) unstable; urgency=medium 7065 7066 * Makefile: bump version 7067 * stress-memrate: don't fail so badly when we can't allocate memory 7068 * stress-ng: fix segfault on --memcpy, requires 1 arg and not zero 7069 * Manual: update date 7070 * stress-cpu: Minix also does not have lgammal so work around this 7071 * stress-dirdeep: fix clang + Minix build warning, cast char to int 7072 * stress-memrate: add OOM check detection 7073 * stress-cpu: NetBSD does not have lgammal so work around this 7074 * stress-radixsort: fix build issues on systems w/o libbsd 7075 * Add new memrate stressor 7076 * shim: trivial fix to comment typo 7077 * stress-cpu: optimize factorial calculation 7078 * job: avoid memory overflow on strncpy on txt 7079 * Add --matrix-yx option 7080 * iterate over size of classes and remove need for terminator 7081 * stress-radixsort: remove casting, clean up build warning with PEDANTIC=1 7082 * README: Add notes on PEDANTIC builds 7083 * No need to extern define opterr, it is already defined in getopt.h 7084 * Fix static build issues with the use of getpwuid 7085 * Add longjmp handling to unwind parsing errors 7086 * Improve job error handling 7087 * Add a LIKELY annotation to the 75% likely path on mwc8() 7088 * Add a radixsort CPU/memory/cache stressor 7089 * stress-rmap: force faster termination and cleanups 7090 * stress-ng.h: forgot to commit matrix size increase to 8192 7091 * stress-matrix: scale up default float values by 65535 7092 * stress-matrix: don't allocate matrices on the stack, mmap them instead 7093 * stress-icache: call shim_cacheflush to flush ICACHE 7094 * Add --vm-madvise option 7095 * stress-ng: forgot to add in stream-madvise option in help 7096 * stress-resources: make memory mappings private and exercise random madvise 7097 * stress-vm: make mappings private, helps with hugepage madvise 7098 * stress-shm: make mappings private, helps with hugepage madvise 7099 * stress-memthrash: make mappings private, helps with hugepage madvise 7100 * stress-stream: add --stream-madvise option 7101 * manual: fix typo, --no-advise should be --no-madvise 7102 * stress-fcntl: add 4.13 hints F_GET_FILE_RW_HINT F_SET_FILE_RW_HINT 7103 7104 -- Colin King <colin.king@canonical.com> Tue, 18 Jul 2017 09:34:47 +0100 7105 7106stress-ng (0.08.08-1) unstable; urgency=medium 7107 7108 * Makefile: bump version 7109 * manual: update date 7110 * stress-filename: sanity checks on sz_max file size 7111 * stress-cyclic: fix build warning on non-linux platforms 7112 * stress-open: ignore open_pt if building on GNU/HURD 7113 * make str const char *, fixup some PEDANTIC=1 build warnings 7114 * setting: fix const warnings with PEDANTIC=1 7115 * stress-ng: make get_nth_proc a static function 7116 * job: rename argc to new_argc to fix shadowing parameter argc 7117 * stress-vforkmany: fix PEDANTIC=1 build warning on munmap 7118 * stress-softlockup: remove duplicate ret 7119 * Rename tmp vars so we don't shadow pid 7120 * stress-memthrash: fix build warnings with PEDANTIC=1 7121 * stress-fstat: remove extraneous cast to void * 7122 * stress-dev: don't make path const 7123 * Rename array dccp_opts dccp_options to avoid name clashes 7124 * stress-static: make a few local functions static 7125 * exit_status: make it a WARN_UNUSED function 7126 * stress-iomix: add FS_IOC_GETFLAGS/SETFLAGS inode operations 7127 * stress-open: use posix_openpt and O_NOCTTY flag 7128 * stress-zombie: zombie-max should not be a byte size value 7129 * stress-vm: vm-hang option should be a time based option 7130 * stress-tsearch: tsearch-size should not be a byte size value 7131 * stress-sleep: sleep-max should not be a byte size value 7132 * stress-sem: sem-procs should not be a byte size value 7133 * stress-sem-sysv: sem-sysv-procs should not be a byte size value 7134 * stress-qsort: qsort-size should not be a byte size value 7135 * stress-pty: pty-max should not be a byte size value 7136 * stress-pthread: pthread-max should not be a byte size value 7137 * stress-mq: mq-size should not be a byte size value 7138 * stress-mergesort: mergesort-size should not be a byte size value 7139 * stress-memfd: memfd-fds option should not be a byte size value 7140 * stress-matrix: matrix-size option should not be a byte size value 7141 * stress-lsearch: lsearch-size option should not be a byte size value 7142 * stress-hsearch: hsearch-size option should not be a byte size value 7143 * stress-heapsort: heapsort-size option should not be a byte size value 7144 * stress-fork: fork-max and vfork-max options should not be a byte size value 7145 * stress-exec: exec-max option should not be a byte size value 7146 * stress-bsearch: bsearch-size option should not be a byte size value 7147 * stress-clone: the clone-max option should not be a byte size value 7148 * stress-dir: chdir-dirs option should not be a byte size value 7149 * stress-dirdeep: add a --dirdeep-dir option to make more dirs per level 7150 * stress-dir: dir-dirs option should not be a byte size value 7151 * stress-socket-fd: remove process name change on client and server 7152 * stress-memthrash: make child processes OOM-able 7153 7154 -- Colin King <colin.king@canonical.com> Mon, 10 Jul 2017 13:40:50 +0100 7155 7156stress-ng (0.08.07-1) unstable; urgency=medium 7157 7158 * Makefile: bump version 7159 * test-inotify: initialize variable i to zero 7160 * Manual: update date 7161 * stress-cyclic: add pselect sleep method 7162 * stress-rmap: fix comment, remove 'of' 7163 * stress-netlink-proc: add more PROC event types 7164 * Add inotify build time detection 7165 * stress-get: re-format macro, no functional change 7166 * stress-dup: use fcntl(2) F_DUPFD to perform a dup 7167 * stress-dnotify: check if F_NOTIFY is available 7168 * test-fanotify: clean up some static analysis warnings 7169 * Ensure plural of cpus online and configured is correct 7170 * Add fanotify build time detection 7171 * stress-softlockup: fix builds where RLIMIT_RTTIME is not defined 7172 * stress-fanotify: only build if FAN flags are defined 7173 * stress-cyclic: fix build where RLIMIT_RTTIME is undefined (LP: #1700484) 7174 * test-sem-posix: voidify returns 7175 * test-mq_sysv: voidify ret rather than msg 7176 * stress-socket-fd: don't force overcommit on fd allocations (LP: #1692668) 7177 * stress-cyclic: use check_range instead of check_range_bytes for 7178 scalar values 7179 7180 -- Colin King <colin.king@canonical.com> Wed, 28 Jun 2017 11:09:11 +0100 7181 7182stress-ng (0.08.06-1) unstable; urgency=medium 7183 7184 * Makefile: bump version 7185 * Debian/control: update standards version to 4.0.0 7186 * Make test-sem-sysv.c fail for GNU/HURD 7187 * Make test-mq-sysv.c fail for GNU/HURD 7188 * Make test-affinity fail for GNU/HURD 7189 * stress-cyclic: fix build issues on non-Linux platforms 7190 * Clean up some warnings found on test config code 7191 * Add --cyclic-method to cyclic measurements stressor 7192 * Add build-time checks for SYSV shared memory APIs 7193 * stress-sigsegv: add NOCLOBBER hint to fix warning with gcc 5.4.1 7194 * test-sem-posix: include time.h to build on BSD 7195 * stress-sem-sysv: make semtimedop a linux only feature 7196 * Add build-time checks for SYSV message queues 7197 * Forgot to add in new test-mq-posix.c test source 7198 * Add build-time checks for POSIX message queues 7199 * Add in cyclic help options 7200 * stress-vforkmany: add self adjusting waste memory allocation 7201 * stress-vforkmany: make child processes larger to be more OOM'able 7202 * stress-socket-fd: Add checks for sendmsg failures 7203 * stress-socket-fd: send SIGALRM rathe rather than SIGKILL to child 7204 * Add new --cyclic-dist distribution option 7205 * stress-vforkmany: allow children to be OOM'd (LP: #1698747) 7206 * sem-sysv: add linux checks for linux only semctl commands 7207 * Add SYSV semaphore autodetection at build time 7208 * job: voidify some function returns and constify len 7209 * stress-cyclic: fix tab/spacing indentation 7210 7211 -- Colin King <colin.king@canonical.com> Wed, 21 Jun 2017 17:33:49 +0100 7212 7213stress-ng (0.08.05-1) unstable; urgency=medium 7214 7215 * test-sem-posix: don't build for FreeBSD kernels 7216 * stress-cyclic: only produce stats for first instance 7217 * stress-sem: hust build on systems that provide POSIX semaphores 7218 * stress-madvise: fix build warning with clobbered sz with gcc 3.4.3 7219 * stress-vm: fix build warning on munmap 7220 * stress-fcntl: fix build issue on kFreeBSD 7221 * stress-softlockup: fix build error on GNU/HURD 7222 * stress-madvise: fix another BSD build warning 7223 * stress-madvise: fix build warnings on BSD 7224 * stress-cyclic: fix build issues on non-Linux systems 7225 * Add build time checks for POSIX semaphores 7226 * stress-cyclic: add NOCLOBBER hints to avoid gcc 4.9.2 longjmp warnings 7227 * fix bogo ops setting, this was broken in the set/get settings changes 7228 * stress-cyclic: avoid division by zero error 7229 * Add new real time cyclic stressor 7230 * Propagate stressor killed status back up to parent 7231 * Make --class cpu? exit 0 rather than 1 7232 * stress-fcntl: only build in fd_get when it is required 7233 * stress-fcntl: only build in check_return if required 7234 * test-affinity: voidify unused rc return 7235 * stress-sigsegv: remove redundant null assignment to ptr 7236 * stress-rlimit: reduce scope of fds, ptr and oldbrk 7237 * stress-softlockup: constify fields in data structure 7238 * stress-seccomp: check for specific macros after including the headers 7239 * Add --abort option to force all stressor to abort if a stressor fails 7240 * stress-softlockup: try to synchronize start of all children 7241 * stress-futex: use shim'd futex calls 7242 * Add abstraction shims to futex operations 7243 * madvise: fix build failure because of incorrect build config check 7244 * Add new softlockup stressor, use with caution 7245 * Forgot to add test-affinity. 7246 * Add madvise build time checks 7247 * Add test-affinity to dist rule 7248 * stress-clock: don't do zero nanosecond sleeps 7249 * Add automatic affinity checking at build time 7250 * stress-sigsegv: produce fault using write to read-only page 7251 * stress-vforkmany: remove as many calls as possible 7252 7253 -- Colin King <colin.king@canonical.com> Fri, 16 Jun 2017 11:42:56 +0100 7254 7255stress-ng (0.08.04-1) unstable; urgency=medium 7256 7257 * Makefile: bump version 7258 * debian/control: use libgcrypt20-dev (Closes: #864137) 7259 * stress-kcmp: add new KCMP_EPOLL_TFD to enums 7260 7261 -- Colin King <colin.king@canonical.com> Mon, 5 Jun 2017 10:12:14 +0100 7262 7263stress-ng (0.08.03-1) unstable; urgency=medium 7264 7265 * Makefile: bump version 7266 * Manual: update date 7267 * stress-pthread: don't use pthread_yield for NetBSD and Solaris 7268 * stress-wait: fix waitpid, make sure it's waiting with correct flags 7269 * stress-wait: fix WCONINUED typo and add better waitpid error detection 7270 * stress-nice: where possible force a sched yield 7271 * stress-memcpy: force calls to memcpy and memmove 7272 * stress-longjmp: remove extraneous tab 7273 * stress-matrix: Add a few more simple matrix method 7274 * stress-longjmp: make it a little more stressy 7275 * Add OPTIMIZE1 -O1 optimization hint 7276 * Add NOINLINE macro for forcing no-inlining of small functions 7277 * stress-exec: Make exec fail detection more intelligent 7278 * Add comment hinting to fallthrough macro to help static analyzers 7279 * stress-epoll: fix comment about delay time 7280 * stress-cpu: make macro args distinguishable from function names 7281 * stress-cpu: correct a comment function name 7282 * stress-pthread: add pthread_yield() call for more scheduler stress 7283 * cache: add in missing const to argument 7284 * cache: minor code clean ups 7285 * constify set/get setting function args 7286 * stress-aio-linux: use DIRECT_IO and aligned buffers 7287 * Remove the main_opt_t and set/get these using the set/get settings 7288 * perf: constify n in perf_yaml_label 7289 * stress-cpu: add factorial computation and approximations method 7290 * manual: update contributors list, add Abdul Haleem 7291 * stress-ng: help: fix typo and replace method m with method M 7292 * stress-cpu-online: EBUSY shouldn't be a fatal error 7293 * Fix: Macro definition for SECCOMP_SET_MODE_FILTER 7294 * stress-socket-fd: fix fork failures correctly, make child oomable 7295 * stress-memthrash: try harder to get mmap'd memory 7296 * Update documentation and help for timeout, specify times in T 7297 * stress-ng: remove white space in some -ops help information 7298 * move help_t to main stress-ng.c as it's just local to that source 7299 * move ionice help to the generic options 7300 7301 -- Colin King <colin.king@canonical.com> Thu, 1 Jun 2017 17:32:58 +0100 7302 7303stress-ng (0.08.02-1) unstable; urgency=medium 7304 7305 * Makefile: bump version 7306 * stress-dev: don't build for __sun__, it does not have DT_* macros 7307 * example-jobs/device.job: Add dev stressor 7308 * Move the --dev stressor to the CLASS_DEV class 7309 * example-jobs/memory.job: add memthrash example 7310 * Expand the default run time text into human time units for large times 7311 * stress-dev: remove linux only build constraint 7312 * stress-dev: use pthread_args_t rather than a special context struct 7313 * Makefile: update perf rule to match output of other CC rules 7314 * stress-dev: ensure we check for all watchdog names 7315 * Make zero timeouts run forever. 7316 * Add dev stressor to exercise /dev entries 7317 * stress-sockpair: make parent less oomable than the child 7318 * stress-memthrash: optimization tweaks, makes it run a bit hotter 7319 * stress-memthrash: add OOM detection handling 7320 * stress-memthrash: Add MAP_POPULATE to mmap'd region 7321 7322 -- Colin King <colin.king@canonical.com> Thu, 18 May 2017 13:26:50 +0100 7323 7324stress-ng (0.08.01-1) unstable; urgency=medium 7325 7326 * Makefile: bump version 7327 * stress-memthrash: implement stress_set_memthrash_method for 7328 non-pthread builds 7329 * stress-memthrash: provide some feedback about the method being used 7330 * typedef a pproc_info_t ptr to proc_info_t type, we can use this on g99 7331 * Revert "Use g11 as we are using C11 forward typedef declarations" 7332 * Use g11 as we are using C11 forward typedef declarations 7333 * stress-zlib: no need to initialize info 7334 * stress-str: no need to initialize info 7335 * stress-matrix: no need to initialize info 7336 * stress-cpu: no need to initialize info 7337 * stress-wcs: replace static option with set/get option settings 7338 * stress-wcs: rename stress_wcs_stressor_info_t to 7339 stress_wcs_method_info_t 7340 * stress-vm: rename stress_vm_stressor_info_t to stress_vm_method_info_t 7341 * stress-str: rename stress_str_stressor_info_t and use set/get method 7342 * stress-matrix: rename stress_matrix_stressor_info_t to 7343 stress_matrix_method_info_t 7344 * stress-cpu: rename stress_cpu_stressor_info_t to 7345 stress_cpu_method_info_t 7346 * Add --memthrash-method methods 7347 * stress-cpu: move HOT OPTIMIZE3 to correct function 7348 * thermal-zone: fix tab indentation 7349 * Add memthrash memory thrashing stressor 7350 * TODO: remove acl from list, it is covered by stress-xattr.c 7351 * stress-netdev: remove unused macro MAX_INTERFACES 7352 * Add new netdev (network device) stressor 7353 * stress-fork: remove unused static option variables 7354 * Add #! handling in jobs, allow one to run stress-ng from a job script 7355 7356 -- Colin King <colin.king@canonical.com> Fri, 12 May 2017 17:03:49 +0100 7357 7358stress-ng (0.08.00-1) unstable; urgency=medium 7359 7360 * Makefile: bump version to 0.08.00 7361 * Makefile: add test-aligned-128.c to dist rule 7362 * stress-vm: voidify return from get_setting call 7363 * Add an example job that exercises all the matrix methods 7364 * Quote the name of the stressor method to make it clearer 7365 * Allow multiple instances of the same stressor to be run 7366 * stress-vm: use new set/get_setting on vm-method option 7367 * stress-matrix: use new set/get_setting on matrix-method option 7368 * stress-cpu: add debug info on the cpu method being used 7369 * stress-ng: clean up some of the overly wide lines 7370 * Use struct field tags to specify field settings for new args_t 7371 * Comment new settings types 7372 * job: fix old gcc warnings, cast char to int before passing to isblank() 7373 * remove stressor_id_find(), it is no longer used 7374 * stress-iomix: voidify iomix_bytes for non-linux builds 7375 * stress-hdd: ensure flags are zero 7376 * Add check for no stress workers being run 7377 * Be tidy and free up stashed settings 7378 * stress-cpu: use set/get_settings on cpu-method option 7379 * stress-shm: allocate addr and shm_names on heap rather than stack 7380 * Ensure that when rounding to nearest page we don't round to zero 7381 * Add new set/get_settings() mechanism to stash settings 7382 * stress-vm-splice: ensure minimial mmap size is at least a page size 7383 * Use the correct number of procs for sequential running 7384 * Rework the proc info setup, clean up and refactor chunks of code 7385 * Pass a list of proc_info_t's to stress_run, remove not_runnable flag 7386 * Replace procs[] array with a doubly-linked list of proc_info_t 7387 * Track per stressor stats with a pointer to the shared stats data 7388 * stress-sync-file: clean up warning on signed integer comparison 7389 * More minor job fixups 7390 * scheduler.job: fix incorrect name of job 7391 * Add a hot-cpu example job 7392 * remove debug from --ignite-cpu option 7393 * Add scheduler class example job 7394 * manual: move mq options to correct location in man page 7395 * Add filesystem class example job 7396 * stress-hdd: ensure we do not divide by zero 7397 * test-libbsd: voidify returns from test calls 7398 * TODO: update things to do 7399 * Move number of instances into args struct, remove stressor_instances() 7400 * Add net class example job 7401 * Re-order the class names into alphabetical order 7402 * Add vm class example job 7403 * manual: add missing full stop in userfaultfd section 7404 * Add security class example job 7405 * Makefile: update dist and install rules to incorporate example jobs 7406 * Add pipe class example job 7407 * Add interrupt class example job 7408 * Add io class example job 7409 * Add device class example job 7410 * Add cpu-cache class example job 7411 * Add cpu class example job 7412 * Ensure stressor names are mungified from _ to - in class option 7413 * memory.job: make default run time 60 seconds per stressor 7414 * stress-mergesort: replace uint8_t sort with random mixer sort 7415 * stress-stream: remove args-> prefix from instance message 7416 * Add example memory job 7417 * man page: fix the resources option with line wrapping 7418 * man page: fix typo on sigpending-ops 7419 * Add new --job option allowing one to script stressors 7420 * split out arg parsing into a helper function, put opt data in a struct 7421 * snapcraft: remove icon and update snapcraft yaml 7422 * Add 128 byte cacheline alignment 7423 7424 -- Colin King <colin.king@canonical.com> Sat, 6 May 2017 13:27:11 +0100 7425 7426stress-ng (0.07.30-1) unstable; urgency=medium 7427 7428 * Makefile: bump version 7429 * stress-fstat: fix build warning on struct shim_statx bufx on BSD* 7430 * stress-fstat: don't use statx if AT_SYMLINK_NOFOLLOW or 7431 AT_EMPTY_PATH are not defined 7432 * stress-rlimit: restore brk point without using 7433 sbrk(-MAX_RLIMIT_DATA) 7434 * stress-rlimit: fill in empty {} fields 7435 * Add statx system call to shim and fstat stressor 7436 * stress-ptrace: formally voidify return from various system calls 7437 * stress-lsearch: formally voidify return from lsearch() call 7438 * stress-cpu: ensure variable b and b_flt are not re-assigned 7439 * stress-*timer: explicitly use float rather than integer constant 7440 * STRESS_*BIT macros: cast 1 to desired type before shifting 7441 * stress-rlimit: formally voidify return from sbrk() call 7442 * stress-get: formally voidify returns from get*() calls 7443 * stress-chroot: fix missing else in fork return state checks 7444 * stress-cpu: use helper to write data to sysfs 7445 7446 -- Colin King <colin.king@canonical.com> Thu, 20 Apr 2017 00:06:02 +0100 7447 7448stress-ng (0.07.29-1) unstable; urgency=medium 7449 7450 * Makefile: bump version 7451 * mwc: flush cached 8 and 16 bit values on reseeds (LP: #1681503) 7452 * voidify returns from various function calls 7453 * out-of-memory: #define constants and use these 7454 * Use the stress_handle_stop_stressing for child case 7455 * extern stress_handle_stop_stressing as it is a useful generic handler 7456 * Use new stress_sig_stop_stressing helper 7457 * Add stress_sig_stop_stressing helper to flag up end of stressing 7458 * stress-cpu-online: minor formatting clean-up of source 7459 * oomable option does not have any args, fix that 7460 * Add new --oomable option to stop OOM'd stressors from being restarted 7461 * stress-rlimit: add more rlimit limits, fix CPU limits 7462 7463 -- Colin King <colin.king@canonical.com> Tue, 11 Apr 2017 10:54:26 +0100 7464 7465stress-ng (0.07.28-1) unstable; urgency=medium 7466 7467 * Makefile: bump version 7468 * shim: voidify flags argument to shim_mlockall 7469 * stress-mlock: forgot to use shim_mlockall rather than mlockall 7470 * stress-mlock: use munlockall/mlockall shims, rename mlock_shim to do_mlock 7471 * shim: add shims for mlockall and munlock all 7472 * mwc: optimize 8 and 16 bit mwc functions (LP: #1677645) 7473 * stress-ng.h: remove unused macro STRESS_IONICE 7474 * Clean up some formatting of macros and long lines 7475 * rename type stress_op to stress_op_t 7476 * rename type stress_id to stress_id_t 7477 * stress-ng.h: rename type stress_func to stress_func_t 7478 * stress-cpu: verify idct method more efficiently 7479 * Add autoconfig test for 64 byte alignment too 7480 * Fix test for 64K alignment (instead of 64 byte) 7481 * Makefile: add missing .PHONY and correct spelling of .PHONEY 7482 * Add autodetection for 64 byte alignment of functions (LP: #1676834) 7483 * stress-rmap: use shim fallocated rather than posix_fallocate 7484 * Makefile: no need to make configuration when making pdf 7485 7486 -- Colin King <colin.king@canonical.com> Thu, 30 Mar 2017 17:26:17 +0100 7487 7488stress-ng (0.07.27-1) unstable; urgency=medium 7489 7490 * Makefile: bump version 7491 * Makefile: Add TODO list to make dist rule 7492 * manual: update date 7493 * stress-pty: don't conditionally build out stress_set_pty_max 7494 * Update TODO list 7495 * stress-memfd: use correct printf format specifier for uint64_t type 7496 * stress-chdir, stress-dir: remove unused static flags 7497 * stress-socket-fd: remove unused macro MAX_FDS 7498 * stress-memfd: fix comment 7499 * stress-chdir: correct the chdir-dirs option name 7500 * stress-chdir: set default to correct DEFAULT_CHDIR_DIRS 7501 * Add missing control for 4 stressors: (LP: #1676419) 7502 * - Add --pty-max option to specify max number of ptys to try to open 7503 * - Add --memfd-fds option to specify the number of memory file descriptors 7504 * - Add --dir-dirs option to specify number of directories to stress on 7505 * - Add --chdir-dirs option to specify number of directories 7506 * log: add some more comments 7507 * ignite-cpu: add some more minor comments 7508 * helper: add some more comments 7509 * stress-ng: add some more comments 7510 * stress-ng: remove some blank lines 7511 * mlock: remove const from m_addr_start to fix clang warning 7512 * stress-fanotify: remove const from metadata declaration 7513 * stress-cpu: remove unnecessary packed attribute on a union 7514 * rename optarg args to opt as these shadow the global oparg variable 7515 * fix up incorrect args to various stressors 7516 * net: make stress_set_sockaddr_port net_addr const 7517 * Minor layout re-formatting of long_options table 7518 * stress-ng: Set per stressor default settings using stressor_set_defaults 7519 * Manual: update copyright year 7520 * Add TODO list 7521 * stress-chroot: fix typo, ENODIR -> ENOTDIR 7522 * stress-vecmath: remove -O3 optimisation as this breaks gcc on ppc64el 7523 * Remove PEDANTIC=1 from makefile 7524 7525 -- Colin King <colin.king@canonical.com> Mon, 27 Mar 2017 13:49:11 +0000 7526 7527stress-ng (0.07.26-1) unstable; urgency=medium 7528 7529 * Makefile: bump version 7530 * fast-test-all: revert back to maximum of 4 stressors 7531 * stress-zero: disable write to /dev/zero for minix 7532 * shim: fix build error and warnings on Minix builds 7533 * stress-fstat: allow threadless builds for systems without pthreads 7534 * stress-ng: fix cppcheck style warnings: reduce scope of variables i and j 7535 * stress-fstat: reduce scope of variable fd 7536 * stress-zlib: clean up cppcheck style warnings 7537 * stress-stackmmap: clean up cppcheck style warning 7538 * stress-bind-mount: use args_t wrapper for clone to fix warning 7539 * Wrap const *args_t to pass non const void * arg to pthread_create 7540 * stress-tmpfs: constify array mmap_flags[] 7541 * stress-shm-sysv: constify array shm_flags[] 7542 * stress-opcode: constify static array sigs[] 7543 * stress-mmap: constify mmap_flags 7544 * stress-af-alg: constify static data structures 7545 * test-asm-nop: add copyright boiler plate message 7546 * Make default cache size information debug only 7547 * thrash: add some function comments 7548 * shim: add more comments 7549 * Use the mincore shim to hide BSD/linux 3rd argument differences 7550 * Add shim for mincore(2) 7551 * shim: madvise: map madvise advice to posix_madvise advice 7552 * stressors: use shim_madvise rather than madvise 7553 * Add shim for madvise(2) 7554 * stress-fp-error: check for EDOM, ERANGE (LP: #1674000) 7555 * Make FORCE_DO_NOTHING build in a nop before other ways of doing nothing 7556 * stress-matrix: align matrices to 64 bytes to reduce cache stalls 7557 * stress-matrix: use restrict on arrays for more compute 7558 * stress-icache: add missing support for PPC64 7559 * Add ppc64 arch to defined STRESS arch types 7560 * stress-icache: add missing support for IBM s390 7561 * Add s390 arch to defined STRESS arch types 7562 * stress-icache: don't build in 64K page support for ARMEL 7563 * Makefile: replace 'got' with 'using' in autoconfiguration text 7564 * stress-getrandom: check for EINTR failures (from SIGALRM) 7565 * Makefile: generate apparmor raw binary data silently 7566 * Explicitly call pr_closelog() and flush pending output (Closes: #857942) 7567 7568 -- Colin King <colin.king@canonical.com> Mon, 20 Mar 2017 10:32:35 +0000 7569 7570stress-ng (0.07.25-1) unstable; urgency=medium 7571 7572 * Makefile: bump version 7573 * helper: avoid calling sched_cpu on ppc64le 7574 * Makefile: remove NOTPARALLEL, it's not helpful 7575 * fast-test-all: remove xattr as it can break some file systems 7576 * Makefile: don't autoconfig if we are making dist clean or install 7577 * stress-mlock: add in const to void when calling mlock 7578 * stress-icache: unconstify page_addr to clean up build warnings 7579 * stress-vm: rename ret to waitret to fix variable shadowing 7580 * stress-chroot: rename ret to waitret to fix variable shadowing 7581 * stress-chroot: rename static path to temppath 7582 * Makefile: display config steps and don't break if config is not available 7583 * Add NOPARALLEL to config rules 7584 * Makefile: Add .PHONY to rules 7585 * manual: forgot to add the manual from the zlib changes 7586 * stress-madvise: avoid overuse of MADV_HWPOISON (LP: #1672387) 7587 * vecmath: use gcc __int128_t types if they are available 7588 * Makefile: remove -g flag from default build 7589 * README: update number of stressors and examples on how to build 7590 * manual: update contributors list 7591 * manual: fix escape around - for a stress-ng iomix example 7592 7593 -- Colin King <colin.king@canonical.com> Thu, 16 Mar 2017 10:57:11 +0000 7594 7595stress-ng (0.07.24-1) unstable; urgency=medium 7596 7597 * Makefile: bump version 7598 * stress-fstat: remove siglongjmp, bad idea in threads 7599 * stress-fstat: forgot to sigfillset on set 7600 * helper: use correct format specifier to print size_t variable 7601 * syscalls: add statx entry to table 7602 * stress-fstat: run multiple threads on fstat for more stress 7603 * stress-wait: fix spelling mistake in comment 7604 * stress-socketpair: remove empty line 7605 * stress-null: add mmap'ing and msync writes to /dev/null 7606 * stress-memcpy: add in structure copying 7607 * stress-flock: remove empty line 7608 * stress-zero: privately mmap to /dev/zero rather than shared map 7609 * stress-zero: add write to /dev/zero as this is also allowed 7610 * stress-zlib: remove redundant assignment to ret 7611 * stress-zlib: use PRIu64 format specifiers for uint64_t types 7612 * stress-fcntl: fix build warning on minix 7613 * helper: sigaltstack is available for GNU/HURD 7614 * helper: fix random segfaults because of setting stack start incorrectly 7615 * stress-zlib: clean up some tabbing/whitespace alignments in table 7616 * stress-ng: don't use stress_set_zlib_method if zlib is not available 7617 * helper: set sa_flags to SA_ONSTACK to fix stackmmap segfault 7618 * stress-stackmmap: ensure signal handler stack is not on the stack 7619 * stress-stackmmap: fix random segfaulting 7620 * stress-atomic: fix build of this stressor 7621 * Add a stress_sigaltstack alt stack helper and use helper 7622 * Revert "helper: ensure ss_flags are set to SA_ONSTACK" 7623 * helper: ensure ss_flags are set to SA_ONSTACK 7624 * helper: GNU/HURD and Minix don't support sigaltstack, so ignore this 7625 * stress_sighandler: ensure signal handlers use alternative signal stack 7626 * stress-stackmmap: jump back to main loop via swapcontext 7627 * Forgot to check in modifications to stress-ng.[ch] for the zlib changes 7628 * stress-zlib: add check sum sanity checking and --zlib-method 7629 * affinity: voidify returns from printf family of calls 7630 * voidify returns from fflush 7631 * voidify returns from printf family of calls 7632 * voidify return from kill() 7633 * voidify return from close, fclose and closedir 7634 7635 -- Colin King <colin.king@canonical.com> Mon, 13 Mar 2017 11:42:12 +0000 7636 7637stress-ng (0.07.23-1) unstable; urgency=medium 7638 7639 * Makefile: bump version 7640 * stress-fcntl: minix does not require fd_get 7641 * helper: use STRESS_SC_PAGES as defined in previous commit 7642 * helper: try to use avg available phys pages and then total phys pages 7643 * stress-ng.h: Re-organise ordering and formatting of macros 7644 * Clean up the GCC attribute macros 7645 * Add ALWAYS_INLINE gcc macro, force inlining of some critical functions 7646 * Add a NORETURN gcc attribute macro and flag waste_resources accordingly 7647 * stress-vm: initialize bit_error_count as MAP_FAILED 7648 * stress-vm: check for bit errors and report them rather than ignoring them 7649 * stress-bigheap: ensure heap growth size is rounded to pagesize 7650 * Add new helper to check sizes in bytes and print in human readable format 7651 * Allow memory stressors to run with ridiculously large allocations 7652 * Allow one to specify sizes of files or memory in % of total available. 7653 * Manual: clarify --cpu-load and --cpu-slice options 7654 * Print out stressors in a class when using --class <name>? 7655 7656 -- Colin King <colin.king@canonical.com> Mon, 6 Mar 2017 15:02:01 +0000 7657 7658stress-ng (0.07.22-1) unstable; urgency=medium 7659 7660 * Makefile: update version 7661 * stress-vforkmany: move counter increment to pre-vfork stage 7662 * stress-vforkmany: don't call setpgid in a vfork child 7663 * stress-socket: unlink AF_UNIX path only if addr is not NULL 7664 * stress-dccp: unlink AF_UNIX path only if addr is not NULL 7665 * stress-iomix: remove redundant increments of posn 7666 * stress-iomix: ENOSPC on fallocate is a EXIT_NO_RESOURCE error 7667 * Update conversion tables, bytes and times 7668 * Emit metrics even when counter is zero if test has been successfully run 7669 * stress-futex: fix a broken comment 7670 * stress-ng: fix rounding error in bogo ops-calculation 7671 * stress-iomix: force page to be read even on high optimization levels 7672 * stress-iomix: fix mmap flags, should be PROT_READ | PROT_WRITE 7673 * stress-fcntl: reduce scope on variable fd 7674 7675 -- Colin King <colin.king@canonical.com> Tue, 28 Feb 2017 17:59:58 +0000 7676 7677stress-ng (0.07.21-1) unstable; urgency=medium 7678 7679 * Makefile: bump version 7680 * Makefile: add test-asm-nop.c to dist rule 7681 * Makefile: add config to dist rule 7682 * stress-fault: fix build on BSD, missing g_ prefix on keep_stressing_flag 7683 * Makefile: save and re-load configuration 7684 * stress-apparmor: prefix global data with g_ 7685 * mwc: make __mwc static, it's not referred to globally nowadays 7686 * Prefix all globals with g_ to indicate they are in global scope 7687 * stress-chroot: make functions static 7688 * stress-iomix: fix build warnings with gcc 3.4.3 7689 * stress-ng.h: include strings.h for sun builds for rindex 7690 * shim: fix build warning on FreeBSD 7691 * stress-icache: forgot to add addr voidification 7692 * shim: handle ENOSYS on posix_fallocate by using emulated fallocate 7693 * stress-icache: fix warning when madvise does is not being used 7694 * Add no-op nop cycle waster stressor 7695 * stress-icache: cater for 4K, 16K and 64K page sizes and alignments 7696 7697 -- Colin King <colin.king@canonical.com> Fri, 17 Feb 2017 14:58:11 +0000 7698 7699stress-ng (0.07.20-1) unstable; urgency=medium 7700 7701 * fast-test-all: print system information 7702 * stress-key: handle ENOSYS on KEYCTL_SET_TIMEOUT and bail out early 7703 * stress-iomix: remove redundant directory removal on fallocate failure 7704 * shim: add emulation for failed fallocate(2) 7705 7706 -- Colin King <colin.king@canonical.com> Thu, 9 Feb 2017 11:08:01 +0000 7707 7708stress-ng (0.07.19-1) unstable; urgency=medium 7709 7710 * Makefile: bump version 7711 * Manual: update date 7712 * stress-iomix: don't use fdatasync on non-linux systems 7713 * stress-chroot: make this unsupported for non-Linux systems 7714 * stress-iomix: use shim_msync instead of msync for portability reasons 7715 * stress-iomix: only use fadvise on linux 7716 * stress-iomix: only use MAP_POPULATE on systems that provide this flag 7717 * stress-iomix: only use FALLOC_FL_ZERO_RANGE on systems where it is available 7718 * Correctly default iomix size to 1GB 7719 * Move page_size to args struct, remove need for stress_get_pagesize calls 7720 * Add a new iomix mixed I/O stressor 7721 * stress-chroot: EINTR should not flag up as an error 7722 * Add a chroot stressor 7723 * Makefile: add pdf manual making rule 7724 * stress-socketpair: abort on read failure 7725 * stress-yield: remove args-> from instacne message text 7726 * stress-msync: add another missing \n 7727 * stress-sync-file: abort early on sync failures 7728 * stress-msync: add missing \n on error message 7729 7730 -- Colin King <colin.king@canonical.com> Wed, 8 Feb 2017 13:47:31 +0000 7731 7732stress-ng (0.07.18-1) unstable; urgency=medium 7733 7734 * Makefile: bump version 7735 * stress-resources: don't build in timer data if SIGUNUSED is not defined 7736 * mwc: move inlined functions back into mwc.c 7737 * stress-resources: don't build timer code of SIGUNUSED is not defined, 7738 fixes builds on mips, mips64el, alpha, sparc64 7739 7740 -- Colin King <colin.king@canonical.com> Wed, 1 Feb 2017 07:03:54 +0000 7741 7742stress-ng (0.07.17-1) unstable; urgency=medium 7743 7744 * Makefile: bump version 7745 * fast-test-all: add more feedback on failed or skipped tests at 7746 end of test 7747 * stress-tlb-shootdown: ensure we have a sensible number of child 7748 processes 7749 * stress-fcntl: disabled F_DUPFD_* stressors for minix 7750 * stress-fcntl: ensure we are not dup'ing onto an already open fd 7751 * stress-fcntl: only use flock64 for linux 7752 * stress-fcntl: fix F_OFD_GETLK error message 7753 * stress-fcntl: use flock64 for locking fcntl calls 7754 * stress-get: treat EOVERFLOW on prlimit as not a fatal error 7755 * mincore: fix incorrect inverted logic to test for minix 7756 * fix build warning with missing const on BSD builds 7757 * fix build warnings with missing const on GNU/HURD builds 7758 * Make opt_all and wait_flag static, they do not need to be global 7759 * Fix up some spelling mistakes 7760 * ignite-cpu: make settings static 7761 * rename opt_do_wait to wait_flag as a more appropriate name 7762 * rename opt_sigint to caught_sigint 7763 * Replace opt_do_run with keep_stressing_flag 7764 * mincore: ensure we touch pages even when calloc or mincore fail 7765 * stress-ng: func_supported should be a void arg 7766 * stress-resouces: add calloc resource suckage 7767 * stress-resources: add posix semaphore resource suckage 7768 * stress-resources: add timer resource suckage 7769 * stress-resources: add socketpair to resource suckage 7770 * Optimize mwc64/32/16/8 functions 7771 * stress-noop: add loop and inc to show minimal stressor example 7772 * Optimize __keep_running helper 7773 * Add LIKELY/UNLIKELY macros 7774 * time.c: add another constification 7775 * helper, stress-ng.h: add a couple more constifications 7776 * cache: more constifications, remove comment from #endif 7777 * perf: use scientific notation to define double constants 7778 * stress-sleep: constify cast 7779 * constify args_t *args parameters 7780 * cache.c, stress-ng.h: move generic_map to cache.c, make it a typedef 7781 * stress-ng.h: add some more comments to various fields 7782 * stress-fifo: fix wrap around detection 7783 * stress-get: need to assign ret before checking it 7784 * stress-fcntl: remove "name: " prefix in error message 7785 * stress-icache: add missing ; to fix *BSD build 7786 * stress-tmpfs: use args->pid instead of getpid on pid 7787 * stress-hdd: fix build issue on GNU/HURD 7788 * stress-atomic: fix missing ; 7789 * use a new helper keep_stressing() to check if we should keep on running 7790 * Fix up pr_msg va_args, requires a shim 7791 * log: make args const 7792 * make pr_* macros into shim functions, shrinks the build size 7793 * pr_fail always writes to stderr, so remove the need to specify the 7794 stream 7795 * pr_err always writes to stderr, so remove the need to specify the 7796 stream 7797 * pr_tidy always writes to stderr, so remove the need to specify the 7798 stream 7799 * pr_dbg always writes to stderr, so remove the need to specify the 7800 stream 7801 * pr_inf always writes to stdout, so remove the need to specify the 7802 stream 7803 * Remove need to pass name in pr_fail_err, pr_fail_errno, pr_fail_dbg 7804 * Add stress_temp_filename_args helper 7805 * Add stress_temp_dir_args helper 7806 * Add stress_temp_dir_rm_args helper to rmdir given stressor args 7807 * Add stress_temp_dir_mk_args helper to mkdir given stressor args 7808 * Use arg->pid and arg->ppid rather than getpid() and getppid 7809 * stress-tsc: fix missing typo 7810 * Add pid, ppid and re-order args to pack more efficiently in args_t 7811 * Pass args to stressors via a args_t struct 7812 * Use the new mmap_check/set helper funcs 7813 * Add mmap set/check helpers 7814 * thrash: perform some sanity checks on mmap ranges 7815 * stress-tmpfs: remove unnecessary mypid variable 7816 * Add a tmpfs file/mmap stressor 7817 * stress-af-alg: fix fd leak, add close on error exit path 7818 * stress-af-alg: check for null ptr on cmsg to keep clang scan happy 7819 * stress-resources: reduce scopeof slavename, make it const char * 7820 * stress-netlink-proc: reduce scope of newname 7821 * stress-vm-rw: return EXIT_NO_RESOURCE on resource failure 7822 7823 -- Colin King <colin.king@canonical.com> Tue, 31 Jan 2017 13:57:12 +0000 7824 7825stress-ng (0.07.16-1) unstable; urgency=medium 7826 7827 * Makefile: bump version 7828 * fast-test-all: remove vforkmany, this can be aborted by the OS 7829 * stress-numa: abort when no NUMA nodes found with EXIT_NO_RESOURCE 7830 * stress-numa: make determining number of nodes non-fatal 7831 * stress-numa: correctly deduce number of available NUMA memory 7832 nodes (LP: #1656419) 7833 * stress-*: make all pr_inf info messages write to stdout and not stderr 7834 * stress-numa: add some info about number of NUMA nodes found 7835 * stress-numa: add in better error failure abort and error return 7836 * stress-numa: probe for maximum number of NUMA nodes 7837 * stress-wcstr: fix build error for stress_wcscpy 7838 * stress-wcs: fix wcslcpy and wcslcat test cases 7839 * stress-wcs: improve failure detection, bail out early if tests fail 7840 * stress-str: fix strlcpy and strlcat test cases 7841 * stress-str: improve failure detection, bail out early if tests fail 7842 * stress-seccomp: add openat to system calls to fix failure on aarch64 7843 * stress-seccomp: use pr_fail for seccomp errors 7844 7845 -- Colin King <colin.king@canonical.com> Fri, 20 Jan 2017 19:44:11 +0000 7846 7847stress-ng (0.07.15-1) unstable; urgency=medium 7848 7849 * Makefile: bump version 7850 * fast-test-all: use --stressors to get the list of stressors 7851 * stress-ng: fix typo in tlb-shootdown-ops option 7852 * stress-ng: correct the alphabetical order of stressor names 7853 * fast-test-all: sync before running next test 7854 * mounts: cater for *BSD mount info fetching 7855 * stress-netlink-proc.c: fix build issue on non-Linux systems 7856 * Fix build issue introduced in commit 39025068b1fe1c2a72220 7857 * stress-ng.h: remove double line spacing, add some comments 7858 * Manual: update contributors list 7859 * stress-rename: fix incorrect end of test logic 7860 * stress-ng: minor cleanup of spacing, some inlining and comments 7861 * Remove white space and replace ^ . with \t 7862 * Forgot to add in stress-netlink-proc.c 7863 * Add netlink-proc stressor 7864 * stress-rlimit: force checking of run time in case we miss SIGALRM 7865 7866 -- Colin King <colin.king@canonical.com> Tue, 17 Jan 2017 13:43:22 +0000 7867 7868stress-ng (0.07.14-1) unstable; urgency=medium 7869 7870 * Makefile: bump version 7871 * Manual: update date 7872 * stress-socketpair: make stress_sockpair_oomable static 7873 * stress-socketpair: detect an oom-killed stressor 7874 * helper: don't use prctl PR_SET_DUMPABLE, it disables oom adjustment 7875 and hence we can easily overcommit when running as root (LP: #1654971) 7876 * out-of-memory: use /proc/self/... rather than /proc/$mypid/... 7877 * helper: use /proc/self/... rather than /proc/$mypid/... 7878 * stress-hsearch: don't free keys, some don't free them in hdelete 7879 * stress-vforkmany: use sighandler alternative stack 7880 * stress-context: make stack_sig static 7881 * Makefile: remove -g flag 7882 * stress-itimer: initialise start time 7883 * Add new --vforkmany stressor 7884 * stress-fanotify: ensure stress_fanotify_supported is built 7885 * Add fanotify stressor 7886 * Expand --get option in manual 7887 * stress-get: don't verify on adjtimex if not root, add sysfs calls 7888 * Add sysfs(2) shim wrapper 7889 * stress-membarrier: also exercise CMD QUERY 7890 * stress-dccp: report correct errno from connect failure 7891 * Makefile: update copyright year 7892 * update copyright year 7893 7894 -- Colin King <colin.king@canonical.com> Tue, 10 Jan 2017 15:32:10 +0000 7895 7896stress-ng (0.07.13-1) unstable; urgency=medium 7897 7898 * Makefile: bump version 7899 * Makefile: rename check rule to fast-check-all 7900 * manual: update date 7901 * stress-udp: fix build warning on minix 7902 * stress-mmap: fix build issue with ms_flags on GNU/HURD and minix 7903 * add a make check rule to run debian/tests/fast-test-all 7904 * stress-pthread: add error checking on cond, mutex and spinlock init 7905 * add shim abstraction to msync, use this on various stressors 7906 * stress-pthread: check for init failures and use a spinlock on counter 7907 * add new dirdeep max depth directory stressor 7908 * README: Update info on libraries required for a full build 7909 * stress-cpu: fix missing bogo ops counter increment 7910 * enforce 64 byte alignment to buffer 7911 * stress-futex: fix typo in comment 7912 * ensure stacks are aligned to 64 byte boundaries 7913 * stress-hdd: use new align_address helper 7914 * helper: add align_address helper to align a address to power of 2 boundary 7915 * stress-sysinfo: only dump out info on number of mount points on instance 0 7916 * trivial typo in man page 7917 7918 -- Colin King <colin.king@canonical.com> Tue, 27 Dec 2016 19:40:19 +0000 7919 7920stress-ng (0.07.12-1) unstable; urgency=medium 7921 7922 * Makefile: bump version 7923 * stress-udp: minix fails on setsockopt SO_REUSEADDR, so ignore it 7924 * stress-get: don't use NULL delta, just pass a zero delta timeval struct 7925 * stress-fifo: catch EINTR as non-fatal error on open 7926 * stress-resources: fix warning message on unused parameter 'pipe_size' 7927 * debian/tests: remove dccp from fast-test-all 7928 * helper: fix build issues on non-linux targets 7929 * update date in the manual 7930 * stress-resources: add pty resource suckage 7931 * stress-resources: add inotify resource suckage 7932 * stress-resources: try to expande pipe to maximum allowed size 7933 * stress-oom-pipe: use stress_probe_max_pipe_size helper 7934 * helper: add stress_probe_max_pipe_size to fine max pipe size 7935 * Add Datagram Congestion Control Protocol dccp stressor 7936 * stress-resources: add single pthread as another resource hogger 7937 * ensure -v output is no wider than 80 chars to avoid line wrap on std tty 7938 * stress-schedpolicy: set policy with param, remove unused new_param 7939 7940 -- Colin King <colin.king@canonical.com> Mon, 19 Dec 2016 14:33:23 +0000 7941 7942stress-ng (0.07.11-1) unstable; urgency=medium 7943 7944 * Makefile: bump version 7945 * thrash: bump the priority to 10 7946 * thrash: use RR scheduler if possible on linux 7947 * stress-sctp: don't unlink on an address that is NULL 7948 * stress-schedpolicy: the set/get param was a bit unsound, fix it 7949 * stress-fault: silence a clang warning 7950 * stress-membarrier: pass thread arg as a ctxt_t * type 7951 * helper: make __stress_get_stack_direction static 7952 * stress-fstat: rename jump buffer to jmpbuf to avoid name shadowing 7953 * mlock: fix warning with older pre gcc 4.4 on solaris 7954 * helper: fix some more print pid_t warnings 7955 * fix warnings on printing pid_t type 7956 * stress-cpu: only use gcc optimise attribute on gcc 4.4 or higher 7957 * small cleanups to stress-ng.h 7958 * stress-personality: return EXIT_NOT_IMPLEMENTED if no personalities exist 7959 * replace #ifdef with #if defined() as the default idiom 7960 * makefile: use grep -e instead of grep -f 7961 * add support macro for gcc-7 switch statement case fallthrough 7962 7963 -- Colin King <colin.king@canonical.com> Wed, 14 Dec 2016 18:15:14 +0000 7964 7965stress-ng (0.07.10-1) unstable; urgency=medium 7966 7967 * add copyright boiler plate on fast-test-all 7968 * stress-personality: move memset to avoid memset 0 sized array 7969 * forgot to add shim_getlogin to stress-ng.h 7970 * shim: add more secure version of getlogin 7971 * stress-mmapfork: fix typo on buffer sizeof 7972 * stress-link: ensure buffer returned from readlink is terminated with zero 7973 * shim_usleep: use nanosleep if it is available, fallback to older usleep 7974 * stressors: use shim_usleep instead of deprecated usleep 7975 * shim: abort early from shim_usleep if opt_do_run is false 7976 * add usleep shim 7977 * stress-opcode: rename signal handler dummy arg to signum 7978 * stress-membarrier: memset pthread_ret with correct size 7979 * stress-shm: use shim_fallocate rather than posix_fallocate 7980 * stress-hdd: workaround lack of posix_memalign on sun 7981 * stress-rmap: sun builds may not have posix_fallocate, so don't build it 7982 * stress-wait: work around long int pid_t warnings on Sun systems 7983 * stress-wcstr: sun wide char support has some wcs funcs missing 7984 * stress-flock: disable this stressor for sun machines 7985 * makefile: use -f instead of -e for Solaris versions of test 7986 7987 -- Colin King <colin.king@canonical.com> Tue, 13 Dec 2016 19:43:11 +0000 7988 7989stress-ng (0.07.09-1) unstable; urgency=medium 7990 7991 * Makefile: bump version 7992 * helper: fix cppcheck warning by initialising val1 7993 * stress-fstat: don't open /dev files to stat them when running as root 7994 * stress-fstat: don't bump counter if fstat fails 7995 * stress-fstat: perform end of test check earlier than later 7996 * stress-sync_file: use sync_file_range2() where required 7997 * allow for static building, using STATIC=1 make 7998 7999 -- Colin King <colin.king@canonical.com> Tue, 6 Dec 2016 21:41:22 +0000 8000 8001stress-ng (0.07.08-1) unstable; urgency=medium 8002 8003 * Makefile: bump version 8004 * add NOCLOBBER macro and make some variables noclobberable 8005 * stress-aio-linux: clean up clang warnings 8006 * remove need to pass an argument to stress_get_stack_direction 8007 * add smatchify script to make dist rule 8008 * add smatchify static analysis script 8009 * stress-userfaultfd: remove unnecessary exit_status call 8010 * stress-socket: fix inconsistent indenting 8011 * fast-test-all: remove tailing tabs 8012 * snapcraft Makefile: remove trailing whitespace 8013 * stress-daemon: clean up fd closing and add SIGALRM handler 8014 * make daemon stressor a little more responsive to SIGALRMs 8015 * make snapcraft confinement strict 8016 * getrandom: add support for systems that support getentropy(2) 8017 * shim: add comment about shim functions 8018 * helper: remove caches = NULL for non-linux systems to fix build error 8019 * shim: fall back to allocation via writes on fallocate 8020 * stress-yield: remove need to use alloca, use calloc instead 8021 * manual: add Luis to contributors list and sort names alphabetically 8022 * shim: fix userfaultfd failures due to a typo 8023 * increase STRESS_PROCS_MAX to 4096 for higher load on large iron 8024 * stress-userfaultfd: work around static analysis false positive on fd 8025 * stress-stream: avoid re-assignment of cpu_caches on linux case 8026 * trash: remove traced, it is serving no purpose 8027 * helper: don't re-assign cpu_caches on __linux__ build 8028 * net: iterate to the size of domains rather than using sentinel 8029 * affinity: remove #includes as these are included in stress-ng.h 8030 * stress-oom: add in missing space between ooms and = 8031 8032 -- Colin King <colin.king@canonical.com> Thu, 1 Dec 2016 11:45:11 +0000 8033 8034stress-ng (0.07.07-1) unstable; urgency=medium 8035 8036 * Makefile: bump version 8037 * fast-test-all: don't run spawn test for testing 8038 * fast-test-all: remove check for existence of stress-ng 8039 8040 -- Colin King <colin.king@canonical.com> Fri, 25 Nov 2016 19:55:33 +0000 8041 8042stress-ng (0.07.06-1) unstable; urgency=medium 8043 8044 * update build rules for Solaris 8045 * add MINIX notes to README 8046 * shim: add check for posix_fallocate (fixes minix build error) 8047 * abstract loff_t as it is not available on *BSD systems 8048 * fix *BSD systems that don't support ino64_t and off64_t types 8049 * stress-fallocate: use shim_fallocate wrapper 8050 * shim: fix non-Linux build failure on shim_mlock2 8051 * stress-fallocate: remove __linux__ only constraints on modes 8052 * cache: make DCACHE and ICACHE #defines kernel gemeric 8053 * remove white space and tabs at end of lines 8054 * shim: add mlock2 system call to shim 8055 * shim: add sched_getattr and sched_setattr shims 8056 * shim: prefix linux_dirent* structs with shim_ 8057 * stress-seal: use shim for memfd_create 8058 * stress-ng: minor re-ordering of structs and shim functions 8059 * shim: rename sys_ioprio_* to shim_ioprio_* 8060 * shim: add unshare system call to shim 8061 * shim: add seccomp system call to shim 8062 * shim: add userfaultfd system call to shim 8063 * shim: add some more __linux__ checks 8064 * stress-opcode: use shim_clear_cache 8065 * shim: add NUMA specific system calls to shim 8066 * shim: add memfd_create system call to shim 8067 * shim: add membarrier system call to shim 8068 * shim: add syslog system call to shim 8069 * shim: add kcmp system call to shim 8070 * shim: add __clear_cache GNUC cache clearing helper to shim 8071 * shim: add getramdom system call to shim 8072 * shim: add getdents and getdents64 system calls to shim 8073 * shim: add getcpu system call to shim 8074 * stress-get: use shim_gettid 8075 * shim: add gettid system call to shim 8076 * shim: add fallocate system call to shim 8077 * shim: add copy_file_range system call to shim 8078 * shim: add cacheflush system call to shim 8079 * add shim abstraction layer for sched_yield() 8080 * fast-test-all: add some feedback on when a test is being run 8081 * use pr_fail_err on some more error messages 8082 * fast-test-all: allow for STRESS_NG to specify stress-ng 8083 * stress-epoll: fix build for GNU/HURD 8084 * move all common #includes into stress-ng.h 8085 * stress-ng.h: Add alloc.h include for sun arch 8086 * stress-ng.h: include some more common headers and define _GNU_SOURCE 8087 * stress-schedpolicy: fix broken counter, it was never being incremented 8088 * stress-resources: fix broken counter, it was never being incremented 8089 * stress-personality: fix broken counter, it was never being incremented 8090 * stress-fp-error: fix broken counter, it was never being incremented 8091 * fix broken counter, it was never being incremented 8092 * stress-bind-mount: fix broken counter, it was never being incremented 8093 * stress-handle: fix memory leak on line and also bump counter 8094 * stress-apparmor: free apparmor_path to fix minor memory leak 8095 * ensure cache region is free before termination 8096 * stress-fstat: use sigsetjmp instead of sigjmp 8097 * wrap some overly wide lines 8098 * use pr_fail_err() instead of pr_fail where appropriate 8099 * reduce scope of iterator variable i 8100 * remove alloca in stressor_name_find 8101 * remove space prefixed on klog-ops option 8102 * mincore: touch pages even when mincore fails 8103 * update syscalls.txt 8104 * stress-schedpolicy: add sched_setattr/sched_getattr calls for Linux 8105 * stress-schedpolicy: add more sched syscalls, clean up code 8106 * add schedpolicy stressor 8107 * stress-ng.h: change macro param name in STRESS macro 8108 8109 -- Colin King <colin.king@canonical.com> Fri, 25 Nov 2016 10:43:11 +0000 8110 8111stress-ng (0.07.05-1) unstable; urgency=medium 8112 8113 * Makefile: bump version and update codename 8114 * stress-fstat: fix resource leak on dp on error exit path 8115 * stress-fstat: forcibly abort any system call on SIGALRM 8116 * stress-aio-linux: use return as errno rather than errno 8117 * stress-aio-linux: use return as errno rather than errno 8118 * Need to #include <sched.h> when using clone(2) 8119 8120 -- Colin King <colin.king@canonical.com> Thu, 17 Nov 2016 22:55:21 +0000 8121 8122stress-ng (0.07.04-1) unstable; urgency=medium 8123 8124 * Makefile: bump version 8125 * Add SIGUSR2 load average and memory stats information 8126 * Makefile: don't remove apparmor-data.o 8127 * Rename stress_sethandler to stress_set_handler 8128 * Manual: add notes on how to properly terminate stress-ng 8129 * Add SIGHUP to comment about terminating stress-ng 8130 * Makefile: clean up objects and apparmor-data.o 8131 * affinity: add some comments to functions 8132 * stress-cpu: add some optimisation hints 8133 * stress-cpu: add some more precision to constants 8134 * stress-fallocate: verify file size if posix_fallocate succeeded 8135 * stress-aio-linux: check for io_setup resource failures (LP: #1640547) 8136 8137 -- Colin King <colin.king@canonical.com> Fri, 11 Nov 2016 12:42:12 +0000 8138 8139stress-ng (0.07.03-1) unstable; urgency=medium 8140 8141 * Makefile: bump version 8142 * stress-ioprio: use current pgrp and not global pgrp (LP: #1640631) 8143 8144 -- Colin King <colin.king@canonical.com> Thu, 10 Nov 2016 00:00:01 +0000 8145 8146stress-ng (0.07.02-1) unstable; urgency=medium 8147 8148 * Makefile: bump version 8149 * Manual: Add exit status 4 EXIT_NOT_IMPLEMENTED to documentation 8150 * Treewide: remove messy #if defined() build checks 8151 * Allocate io_reqs on heap rather than alloca 8152 * Makefile: re-format PEDANTIC CFLAGS 8153 * stress-fiemap: fix up --fiemap-bytes option 8154 * stress-sock-fd: add --sockfd-port option 8155 * Add PEDANTIC build flags for extra checking 8156 * stress-icache: fix volatile cast warning 8157 * stress-vm: fix volatile cast warning 8158 * stress-socket: fix shadowing on addr 8159 * stress-mincore: addr does not need to be volatile 8160 * stress-ng, thermal_zone, remove shared param, it is global 8161 * parse-opts: fix char * cast warnings 8162 * perf: remove (char *) cast 8163 * helper: fix warnings 8164 * use gnu printf style attributes to pr_yaml 8165 * helper: cast pointer to const to fix warning 8166 * stress-poll: fix shadowing on ret, rename one to rc 8167 * Fix various bad castings for munge_underscore 8168 * stress-oom-pipe: fix shadowing on fd, rename to pfd to avoid confusion 8169 * stress-mq: remove shadowing variable attr 8170 * stress-hdd: remove duplicate declarations of ret; make it a ssize_t 8171 * stress-ng: make helper functions static 8172 * thrash: rename pid to thrash_pid 8173 * stress-zombie: make helper functions static 8174 * stress-zlib: make helper functions static 8175 * stress-xattr: remove redundant shadowing variable ret 8176 * stress-mremap: fix shadowing on rc, remove rc 8177 * stress-link: fix shadowing on ret 8178 * stress-rw-vm: fix shadowing of ret 8179 * stress-vm-rw: make helper functions static 8180 * stress-unshare: make helper function static 8181 * stress-tsearch: constify pointers 8182 * stress-socket-fd: make helper function static 8183 * stress-seek: fix shadowing on ret 8184 * stress-readahead: make helper function static, fix shadowing on ret 8185 * stress-qsort: constify pointers 8186 * stress-mlock: constify addr pointer cast 8187 * stress-mergesort: constify pointers 8188 * stress-memfd: fix shadowing of variable name 8189 * stress-fork: make helper function static 8190 * stress-lsearch: constify pointer casts 8191 * stress-itimer: make helper function static 8192 * stress-iopri: remove local pgrp that shadows global 8193 * stress-inotify: make helper func static, fix some const casts 8194 * stress-heapsort: fix constify warnings 8195 * stress-handle: make helper functions static 8196 * stress-fp-error: fix float comparison 8197 * stress-fifo: make helper function static, fix ret shadowing 8198 * stress-filename: make helper functions static 8199 * stress-fiemap: make helper functions static 8200 * stress-dnotify: make dnotify_attrib_file static, fix newpath const 8201 * stress-dentry: fix shadowing of variable j 8202 * stress-bsearch: correctly constify casts on i1, i2 8203 * stress-bind-mount: make stress_bind_mount_child static 8204 * stress-cpu-online: make stress_cpu_online_set static 8205 * stress-clone: make stress_clone* helper functions static 8206 * stress-bsearch: constify i1 and i2 8207 * stress-aio-linux: remove duplicate and shadowing variable ret 8208 * stress-af-alg: make helper functions static 8209 * Remove redundant re-declaration of mwc_seed 8210 * stress-cap: sscanf on pid_t should be %d 8211 * Make munge_underscore arg const char * 8212 * Mungify _ to - in stressor names in --stressors option 8213 8214 -- Colin King <colin.king@canonical.com> Tue, 8 Nov 2016 15:58:11 +0000 8215 8216stress-ng (0.07.01-1) unstable; urgency=medium 8217 8218 * Makefile: bump version 8219 * manual: update date 8220 * stress-ng: fix build issues for Solaris 8221 * stress-rmap: fix warnings with gcc 3.4.3 8222 * stress-rmap: Don't build for OpenBSD, it does not support posix_fallocate 8223 * stress-rmap: don't build for Minix 8224 * stress-rmap: rename macro CHILD_MAX to RMAP_CHILD_MAX 8225 * Add dnotify stressor 8226 * stress-*: voidify calls to setpgid 8227 * thrash: remove ptrace waits, not really required 8228 * thrash: use more standand %jx to scan in memory sizes 8229 * thrash: remove debug messages 8230 * manual: fix missing escape on - in --metrics-brief 8231 * Add --stressors option to show available stressors 8232 * cache: ensure path is set correctly for CPUs > 0 8233 * cache: fix FIXMEs on determining the CPU number a process is running on 8234 * Add stress_get_cpu() helper to fetch CPU number process is running on 8235 * manual: fix typo --stack-full should be --stack-fill 8236 * stress-rmap: remove redundant NO_MEM_RETRIES_MAX 8237 * stress-apparmor: another fix to signal handler comment 8238 * stress-rmap: uncomment setpgid call 8239 * stress-rmap: replace white spaces with tab 8240 * Add rmap stressor 8241 * stress-apparmor: fix comment 8242 * stress-icmp-flood: just count number of sendto failures 8243 * Add --thrash option. Don't use it unless you are crazy. 8244 * debian tests: expand the SKIPPED notes on the test script 8245 * debian test: use STRESS_NG var for stress-ng 8246 * debian test: Use sh and make use POSIX string compare 8247 * Add proc helper to help with init/destroy stressor helpers 8248 * call stress_unmap_shared if share cache region allocation fails 8249 * Add stress_map_shared helper to mmap stress-ng shared region 8250 * generalise max proc limiting 8251 * Factor out random stressor setting into helper function 8252 * Factor out pathological stressor disabling into helper function 8253 * stress-resources: declare pid if O_TMPFILE is also defined 8254 8255 -- Colin King <colin.king@canonical.com> Fri, 28 Oct 2016 11:49:41 +0100 8256 8257stress-ng (0.07.00-1) unstable; urgency=medium 8258 8259 * Makefile: bump version 8260 * Make ICMP flood stressor conditional build on OS basis 8261 * debian/rules: add hardening flags 8262 * helper: fix white space indentation (spaces replaced by tab) 8263 * stress-ng: bracket pid number on abort early message 8264 * stress-userfaultfd: catch OOMs and report these as no resource issues 8265 * stress-timer: make stress_timer_set static 8266 * stress-sysfs: add zero byte writes to sysfs files 8267 * stress-procfs: add zero byte writes to procfs files 8268 * stress-icache: ensure we mprotect on page aligned boundary 8269 * stress-opcode: unmap the shared region so we don't clobber it 8270 * stress-ng: generalise the run-time unsupported stressor checks 8271 * Add ICMP flood stressor 8272 * stress-shm*: minor change to comment 8273 * stress-rtc: fix ioctl() issues, use rtc_wkalrm for wake alarm ioctls 8274 * stress-rtc: add padding around rtc_tm to workaround an ioctl bug 8275 * stress-oom-pipe: fix pipe fd offset bug, causing writes to fd 0 on ppc64el 8276 * stress-ng: fix spelling of resrouces -> resources 8277 * stress-rtc: handle return code correctly and -EINTR aborts 8278 8279 -- Colin King <colin.king@canonical.com> Mon, 17 Oct 2016 09:44:02 +0100 8280 8281stress-ng (0.06.18-1) unstable; urgency=medium 8282 8283 * Makefile: bump version 8284 * stress-resources: include alloca.h for __sun__ arch 8285 * stress-ng: add missing break from switch on OPT_NO_RAND_SEED case 8286 * stress-procfs/sysfs: abort rather than re-doing reads on read errors 8287 * Add --no-rand-seed option to force reproduceable test start conditions 8288 * stress-wcstr: use safe strlcat and strlcpy BSD* systems 8289 * stress-str: use safe strlcat and strlcpy on *BSD systems 8290 * stress-str: use safe strlcat and strlcpy if we have BSD string library 8291 * Makefile: explicitly add -lc flags, stops a warning on FreeBSD builds 8292 * stress-resources: pid variable declared only on specific builds 8293 * stress-resources: don't build in syscall shims if we don't use them 8294 * stress-mmapfork: set max strncat size appropriately 8295 * Remove old deprecated --vm-stride from man page 8296 * stress-resources: chew up less memory 8297 * Remove resources stressor from fast test all 8298 * stress-resources: add setpgid call 8299 * stress-resources: try harder to terminate on SIGALRM 8300 * Add resource stressor 8301 8302 -- Colin King <colin.king@canonical.com> Mon, 3 Oct 2016 13:29:23 +0100 8303 8304stress-ng (0.06.17-1) unstable; urgency=medium 8305 8306 * Makefile: bump version 8307 * Update manual to explain the caveats with --perf 8308 * perf: detect when perf counters can't be used (LP: #1626009) 8309 - add better explanation on how to enable --perf as 8310 an unprivileged user 8311 8312 -- Colin King <colin.king@canonical.com> Wed, 21 Sep 2016 10:25:17 +0100 8313 8314stress-ng (0.06.16-1) unstable; urgency=medium 8315 8316 * Makefile: bump version 8317 * Makefile: add test-libsctp.c to make dist rule 8318 * test-libcrypt: fix cppcheck warning 8319 * Debian/control: add libgcrypt11-dev 8320 * stress-procfs: clear stack before use 8321 * manual: update date 8322 * stress-sysfs: only report an info message on instance 0 8323 * test-libsctp: add some checks for required macros 8324 * sched: fix build warning when building with clang on minix 8325 * sched: fix build warning when building with clang on minix 8326 * stress-stack: fix build warning when building with clang on minix 8327 * stress-mmap: fix build warning when building with clang on minix 8328 * stress-get: fix build warning with clang on minix 8329 * stress-sctp: add in missing --sctp-domain option, update manual 8330 * Update net helper to add addresses, add new SCTP stressor 8331 * Some minor cleanups to main stress-ng header, nothing major 8332 * rename get_unsigned_long to get_uint32 8333 * Some more 80 column source line width fixes 8334 * stress-sysfs: use fstat rather than access on path 8335 * stress-procfs: forgot to re-open closed file 8336 * stress-procfs: add some illegal read calls to try to break procfs 8337 * stress-sysfs: add some illegal read calls to try to break sysfs 8338 * Make snapcraft confinement devmode 8339 * Minor formatting changes to ensure 80 column wide source 8340 * stress-tlb-shootdown: fix indentation 8341 * stress-context: don't build with sigaltstack if minix or hurd 8342 * stress-context: add use of sigaltstack and SS_AUTODISARM 8343 * helper: fix indentation 8344 * stress-opcode: fix indentation 8345 * stress-ioprio: remove duplicate and badly indented umask() call 8346 * stress-epoll: fix indentation on if statement 8347 * helper: set core size to zero if possible with setrlimit 8348 * helper: force number of cpus to be 1 if sysconf not available 8349 * net: declare missing in6addr_any for minix 8350 * stress-mmap: make mprotect a no-op for minix 8351 * stress-mmap: don't use msync for minix 8352 * stress-shm-sysv: don't use msync for minix 8353 * stress-stack: don't use sigaltstack for minix 8354 * sched: make this a no-op for minix 8355 * mlock: make this a no-op for minix 8356 * don't enable STRESS_MSYNC for minix 8357 * don't enable STRESS_YIELD for minix 8358 * stress-flock: don't yield if minix 8359 * mincore: make this a no-op for minix 8360 * madvise: this is a no-op for minix 8361 * stress-mlock: don't build for minix 8362 * stress-cpu: minix does not support cabsl, use cabs instead 8363 * stress-hdd: don't do madvise for minix 8364 * stress-get: minix does not have getpgrp() 8365 * stress-ng.h: don't build in mlock stressor if minix 8366 * forgot to guard MLOCK stressor with STRESS_MLOCK check 8367 * stress-get: minix does not have getpgid() 8368 * mounts: fix build issues for minix 8369 * mincore: fix build warning on minix 8370 * stress-ng.h: only include <pthread.h> if it is available 8371 * stress-wait: cater for systems that lack WCONTINUED 8372 * stress-sigsuspend: remove <pthread.h> header inclusion, not required 8373 * stress-quota: make err local to each code block 8374 * stress-quota: remove redundant err assignment 8375 * stress-quota: rename local errno so we don't alias global errno 8376 * stress-quota: fix cppcheck style warning 8377 * stress-madvise: fix cppcheck style warning 8378 * stress-clock: fix cppcheck style warning 8379 * stress-sysfs: fix cppcheck style warning, initialize stack 8380 * stress-ng: clarify precedence of & and ?, fixes cppcheck style warnings 8381 * stress-handle: ensure scanf %s field is limited to avoid overruns 8382 * Fix SunOS builds, add socket and nsl library link flags 8383 * Use mfence instead of __sync_synchronize for gcc pre 4.2 on x86 8384 * Makefile: explicitly specify C standard using --std=gnu99 8385 * stress-vm: don't use binary constants, gcc may not support these 8386 8387 -- Colin King <colin.king@canonical.com> Fri, 16 Sep 2016 16:15:48 +0100 8388 8389stress-ng (0.06.15-1) unstable; urgency=medium 8390 8391 * Makefile: bump version 8392 * stress-af-alg: account for number of ENOENT crypto bind failures 8393 * stress-af-alg: don't report bind on ENOENT as a failure (LP: #1617788) 8394 - retry is performed, failures are accounted for in debug verbose -v mode 8395 8396 -- Colin King <colin.king@canonical.com> Sun, 28 Aug 2016 19:02:11 +0100 8397 8398stress-ng (0.06.14-1) unstable; urgency=medium 8399 8400 * Makefile: bump version 8401 * stress-mmapfork: add more feedback on segv faults (LP: #1614099) 8402 8403 -- Colin King <colin.king@canonical.com> Wed, 17 Aug 2016 14:28:18 +0100 8404 8405stress-ng (0.06.13-1) unstable; urgency=medium 8406 8407 * Makefile: bump version 8408 * Makefile: add snapcraft into make dist 8409 * ignite-cpu: ensure buffer is null terminated before calling strlen 8410 * stress-affinity: only check CPU move if sched_getaffinity succeeds 8411 * Add snapcraft packaging 8412 * stress-seccomp: inject some random BPF op codes 8413 * force indirect libc calls to enforce calls to libc wide str functions 8414 * stress-str: fix incorrect order on args in call to stress funcs 8415 * stress-str: force indirect libc calls to enforce calls to libc str functions 8416 * ensure cache info is only printed once 8417 * Manual: fix typo: build -> built 8418 8419 -- Colin King <colin.king@canonical.com> Tue, 16 Aug 2016 11:38:12 +0100 8420 8421stress-ng (0.06.12-1) unstable; urgency=medium 8422 8423 * Makefile: bump version once more 8424 * Update manual page date since we've touched the manual 8425 * stress-seal: don't abort fatally if memfd_create is not available. 8426 * fast-test-all: cater for non-fatal test exit status 8427 * Add oom-pipe to fast-test-all exclusion list 8428 * Manual: clarify that return code 3 could refer to missing system call 8429 * stress-fcntl: handle EAGAIN lock requests more robustly 8430 * stress-fcntl: don't check initial GETLK status 8431 * stress-icache: don't fail if advice fails on EINVAL 8432 8433 -- Colin King <colin.king@canonical.com> Fri, 15 Jul 2016 15:24:56 +0100 8434 8435stress-ng (0.06.11-1) unstable; urgency=medium 8436 8437 * Makefile; bump version 8438 * fast-test-all: don't run seccomp, it may not pass on some kernels 8439 * stress-fault: handle segfaults that occur on some BSD kernels 8440 * stress-icache: only madvice if MADV_NOHUGEPAGE is defined 8441 * stress-icache: don't assume that read/write/exec protection is allowed 8442 * Update cache-mfence helper. It supports ARM now. 8443 8444 -- Colin King <colin.king@canonical.com> Thu, 14 Jul 2016 10:11:12 +0100 8445 8446stress-ng (0.06.10-1) unstable; urgency=medium 8447 8448 * Makefile: bump version again 8449 * stress-atomic + build: the autodetect smarts did not work, fix them 8450 - need to check that the linker also provides all the atomic built-ins 8451 too. 8452 8453 -- Colin King <colin.king@canonical.com> Tue, 12 Jul 2016 17:29:46 +0100 8454 8455stress-ng (0.06.09-1) unstable; urgency=medium 8456 8457 * Makefile: bump version 8458 * stress-atomic: don't make tmp volatile, fixes clang warnings 8459 * Add smarts to Makefile to detect if atomic GCC functions are supported 8460 - fixes FTBFS issues on mips, mipsel, powerpc, m68k, powerpcspe, sh4 8461 8462 -- Colin King <colin.king@canonical.com> Tue, 12 Jul 2016 10:52:18 +0100 8463 8464stress-ng (0.06.08-1) unstable; urgency=medium 8465 8466 * Makefile: bump version 8467 * Manual: update date 8468 * stress-ptrace: EINTR is not a failure on waitpid 8469 * stress-tlb-shootdown: remove case where < 2 CPUs abort the test 8470 * Add GCC atomic ops stressor 8471 * stress-copy-file-range: handle ENOSPC as non-fatal 8472 * stress-icache: call __clear_cache() between code modifications. 8473 * Enable icache stressor for arm 8474 * Add renameat2 to syscalls 8475 * Add preadv2/prwritev2 to syscalls 8476 * stress-lockbus: use GCC builtin __atomic_add_fetch to test lock bus 8477 * stress-epoll: void return on timer_settime 8478 * Manual: update contributors, add Zhiyi Sun 8479 8480 -- Colin King <colin.king@canonical.com> Tue, 12 Jul 2016 08:26:59 +0100 8481 8482stress-ng (0.06.07-1) unstable; urgency=medium 8483 8484 * Makefile: bump version 8485 * stress-msg: add in IPC_INFO, MSG_INFO, MSG_STAT msgctl calls 8486 * stress-vecmath: add more ops to make vecmath more demanding 8487 * stress-sync-file: sync on mode rather than on the sync_modes index 8488 * stress-opcode: use __builtin___clear_cache to avoid clang warning 8489 * stress-get: fix typo on syscall name 8490 * replace mfence with __sync_synchronize builtin 8491 * stress-bigheap: remove redundant call to stress_get_pagesize 8492 8493 -- Colin King <colin.king@canonical.com> Fri, 24 Jun 2016 09:56:23 +0100 8494 8495stress-ng (0.06.06-1) unstable; urgency=medium 8496 8497 * Makefile: bump version 8498 * stress-shm-sysv: don't msync on GNU HURD, it is not implemented 8499 * stress-shm: don't msync on GNU HURD, it is not implemented 8500 * stress-ng: build in OPT_MEMFD_BYTES case if STRESS_MEMFD defined 8501 * manual: fcntl: add in missing locking commands 8502 * stress-socket: add --sock-type socket type option 8503 * Add Linux open file description locks stressor 8504 * Add POSIX advisory locking stressor 8505 * stress-fcntl: add more locking fcntl commands 8506 * man page: add --taskset example 8507 * stress-memfd: add better termination exit points, don't fail on EXNIO 8508 * stress-memfd: add a --memfd-bytes size specifier option 8509 * perf + Makefile: Add some smarts to detect available perf enums 8510 * stress-shm: msync the shm region 8511 * stress-shm-sysv: msync the shm region 8512 * stress-memfd: add hole punching to memory 8513 * stress-mremap: add MAP_FIXED remappings 8514 * stress-memfd: add random madvise to add some more page stress 8515 * stress-memfd: add seeks to memfd stressor 8516 * stress-xattr: rename name to attrname to stop shadowing on name 8517 * Update README stress test count 8518 * Add in missing seccomp from the --help info 8519 * Add a fcntl SEAL command stressor 8520 * README: update number of tests 8521 * time_now: return -1.0 for failed time fetch 8522 * stress-get: add getcpu system call 8523 * stress-dup: only close fd's that are open 8524 8525 -- Colin King <colin.king@canonical.com> Fri, 10 Jun 2016 12:36:33 +0100 8526 8527stress-ng (0.06.05-1) unstable; urgency=medium 8528 8529 * Makefile: bump version 8530 * stress-mmap: ensure we don't leak fd, cleanup on exit 8531 * fast-test-all: don't run exec test 8532 * stress-mremap: catch SEGV and OOM restarts 8533 * stress-mmap: catch SEGV and OOM restarts 8534 * fast-test-all: exclude pty 8535 * Revert "stress-mremap: add random MAP_FIXED option to mremap" 8536 * stress-zero: #if def around ptr declarion for non-Linux systems 8537 * stress-zero: only perform /dev/zero mmapping on Linux 8538 * stress-cacheflush: remove sys_cacheflush for non linux systems 8539 * stress-shm-sysv: SHM_INFO and IPC_INFO are linux only 8540 * stress-cache: only call cacheflush on Linux systems 8541 * stress-filename: filename option should be from the .opt field 8542 * stress-rtc: fix some overly pedantic warnings from cppcheck 8543 * stress-shm: sync, expand and shrink shm region, extra stress 8544 * stress-open: use different forms of open flag combinations 8545 * stress-zero: mmap /dev/zero and check if the contents is zero 8546 * stress-pipe: sanity check pipe size setting 8547 * stress-dup: add dup2 on same fd exerciser 8548 * stress-fcntl: add some more fcntl commands 8549 * stress-seek: add SEEK_CUR, SEEK_END seek options 8550 * stress-utime: exercise UTIME_NOW and UTIME_OMIT settings 8551 * stress-userfaultfd: add poll to add some more kernel coverage 8552 * Add stress_set_nonblock to set fd to non-blocking I/O 8553 * stress-userfaultfd: add in zeropage handling 8554 * stress-mremap: add random MAP_FIXED option to mremap 8555 * stress-readahead: remove redundant if defined() checks on fadvise 8556 * Add SIGHUP trapping and send SIGALRM to all processes on death 8557 * stress-personality: only print number of personalities in instance 0 8558 * syscalls: update pause information 8559 * stress-cache: use cacheflush() on systems that provide this syscall 8560 * syscalls: update ioctl entry 8561 * perf: add "per" / marking for per second 8562 * Add pty stressor 8563 * Add semtimedop to syscalls, it is present in stress-sem-sysv.c 8564 * stress-cap: add capset call for current stressor process 8565 * stress-shm-sysv: add some additional exercising of shmctl commands 8566 * stress-sem-sysv: exercise more of the semctl commands 8567 * Add trivial chown stressor 8568 * stress-dup: use dup3() on linux if it is available 8569 * Makefile: vecmath: make the file touch silent 8570 * stress-key: add request_key system call 8571 * syscalls: update pipe2 entry, this is now being exercised by stress-pipe 8572 * stress-mq: memset sigev to zero 8573 * stress-madvise: only build in if STRESS_MADVISE defined 8574 * Add madvise stressor 8575 * syscalls: add mq_timedsend to mq 8576 * stress-mq: use timed and non-timed versions of send/receive 8577 * stress-mq: add mq_notify calls every 1024 iterations 8578 * stress-link: lstat the link 8579 * Widen metrics dump stressor name field to 13 chars 8580 8581 -- Colin King <colin.king@canonical.com> Fri, 27 May 2016 11:37:09 +0100 8582 8583stress-ng (0.06.04-1) unstable; urgency=medium 8584 8585 * Makefile: bump version 8586 * Makefile: remove gcc coverage build flags 8587 - these were accidentally added in the previous release and not 8588 removed 8589 8590 -- Colin King <colin.king@canonical.com> Wed, 18 May 2016 19:16:45 +0100 8591 8592stress-ng (0.06.03-1) unstable; urgency=medium 8593 8594 * Makefile: bump version 8595 * stress-cap: cap data needs _LINUX_CAPABILITY_U32S_3 elements in size 8596 * stress-nice: add some randomness to the delay to unsync nicenesses 8597 * stress-opcode: remove white spaces 8598 8599 -- Colin King <colin.king@canonical.com> Wed, 18 May 2016 15:06:34 +0100 8600 8601stress-ng (0.06.02-1) unstable; urgency=medium 8602 8603 * Makefile: bump version 8604 * Makefile + stress-vecmath: add more smarts to detect gcc build failures 8605 * stress-af-alg: don't fatally fail on bind on AF_ALG 8606 * stress-af-alg: fix up error messages 8607 * Add stackmmap stressor 8608 * stress-stack: ensure signal handling stack is aligned 8609 * stress-context: ensure stack is aligned to 64 byte boundaries 8610 * stress-opcode: disable signal count tracking 8611 * stress-opcode: clean up code a little 8612 * Add opcode stressor 8613 * update syscalls.txt 8614 * stress-ioprio: perform some io writes to exercise i/o priorities 8615 * Add ioprio stressor 8616 8617 -- Colin King <colin.king@canonical.com> Sun, 15 May 2016 17:36:11 +0100 8618 8619stress-ng (0.06.01-1) unstable; urgency=medium 8620 8621 * Makefile: bump version 8622 * stress-af-alg: avoid any unterminated strings (unlikely) 8623 * debian/control: add libcap-dev to Build-Depends 8624 * stress-hdd: should use SIZEOF_ARRAY instead of sizeof 8625 * stress-full: don't close fd before trying a read 8626 * stress-af-alg: ensure the rng read size is correct 8627 * stress-af-alg: fix more -ve fd closes 8628 * stress-af-alg: don't close fd that is -ve 8629 * stress-tlb-shootdown: fix incorrect comparison on ENOMEM 8630 * stress-af-alg: check for errors on setsockopt 8631 * stress-full: try read test rather than skip if write fails 8632 * stress-full: clear buffer before we write 8633 8634 -- Colin King <colin.king@canonical.com> Fri, 6 May 2016 22:58:01 +0100 8635 8636stress-ng (0.06.00-1) unstable; urgency=medium 8637 8638 * Makefile: new major version and codename 8639 * stress-msync: cast off_t to intmax_t to print with %jd format specifier 8640 * debian/control: update Standards Version to 3.9.8 8641 * manual: update date 8642 * stress-msync: add in conditional STRESS_MSYNC build check 8643 * stress-af-alg: add simple rng to the mix 8644 * stress-af-alg: remove redundant type field info 8645 * manual: rephrase the --seq description 8646 * manual: clean up the SEE ALSO section 8647 * Add TLB shootdown stressor 8648 * stress-af-alg: remove (void)name 8649 * Add /dev/full stressor 8650 * stress-urandom: where possible also read data from /dev/random 8651 * Manual: update af-alg skciper section. 8652 * stress-hdd: work through all the --hdd-opts if --maximize is enabled 8653 * stress-xattr: fix error messages, they were reporting wrong syscall 8654 * stress-af-alg: use array size so we don't need NULL sentinels 8655 * stress-af-alg: Add skcipher stessing 8656 * stress-procfs: add /proc/tty, /proc/self, /proc/thread_self 8657 * stress-key: Add some more keyctl calls 8658 * Rename stressor names to match their command line name 8659 * Add msync stressor 8660 * Fix non-Linux build for set_cpu_affinity 8661 * stress-rtc: also read /proc/driver/rtc 8662 * Add RTC stressor 8663 * stress-get: use prlimit only with glibc >= 2.13.0 8664 * stress-procfs: add more /proc directory traversal 8665 * stress-inotify: add ioctl FIONREAD to peek at available data on fd 8666 * Add the CPU affinity option '--taskset' 8667 * stress-cache: make pinned a linux only variable 8668 * stress-cache: fix pinned message, swap cpu and instance around 8669 * stress-cache: fix failure to build on GNU/HURD 8670 * Update contributions authors in manual 8671 * Ensure processes are kept to the CPU affinity set 8672 * taskset -c 4-7 stress-ng --cache 4 --stream 4 --yield 4 8673 * Update README with other OS build notes 8674 * stress-spawn: make this a Linux only test 8675 * Disable MLOCKED sections for now on SunOS, we get linker issues 8676 * stress-ng: correct casts of void * 8677 * stress-ng: include alloca.h for SunOS 8678 * stress-ng: cater for systems that don't support RLIMIT_NPROC 8679 * mincore: cater for SunOS mincore API difference 8680 * stress-yield: correct casts of void * 8681 * stress-yield: include alloca.h for SunOS 8682 * stress-vm: correct casts of void * 8683 * stress-stream: correct casts of void * 8684 * stress-str: include strings.h for SunOS builds for index() prototype 8685 * stress-stack: include alloca.h for SunOS 8686 * stress-sigsuspend: correct casts of void * and uint64_t * 8687 * stress-mmapmany: correct casts of void * and uint8_t * 8688 * stress-mmap: correct casts of void * and uint8_t * 8689 * Fix alignment mask to ensure stacks are 16 byte aligned (LP: #1573117) 8690 * stress-mlock: correct casts of void * and uint8_t * 8691 * stress-icache: cast addr to (void *) in mprotect calls 8692 * mounts: SunOS requires *BSD style build arrangements 8693 * stress-hdd: cast data to (void *) to silence warning 8694 * stress-hdd: don't use futimes for Solaris UNIX 8695 * Add logging to syslog of free memory info post-OOM 8696 * Add system and memory syslog logging 8697 * stress-brk: catch EAGAIN errors on sbrk/brk 8698 * Remove debug log test message 8699 * stress-socket-fd: only build stressor if STRESS_SOCK_FD defined 8700 * Add logging of who and how stress-ng was invoked to syslog 8701 8702 -- Colin King <colin.king@canonical.com> Wed, 4 May 2016 09:57:59 +0100 8703 8704stress-ng (0.05.25-1) unstable; urgency=medium 8705 8706 * Makefile: bump version 8707 * debian/control: update standards version to 3.9.7 8708 * Ensure all clone() calls are 16 byte aligned for aarch64 (LP: #1573117) 8709 8710 -- Colin King <colin.king@canonical.com> Fri, 22 Apr 2016 09:50:44 +0100 8711 8712stress-ng (0.05.24-1) unstable; urgency=medium 8713 8714 * Makefile: bump version 8715 * stress-mmap: handle SIGBUS signals (LP: #1569468) 8716 * stress-mmapmany: sanity check sysconf return 8717 * stress-mmapmany: detect SEGV deaths 8718 * stress-mlock: detect SEGV deaths 8719 * stress-brk: detect SEGV deaths 8720 * stress-bigheap: detect SEGV deaths 8721 * stress-memfd: detect SEGV deaths 8722 * stress-mmapmany: allocate mappings on heap rather than stack 8723 * stress-mlock: allocate mappings on heap rather than stack 8724 * stress-cpu: move sieve buffer to static to reduce stack size 8725 * stress-sem*: differentiate between which semaphore init that failed 8726 * stress-remap-file-pages: abort if remap fails 8727 * stress-fiemap: remove \n from pr_fail_err messages 8728 8729 -- Colin King <colin.king@canonical.com> Thu, 14 Apr 2016 11:00:11 +0100 8730 8731stress-ng (0.05.23-1) unstable; urgency=medium 8732 8733 * Makefile: bump version 8734 * stress-aio: fix segfault on --maximumize option (LP: #1568335) 8735 * stress-chmod: just instance 0 should create the file (LP: #1568333) 8736 8737 -- Colin King <colin.king@canonical.com> Sat, 9 Apr 2016 17:48:23 +0100 8738 8739stress-ng (0.05.22-1) unstable; urgency=medium 8740 8741 * Makefile: bump version 8742 * stress-af-alg: retry open if we get EAFNOSUPPORT (LP: #1564786) 8743 8744 -- Colin King <colin.king@canonical.com> Fri, 1 Apr 2016 09:40:56 +0100 8745 8746stress-ng (0.05.21-1) unstable; urgency=medium 8747 8748 * Makefile: bump version 8749 * Add test-cap.c to Makefile dist rule 8750 * debian: tests: don't run remap stressor 8751 * stress-ng: add klog (syslog) stressor 8752 * syscalls: add remap_file_pages 8753 * Add page remapping stressor 8754 * stress-pthread: Add get_robust_list call 8755 * stress-sysinfo: exercise fstatfs() 8756 * Move wcs options to correct position in manual 8757 * Add the sync-file stressor 8758 * Add fp-error stressor 8759 * syscalls.txt: update some missing syscalls and some re-ordering 8760 * Add sys/capability.h and capget build time checks 8761 * stress-get: add prlimit 8762 * Update syscalls.txt with capget stressor 8763 * Add capabilities stressor 8764 8765 -- Colin King <colin.king@canonical.com> Sun, 20 Mar 2016 11:39:31 +0000 8766 8767stress-ng (0.05.20-1) unstable; urgency=medium 8768 8769 * Makefile: bump version 8770 * stress-getdent: fix build warnings on systems with no getdents syscalls 8771 * Manual: update date 8772 * Debian/changelog: fix spelling mistake 8773 * stress-udp: fix two warnings on uninitialised addr 8774 * stress-socket-fd: fix two scan-build warnings 8775 * stress-getdent: init ret to -ENOSYS, fix scan-build warning 8776 * Use the generic signal handler helpers 8777 * helper: add generic signal handling/restoring helper functions 8778 * stress-oom-pipe: use stress_get_file_limit 8779 * stress-open: use stress_get_file_limit 8780 * stress-dup: use stress_get_file_limit 8781 * stress-socket-fd: use stress_get_file_limit 8782 * helper: add stress_get_file_limit to get max open files allowed 8783 * Add sockfd stressor 8784 * Add getdent stressor 8785 * stress-filename: use strncpy rather than strcpy 8786 * stress-qsort: use calloc 8787 * stress-cpu: zeta method should be counting in integers 8788 * stress-mergesort: use calloc 8789 * stress-heapsort: use calloc 8790 * stress-bsearch: use calloc 8791 8792 -- Colin King <colin.king@canonical.com> Sat, 12 Mar 2016 17:58:42 +0000 8793 8794stress-ng (0.05.19-1) unstable; urgency=medium 8795 8796 * Makefile: bump version 8797 * stress-switch: don't initialize buf_size twice 8798 * stress-ng: don't stress-sleep options unless STRESS_SLEEP defined 8799 * stress-shm-sysv: comparing j < i - 1 is incorrect when i = 0 8800 * stress-shm-sysv: parent should close read end of pipe 8801 * stress-context: make stacks larger, avoid segfault on kFreeBSD 8802 * stress-oom-pipe: handle condition where pipe size can't be set 8803 * stress-pipe: use O_DIRECT when possible 8804 * stress-switch: use O_DIRECT with 1 byte buffer is possible 8805 * stress-oom-pipe: ensure sz is set before we check it against prev_sz 8806 * Add stress-oom-pipe pipe buffer stressor 8807 * helper: fix comment on system_read() 8808 * stress-fallocate: add in default mode 0 8809 * stress-iosync: fix build warning when using old glibc: 8810 * stress-fstat: add blocklist of paths not to open/fstat/close 8811 * correctly spell stress_adjust_pthread_max 8812 * stress-str: make some statics into static const 8813 * stress-socket: make socket_opts static const 8814 * stress-maxtrix: make some statics static const 8815 * stress-vm: make some statics static const 8816 * stress-wcstr: make variables static const 8817 * stress-get: make priorities static const 8818 * stress-filename: make filename_opts static const 8819 * stress-dentry: make dentry_removals static const 8820 * stress-cpu: make some variables static const 8821 * stress-clone: make flags and unshare flags static const 8822 * stress-chmod: make modes static const 8823 * perf: make perf_tp_info static const 8824 * cache: make struct generic_map const 8825 * helper: make stress_temp_path static const 8826 * stress-udp-flood: make data static const 8827 * stress-spawn: make exec strings static 8828 * Only define OPT_PTHREAD* macros if STRESS_PHREAD is defined 8829 * Minor #define changes, no functional change 8830 * stress-cpu: remove redundant initialisation of last_e 8831 * stress-cpu: don't build _Decimal stressors with clang 8832 * stress-shm-sysv: set entire shm_ids array to -1 8833 * stress-fork: make child exit immediately and stash pid only in parent 8834 * stress-xattr: free buffer on error exit path 8835 * stress-timerfd: fix timer thresholding check 8836 * Add sleep stressor 8837 * stress-clock: add some comments and make source 80 column friendly 8838 * bigheap: reorder some variables on the stack for better packing 8839 * Add whitespace in return statement 8840 * thermal-zone: minor clean up 8841 * net: make loop iterator size_t 8842 * cache: minor code tweaks, no functional changes 8843 * cache: rework get_contents error return paths 8844 * cache: reformat function declarations to match the stress-ng code style 8845 * clean up and rename macro mk_path to MK_PATH 8846 * Ensure we do not under run string buffer 8847 * Add apparmor_parser executable check 8848 * time: make source 80 column friendly 8849 * thermal-zone: make source 80 column friendly 8850 * sched: make source 80 column friendly 8851 * perf: make source 80 column friendly 8852 * mlock: make source 80 column friendly 8853 * limit.c: remove redundant #includes 8854 * io-priority: make source 80 column friendly 8855 * ignite-cpu: make source 80 column friendly 8856 * Include stress-ng.h first for __kernel_long_t and __kernel_ulong_t 8857 8858 -- Colin King <colin.king@canonical.com> Thu, 3 Mar 2016 17:20:01 +0000 8859 8860stress-ng (0.05.18-1) unstable; urgency=medium 8861 8862 * Makefile: bump version 8863 * stress-eventfd: fix incorrect return check on eventfd (LP: #1547450) 8864 * stress-mknod: fix == comparison on errno (LP: #1547446) 8865 * stress-tee: catch EINTR in splice() calls (LP: #1547434) 8866 8867 -- Colin King <colin.king@canonical.com> Fri, 19 Feb 2016 12:40:24 +0000 8868 8869stress-ng (0.05.17-1) unstable; urgency=medium 8870 8871 * Makefile: bump version 8872 * stress-aio: don't cancel the signal handler before exiting (LP: #1547108) 8873 * stress-lockf: don't return failure if we get a timeout (LP: #154107) 8874 * stress-aio: don't return failure if we get a timeout (LP: #1547090) 8875 * Check for ENOMEM ENOSPC errors during init (LP: #1547062) 8876 * make stress_temp_dir_mk and stress_temp_dir_rm return -errno on failure 8877 * stress-dentry: fix file striding on clean-up (LP: #1547004) 8878 * Add stress_get_prime64 to stress-ng header 8879 * Add stress_get_prime64 to find a prime for filename striding 8880 * typedef possibly missing __kernel_long_t and __kernel_ulong_t 8881 * Add <linux/posix_types.h> for linux builds 8882 * stress-aio-linux: fix clang scan-build warning 8883 * Makefile: only do build time config detection when building target 8884 8885 -- Colin King <colin.king@canonical.com> Thu, 18 Feb 2016 17:52:11 +0000 8886 8887stress-ng (0.05.16-1) unstable; urgency=medium 8888 8889 * Makefile: bump version 8890 * Makefile: add test-libaio.c to dist rule 8891 * stress-seccomp: EINTR on waitpid is not a failure, so ignore it 8892 * stress-numa: aborted test should not be a failure, nothing got tested 8893 * stress-quota: check for EPERM, abort if we don't have permission 8894 * stress-kcmp: check for EPERM, abort if we don't have permission 8895 * debian/control: add libaio-dev dependency 8896 * stress-aio: use aiolib instead of direct system calls 8897 * Catch faults in child stressor and flag them as a fatal failure 8898 * stress-socket: only build in sendmmsg test for glibc 2.14 or higher 8899 * stress-iosync: build in syncfs call for glibc 2.14 or higher 8900 * Add detection for <linux/seccomp.h> 8901 * stress-handle: only build in if we have glibc 2.14 or higher 8902 * ignite-cpu: don't print failure message as inf, make it dbg 8903 * stress-malloc: calloc'd size is too big, fix the size (LP: #1544575) 8904 * mincore: page align address of buffer before passing it to mincore 8905 8906 -- Colin King <colin.king@canonical.com> Fri, 12 Feb 2016 19:02:59 +0000 8907 8908stress-ng (0.05.15-1) unstable; urgency=medium 8909 8910 * Makefile: bump version 8911 * fast-test-all: add pass/fail summary at end 8912 * fast-test-all: fix typo, socket-pair should be sockpair 8913 * stress-handle: specify width of integer in sscanf 8914 * Manual: expand the error exit code notes 8915 * stress-qsort: cast data to (uint8_t *) to stop static analysis warnings 8916 * stress-hdd: close file on a fstat failure 8917 * stress-futex: add backoff delay if futex is too much in contention 8918 * stress-sendfile: ignore EINTR on sendfile calls 8919 * stress-readahead: handle -ENOSPC as a non-failure condition 8920 * stress-vm-rw: re-organise the code into parent/child helpers 8921 * stress-userfaultfd: set stack size to be STACK_SIZE 8922 * stress-hdd: handle -ENOSPC as a non-failure condition 8923 * adt: remove socket-pair from tests 8924 * cache helper: output cache allocation size 8925 * stress-cpu-online: only report root requirement on instance 0 8926 * stress-cpu-online: Don't report a failure if not run as root 8927 * Add L before cache level to make the debug less abstract 8928 * stress-denty: ENOSPC should not be a fatal error that stops the test 8929 * Fix -x option, compare munged strings to treat '_' like '-' 8930 * Ensure pathological class is disabled if we don't enable --pathological 8931 * stress-zlib: fix comparison which should not be an assignment 8932 * helper: fix double free on error exit 8933 8934 -- Colin King <colin.king@canonical.com> Wed, 10 Feb 2016 10:35:16 +0000 8935 8936stress-ng (0.05.14-1) unstable; urgency=medium 8937 8938 * Makefile: bump version 8939 * Fix make dist - typo in test-libpthread.c 8940 * stress-fiemap: initialise counter at start of loop 8941 * stress-fiemap: ensure counter is being updated 8942 * adt: exclude bind mount from list of stressors 8943 * Don't emit warning on --pathological if number of stressors is zero 8944 * ignite-cpu: add null entry at end of list, don't scan by array size 8945 * Only include <sys/mount.h> for linux for the bind mount stressor 8946 * stress-bind-mount: build stressor if STRESS_BIND_MOUNT defined 8947 * stress-bind-mount: stop cppcheck whining about uninitialised pid 8948 * stress-numa: don't fatally fail on -EIO with MPOL_MF_STRICT (LP: #1542741) 8949 * Enabled IGNITE_CPU with the --aggressive option 8950 * Add bind-mount stressor (LP: #1542010) 8951 * Add --ignite-cpu option to maximize CPU frequency 8952 * Make float decimal auto detect set -DHAVE_FLOAT_DECIMAL 8953 * Minor re-org of Makefile, and add more files to dist rule 8954 * Update README - increase number of stressors 8955 * adt tests: remove membarrier, it fails on older kernels in Debian 8956 * Add some more comments 8957 * stress-affinity: handle EINVAL when CPU(s) are offline 8958 * Set number of instances to on-line CPUs if N is -ve (LP: #1513546) 8959 * Remove opt_long, replace with get_int32 or get_uint64 8960 * Add libpthread build time checks 8961 * Add librt build time checks 8962 * Remove commented out old link line 8963 * Add libcrypt check 8964 * Makefile: remove test-libz correctly 8965 * stress-cpu: make source 80 column friendly 8966 * Add FORCE_DO_NOTHING macro do force compiler to stop opimizing out loops 8967 * Add zlib stressor 8968 * stress-stream: cater for systems without L3 cache 8969 * stress-stream: only emit cache size info on instance 0 8970 * Add libbsd-dev to README 8971 8972 -- Colin King <colin.king@canonical.com> Mon, 8 Feb 2016 18:29:11 +0000 8973 8974stress-ng (0.05.13-1) unstable; urgency=medium 8975 8976 * Makefile bump version 8977 * Makefile: add test-libbsd.c to dist rule 8978 * adt: Bar a few more tests that can be problematic on different arches 8979 * stress-fifo: don't return and error status if we have to abort early 8980 * Exclude tests that may fail because system calls not fully implemented 8981 * Build stress-mergesort if STRESS_MERGESORT is defined 8982 * Built stress-heapsort if STRESS_HEAPSORT is defined 8983 * Make *put globals volatile to force gcc to compute values 8984 * Add BSD mergesort stressor 8985 * Add BSD heapsort stressor 8986 * madvise: add MADV_FREE 8987 * stress-vm-rw: don't close already closed pipe ends 8988 * stress-vm: just one top level iteration in rowhammer method 8989 * Use MAP_SHARED where appropriate 8990 * stress-qsort: fix typo in comment SIGARLM -> SIGALRM 8991 * Makefile: call make using $(MAKE) 8992 * stress-apparmor: reduce scope of ret 8993 * stress-shm: reduce the scope of variable n 8994 * stress-shm-sysc: reduce scope of variable n 8995 8996 -- Colin King <colin.king@canonical.com> Thu, 4 Feb 2016 16:02:00 +0000 8997 8998stress-ng (0.05.12-1) unstable; urgency=medium 8999 9000 * Makefile: bump version 9001 * cache: memset globbuf, work around clang warnings 9002 * stress-cpu-online: free cpu_online on error return 9003 * fast-test-all: use the -v verbose flag 9004 * fast-test-all: Don't yet test copy-file 9005 * stress-copy-file: only build if syscall is supported 9006 * Change type of error messages in cache helper 9007 * cache: use %zd format specifier for size_t 9008 * cache: make source 80 column friendly 9009 * fast-test-all: return with error exit status 9010 * Tweak man page exit status table 9011 * Exit with status 2 if a stressor failured 9012 * Change mini help text to make it consistent 9013 * Add cpu-online to mini help 9014 * stress-cache: cater for non-powers of 2 cache size 9015 * Remove hard #undef __linux__ used during debugging 9016 * Re-work shared cache buffer allocation 9017 * stress-memcpy: fix segfault due to changes in allocation of cache buffer 9018 * Add kcmp to exclude list on adt test 9019 * Add cpu-online to exclude list on adt test 9020 * Make some helpers return int32_t rather than long 9021 * Add WARN_UNUSED macro and use it against functions that need return checks 9022 * Add CPU online stressor 9023 * Fix indentation issue after --hdd 9024 9025 -- Colin King <colin.king@canonical.com> Thu, 28 Jan 2016 12:30:47 +0000 9026 9027stress-ng (0.05.11-1) unstable; urgency=medium 9028 9029 * Makefile: bump version 9030 * stress-stream: make L3 a uint64_t 9031 * stress-clock: fix build warning on non-Linux systems 9032 * stress-stream: fix FTBFS on non-Linux systems 9033 9034 -- Colin King <colin.king@canonical.com> Tue, 26 Jan 2016 20:50:11 +0000 9035 9036stress-ng (0.05.10-1) unstable; urgency=medium 9037 9038 * Makefile: bump version 9039 * stress-stream: use new cache probing api 9040 * Add James Hunt to contributors in man page 9041 * cache: constify a few args and (void) fclose returns 9042 * Makefile: re-order cache.c in source list 9043 * stress-cache: make source 80 col friendly, use name instead of __func__ 9044 * Removed bogus check. 9045 * Reduce cache level to maximum available if specified too high. 9046 * New function to check max cache level. Also, reduced variable scope. 9047 * Merge branch 'master' into cache-handling 9048 * Rather than failing, display a message and fall back to defaults. 9049 * Reduce variable scope and remove redundant assignment. 9050 * stress-copy-file: off_t should be loff_t 9051 * Remove debug forced enabled of stress-file-copy 9052 * Merge branch 'master' into cache-handling 9053 * Add --cache-level=, --cache-ways=, and --cache-no-affinity to man page. 9054 * Add linux guard for cpu cache function prototypes. 9055 * Handle systems not providing cache details via sysfs 9056 * Dispense with cache.h. 9057 * get_contents(): Fixed resource leak. 9058 * Add --copy-file copy_file_range() stress test 9059 * Fix spelling mistake of "bandwidth" 9060 * Fix spelling mistake of "weird" in comment 9061 * man page: Fix formatting on vm stressor method table 9062 * Fixes for building on non-Linux platforms. 9063 * Add Linux support to specify cache type and size. 9064 * Fix column width of vm-method options 9065 * Fix column width of stream option description 9066 9067 -- Colin King <colin.king@canonical.com> Tue, 26 Jan 2016 16:44:00 +0000 9068 9069stress-ng (0.05.09-1) unstable; urgency=medium 9070 9071 * Makefile: bump version 9072 * Fix incorrect position of \ in man page 9073 * stress-udp: fix UDP-Lite enable options 9074 * stress-af-alg: don't build for non-Linux systems 9075 * stress-udp: add error checking to setsockopt calls 9076 * Add auto detection of xattr.h to avoid build failures 9077 * Add auto detection of keyutils.h to avoid build failures 9078 * stress-numa: prefix abort message with stressor name 9079 * stress-udp: in UDP-Lite mode, limit checksum to 8 byte UDP header 9080 * Fix formatting of --hdd-opts in man page 9081 * Add --seek-punch option to punch holes in seek file 9082 * Add UDP-Lite option --udp-lite 9083 * Align bitfields in flags 9084 * stress-socketpair: handle ENFILE errors more gracefully 9085 * stress-filename: only emit filename information on instance 0 9086 * Add fiemap stressor 9087 * stress-stream: kludge around a false positive from static analysis 9088 * Add --stream-l3-size option to specify stream L3 CPU cache size 9089 * stress-unshare: don't complain on -EINVAL 9090 * stress-stream: remove extraneous space between cache size and K 9091 * Use RESTRICT macro as an alias for __restict 9092 * Add stream memory bandwidth and computation stressor 9093 * Add 8 more bits to OPT_FLAGS 9094 * stress-aio: remove unused typedef 9095 * refactor random string filling using stress_strnrnd() 9096 * Add AF_ALG socket domain (hash) tester 9097 * Add more tracing perf events to --perf output 9098 9099 -- Colin King <colin.king@canonical.com> Mon, 18 Jan 2016 11:07:02 +0000 9100 9101stress-ng (0.05.08-1) unstable; urgency=medium 9102 9103 * Makefile: bump version 9104 * Remove stress-leak.c, it was accidentally added 9105 * Update man page date 9106 * Debian control: Use dh_apparmor 9107 * Fix incorrectly placed #endif around TSEARCH 9108 * stress-iosync: (void)name if not building for Linux 9109 * stress-mlock: remove debug message 9110 * Add in options to *search stressors in mini built-in help 9111 * Add TSC read stressor 9112 * Remove some redundant (void)var statements 9113 * stress-get: rename gettid to sys_gettid to avoid name clash 9114 * Move uint64_put and double_put from helper.c to stress-ng.h 9115 * Rename macros STRESS_{MIN|MAX} -> STRESS_{MINIMUM|MAXIMUM} 9116 * Update debian copyright to 2016 9117 * Update copyright year to 2016 9118 * stress-iosync: don't close -ve fd 9119 9120 -- Colin King <colin.king@canonical.com> Wed, 6 Jan 2016 15:22:12 +0000 9121 9122stress-ng (0.05.07-1) unstable; urgency=medium 9123 9124 * Makefile: bump version 9125 * stress-yield: include signal.h to build on FreeBSD 9126 * Exclude stressors that cannot be run 9127 * stress-matrix: add copy and mean methods 9128 * stress-yield: ensure at least 2 child processes per CPU 9129 * Update syscalls.txt with syncfs 9130 * stress-key: remove if def'd debug code 9131 * stress-iosync: add syncfs() for Linux only 9132 * Add --sock-nodelay option to disable the Nagle algorithm 9133 * stress-socket: split out client/server code into separate functions 9134 * stress-exec: remove (void)name; 9135 * stress-dentry: add 'random' ordering option 9136 * stress-affinity: set initial cpu to instance number 9137 * stress-clock: output name of clock timer id on error 9138 * Add --temp-path option 9139 * Debian/control: change priority because of apparmor dependency 9140 * Add apparmor to excluded adt tests 9141 * Add sendmsg and sendmmsg to syscalls.txt 9142 * Add --sock-opts option 9143 9144 -- Colin King <colin.king@canonical.com> Sat, 26 Dec 2015 17:34:00 +0000 9145 9146stress-ng (0.05.06-1) unstable; urgency=medium 9147 9148 * Makefile: bump version 9149 * Makefile + stress-apparmor: generate binary data using od and sed 9150 9151 -- Colin King <colin.king@canonical.com> Thu, 24 Dec 2015 00:10:00 +0000 9152 9153stress-ng (0.05.05-1) unstable; urgency=medium 9154 9155 * Makefile: bump version 9156 * Makefile: --no-print-directory is required when make calls itself 9157 * Add apparmor as a build dependency 9158 * Makefile: Add test-apparmor.c usr.bin.pulseaudio.eg to make dist dist 9159 * stress-seccomp: stop build warnings on systems without seccomp 9160 * Ensure test-appormor build test covers the aa API 9161 * Remove mwc_seed from mwc.c 9162 * Add load average stats to --times option 9163 * inline mwc_seed, faster and shrinks text size a bit 9164 * stress-apparmor: perform some more devious corruption actions 9165 * Debian: control: dependency should be libapparmor-dev 9166 * stress-spawn: move spawn_calls to correct accounting stats 9167 * Add a posix-spawn stressor 9168 * Add unshare stressor 9169 * stress-shm-sysv: ensure all shm_ids are initialised to -1 9170 * Update Makefile to autogenerate AppArmor binary blob 9171 * stress-apparmor: add some random bit corruption 9172 * stress-apparmor: add profile add/replace/remove stressing 9173 * Debian: control: add libapparmor1 dependency 9174 * stress-apparmor: #if def global vars 9175 * README: Add note about requiring GNU make 9176 * Add initial simple AppArmor test, more features later 9177 9178 -- Colin King <colin.king@canonical.com> Wed, 23 Dec 2015 13:58:00 +0000 9179 9180stress-ng (0.05.04-1) unstable; urgency=medium 9181 9182 * Makefile: bump version 9183 * stress-userfaultfd: fix 32 bit build warning 9184 * stress-shm: replace strides of 4096 with page size 9185 * stress-shm-sysv: replace strides of 4096 with page size 9186 * stress-mremap: replace strides of 4096 with page size 9187 * stress-mmap: replace strides of 4096 with page size 9188 * stress-bigheap: make stride the page size 9189 * parse-opts: ensure_positive: don't reassign ptr twice 9190 * stress-daemon: close dup'd fds on exit 9191 * Add daemon stressor 9192 * Move set_proc_name into helper, remove proc-name.c 9193 * helper: make timer slack also depend on __linux__ 9194 * stress_mlock_region: constify args 9195 * stress_get_stack_direction: constify arg 9196 * Remove coredump, merge functionality into helper 9197 * Update README 9198 * syscalls: add mlock2 9199 * stress-mlock: add support for mlock2 9200 * stress-aio: clear io_reqs before use and disable handler later 9201 * stress-rename: rename between directories 9202 9203 -- Colin King <colin.king@canonical.com> Mon, 14 Dec 2015 16:10:00 +0000 9204 9205stress-ng (0.05.03-1) unstable; urgency=medium 9206 9207 * Makefile: bump version 9208 * stress-seccomp: avoid build failures on arm64 targets 9209 9210 -- Colin King <colin.king@canonical.com> Sat, 5 Dec 2015 10:04:23 +0000 9211 9212stress-ng (0.05.02-1) unstable; urgency=medium 9213 9214 * Makefile: bump version 9215 * stress-get: define _DEFAULT_SOURCE to stop gcc 5.2.1 warnings 9216 * Add new seccomp stressor 9217 * stress-mmap: fix thinko, init no_mem_retires in correct place 9218 * stress-shm-sysv: add more allocation smarts 9219 * stress-shm-sysv: add mmap failure abort and OOM counting 9220 * stress-shm: add mmap failure abort and OOM counting 9221 * stress-seek: set a useable upper seek limit for 32 bit arches 9222 * stress-mmap: add mmap retry mechanism if we can't mmap memory 9223 * stress-memfd: trap SIGBUS as well as SIGKILL for OOM catching 9224 * stress-vm: add spacing on OOM restarts message 9225 * stress-malloc: add spacing on OOM restarts message 9226 * stress-memfd: add spacing on OOM restarts message 9227 * stress-vm: add mmap retry mechanism if we can't mmap memory 9228 * refactor stack direction checking function 9229 * stress-personality: fix warning on %lu being used on a size_t 9230 * stress-ptrace: re-enable this stressor and fix up pr_failed_* macro 9231 * Enable personality stressor 9232 9233 -- Colin King <colin.king@canonical.com> Fri, 4 Dec 2015 12:49:02 +0000 9234 9235stress-ng (0.05.01-1) unstable; urgency=medium 9236 9237 * Makefile: bump version 9238 * stress-shm: break out of loops when ok is false 9239 * stress-fcntl: make F_SETOWN and F_GETOWN linux only for now 9240 * helper: fix warning on FreeBSD, unused args caused warnings 9241 * stress-switch: force more context switches 9242 * stress-pipe: add pipe-data-size and pipe-size options 9243 * stress-seek: only report error if SEEK_DATA/SEEK_HOLE supported 9244 * stress-seek: add SEEK_DATA and SEEK_HOLE seeks 9245 * syscalls.txt: add new userfaultfd syscall 9246 * Manual: note that userfaultfd is only for Linux 9247 * Add new userfaultfd stressor 9248 * stress-membarrier: rename pr_failed_err -> pr_fail_err 9249 * stress-cpu: force more jmps in cpu-jmp method 9250 * stress-brk: add occasional brk shrink to add a bit more variety 9251 * stress-shm-sysv: use some more random shm flags 9252 * stress-mmap: use some more random mmap flags 9253 * stress-fallocate: add some more fallocate modes 9254 * Rename pr_failed_* macros to pr_fail 9255 * log: rename logging functions 9256 * log: don't be silent when we have failure messages 9257 * stress-filename: Add more error handling feedback 9258 * Update debian/rules: enable debian build flags 9259 * Fix buffer not null terminated error with strncpy 9260 * Add filename stressor 9261 * Add --timer-slack option to adjust timer slackness 9262 * disable core dump via prctl() to avoid massive core files 9263 * Signal to child processes if parent has died. 9264 * log: make variables static 9265 9266 -- Colin King <colin.king@canonical.com> Mon, 30 Nov 2015 10:55:00 +0000 9267 9268stress-ng (0.05.00-1) unstable; urgency=medium 9269 9270 * Makefile: bump version to 0.05.00, update codename 9271 * man page: fix wrapped line so 'lsearch' is not seen as a macro 9272 * shm stressors: make final write failures a debug message 9273 * shm stressors: exit child stressor if pipe write fails 9274 * Add POSIX shared memory stressor 9275 * stress-qsort: fix resource leak on error return path 9276 * man page: make it 80 column tty friendly 9277 * stress-qsort: bail out when SIGALRM triggers 9278 * stress-rlimit: disable handlers once we finish to avoid setjmp looping 9279 * log: remove debug cruft 9280 * Add --log-file logging option 9281 * stress-sem*: remove ; after while loop 9282 * stress-icache: force cache clear using __clear_cache 9283 * Make source more 80 column friendly 9284 * manual: clarify number of cpus 9285 * madvise: fix typo 9286 * stress-shm-sysv: make shm cleanup robust 9287 * stress-ng: remove setpgrp() calls 9288 * stress-sem-sysv: handle signal during setup phase correctly 9289 * stress-sem: handle signal during setup phase correctly 9290 * fix -k option: it does not require a parameter 9291 * stress-procfs: use non-blocking open 9292 9293 -- Colin King <colin.king@canonical.com> Wed, 18 Nov 2015 23:05:00 +0600 9294 9295stress-ng (0.04.21-1) unstable; urgency=medium 9296 9297 * Makefile: bump version 9298 * Fix man page --handle options, errors found by lintian 9299 * Makefile: add personality.c to dist rule 9300 * Add dep8 tests 9301 * Add membarrier to syscalls.txt 9302 * Fix spelling mistake in membarrier error message 9303 * Add membarrier stressor 9304 * stress-sysfs: make sysfs reader more stressful 9305 * stress-procfs: make proc fs reader more stressful 9306 * Makefile: remove -g option 9307 * Add new lockbus cache line stressor 9308 * stress-get: add adjtime() call 9309 * Add utimes(2) call to stress-utime 9310 * stress-mq: also exercise mq_timedreceive 9311 * stress-key: don't abort on EDQUOT for a KEYCTL_UPDATE 9312 * Update syscalls.txt 9313 * Manual: update contributor list 9314 * stress-cpu: check complex supported by C lib (LP: #1500349) 9315 * Add handle stressor 9316 * stress-socket: add nagle disable build option 9317 * Move ionice options in manual to general settings section 9318 * Move --syslog option in manual to general settings section 9319 * Add stress-personality personality() stressor 9320 * Add mknod stressor 9321 * Add stress-exec execve stressor 9322 * stress-sysfs: add access() check on file 9323 9324 -- Colin King <colin.king@canonical.com> Mon, 2 Nov 2015 17:03:00 +0600 9325 9326stress-ng (0.04.20-1) unstable; urgency=medium 9327 9328 * Makefile: bump version 9329 * cater for system V and BSD variants of setpgrp 9330 * stress-fifo: avoid blocking on reader to avoid deadlock (LP: #1497268) 9331 * stress-readahead: give feedback on premature exit 9332 * stress-aio: no need to free io_reqs, its now on the stack 9333 * Put all child processes under the parents process group ID (LP: #1497236) 9334 * Remove SIGUSR1 and SIGUSR2 trapping, we don't need to trap these 9335 * stress-fifo: check for run flag in child loop 9336 * stress-eventfd: check for run flag in child loop 9337 * stress-epoll: check for run flag on recv loop 9338 * stress-mq: check for run flag in child loop 9339 * stress-msg: check for run flag in child loop 9340 * stress-pipe: check for run flag in child loop 9341 * stress-sigfd: check for run flag in child loop 9342 * stress-socket: check for run flag in child loop 9343 * stress-switch: check for run flag in child loop 9344 * stress-tee: check for run flag in child loop 9345 * stress-vm-rw: check for run flag in child loop 9346 * stress-sigq: check for run flag in child loop 9347 * stress-kcmp: check for run flag in child loop 9348 * stress_sigsuspend: check for run flag in child loop 9349 * stress-socket-pair: check for run flag rather in child loop 9350 * stress-pipe: bail out on zero byte pipe reads (LP: #1496966) 9351 * stress-futex: bail out after 0.5 seconds of failed waits (LP: #1496963) 9352 * stress-clone: remove CLONE_VM unsharing (LP: #1496957) 9353 * stress-sigsuspend: remove spinlock to remove contention (LP: #1496439) 9354 * Put stack in per clone struct, reduce stack size 9355 * stress-aio: cancel signal handler at end of test (LP: #1496340) 9356 9357 -- Colin King <colin.king@canonical.com> Fri, 18 Sep 2015 15:38:00 +0100 9358 9359stress-ng (0.04.19-1) unstable; urgency=medium 9360 9361 * Makefile: bump version 9362 * stress-cpu: data and idct should be floats for idct (LP: #1495882) 9363 * stress-cpu: use hex initialisers for G constants instead of binary 9364 * stress-numa: fix out of bounds memory read on ARM64 (LP: #1495761) 9365 9366 -- Colin King <colin.king@canonical.com> Tue, 15 Sep 2015 10:43:11 +0100 9367 9368stress-ng (0.04.18-1) unstable; urgency=medium 9369 9370 * Makefile: bump version 9371 * Fix singular/plural of "stressors spawned" message (LP: #1494797) 9372 * stress-ureadahead: provide feed back when timeout occurs (LP: #1494784) 9373 * stress-timer, itimer: fix termination hangs (LP: #1494751) 9374 9375 -- Colin King <colin.king@canonical.com> Fri, 11 Sep 2015 16:24:42 +0100 9376 9377stress-ng (0.04.17-1) unstable; urgency=medium 9378 9379 * Makefile: bump version 9380 * stress-fstat: open devices with O_NONBLOCK (LP: #1493717) 9381 * stress-epoll: ensure addr is initialised to NULL 9382 * stress-vm: Add sanity check for rowhammer sizes 9383 * stress-timer: fix incorrect setting of timer 9384 * stress-itimer: fix incorrect setting of timer 9385 * stress-shm-sysv: remove dead initialisation of sz 9386 * stress-hsearch: remove dead initialisation of max 9387 * thermal-zone: remove dead initialisation 9388 * stress-epoll: remove redundant retries assignment 9389 * stress-socket: remove redundant retries assignment 9390 9391 -- Colin King <colin.king@canonical.com> Wed, 9 Sep 2015 09:08:00 +0100 9392 9393stress-ng (0.04.16-1) unstable; urgency=medium 9394 9395 * Makefile: bump version 9396 * Don't build in stress-clone features if clone() not available 9397 * stress-clone: add unshare call 9398 * stress-get: add timex info get 9399 * Update syscalls.txt with clone 9400 * Add clone stressor 9401 * Add the 8-queens solver to the CPU stressor 9402 * stress-key: add build checks on KEYCTL_* features 9403 9404 -- Colin King <colin.king@canonical.com> Mon, 7 Sep 2015 10:03:00 +0100 9405 9406stress-ng (0.04.15-1) unstable; urgency=medium 9407 9408 * Makefile: bump version 9409 * Fix --vm-keep, it should be setting opt_flags 9410 * Update man page contributions 9411 9412 -- Colin King <colin.king@canonical.com> Mon, 17 Aug 2015 08:41:00 -0700 9413 9414stress-ng (0.04.14-1) unstable; urgency=medium 9415 9416 * Makefile: bump version 9417 * Debian: control: don't depend on libkeyutils-dev for some arches 9418 * Don't parse NULL exclude list 9419 9420 -- Colin King <colin.king@canonical.com> Thu, 30 Jul 2015 12:48:00 +0100 9421 9422stress-ng (0.04.13-1) unstable; urgency=medium 9423 9424 * Makefile: bump version, change code name 9425 * Move exclude parsing after we have parsed all the stressor options 9426 * stress-ng: fix unitialised n, found by clang 9427 * stress-key: handle clean up when we bail out early 9428 * stress-stack should not be part of the CPU stress class 9429 * Add the -x, --exclude test exclusion option 9430 * Add libkeyutils-dev to debian control 9431 * Update syscalls list 9432 * Add key stressor (keyctl, add_key) 9433 * stress-kcmp: bail out early after 5 kcmp test failures per instance 9434 * Remove some trailing white spaces from lines 9435 * stress-vm: replace logic with simplified version 9436 * stress-vm: parenthesis around macro definition 9437 * stress-rdrand: add more useful debug stats 9438 * Add instruction cache stressor 9439 * helper: fix spelling mistake 9440 * Manual: fix a few spelling mistakes 9441 * stress-str: make index a register size_t type 9442 * stress-wdstr: make index a register size_t type 9443 * stress-wait: tidy up formatting of function args 9444 * stress-mmapmany: use STRESS_MAX macro 9445 * stress-mmapfork: minor variable cleanup 9446 * stress-inotify: make mk_filename static 9447 * stress-matrix: replace #defined MATRIX_TYPE with typedef 9448 * coredump: make string static 9449 * mounts: make mount_add static, clean up code a bit 9450 * Put MIN/MAX macros into stress-ng.h 9451 * Small amount of white space empty line clean up 9452 * Unify SET/GET/CLR macros 9453 * stress-futex: move futex info into futex struct 9454 * stress-sem-sysv: move sem sysv info into sem_sysv struct 9455 * stress-sem-posix: move sem and init into sem_posix struct 9456 * stress-xattr: add flistxattr calls 9457 * Minor change to error message 9458 * Fix typo in man page, exerised -> exercised 9459 * stress-mq: use correct stressor name in dbg messages 9460 * stress-mq: add occasional use of mq_getattr() 9461 * Only call perf_* if --perf is actually being used 9462 * yaml: times and system-info are not arrays, but lists 9463 * Add perf tracepoint events 9464 * coredump: pid_t should be %u rather than %d, pids are not -ve 9465 * stress-mlock: avoid using void * ptr arithmetic 9466 * helper: fix signum comparisons, use && instead of || 9467 * stress-cache: don't keep fetching number of cpus available 9468 * stress-affinity: don't keep fetching number of cpus available 9469 * Make u_time, s_time, t_time, u_pc, s_pc, t_pc doubles 9470 * thermal-zone: cast to double rather than float 9471 * stress-cpu: ensure we don't get double promotion issues 9472 * minor adjustment to whitespace/tab indentation 9473 * perf: fix spelling mistake: Aligment -> Alignment 9474 * stress-cpu: add C union bit field stressor 9475 * Really ensure we don't report perf counters if they are not available 9476 * stress-sigfd.c: Fix compile warning 9477 * stress-sigfd: user SIGRTMIN instead of SIGUSR1 9478 * coredump: remove redundant code 9479 * stress-mlock: clarify cast to void, ensure we are not doing void * math 9480 * stress-socketpair: reduce the scope of variable ret 9481 * stress-rlimit: reduce scope of variable ret 9482 * stress-fcntl: put each fcntl cmd into its own block 9483 * stress-brk: reduce scope of ptr 9484 * stress-cpu: reduce scope of loop variable 9485 * Add more system info to yaml output to help with test result gathering 9486 * stress-getrandom: cater for builds without the syscall defined 9487 * stress-aio-linux: clean up syscalls 9488 * Clean up memfd syscall wrapper 9489 * perf: call perf_event_open via a wrapper rather than direct syscall 9490 * stress-getrandom: rename __getrandom to sys_getrandom 9491 * stress-kcmp: break out early if we get multiple ENOSYS errors 9492 * Fix spelling mistake 1Mhz -> 1 MHz 9493 * README: fix spelling mistake 9494 * stress-kill: fix typo in comment 9495 * Remove 64 byte alignment on shared region, it does not save much 9496 * Tidy main vars up, add more comments, make ticks_per_sec int32_t 9497 * Add STRESS_ASSERT macro to catch incorrect stressor array size 9498 * Make quota block devices message a little clearer and fix typo 9499 * Use %s instead of %d in stress-malloc signum printing 9500 * Forgot to include signal.h in helper to get NSIG define 9501 * Print signal death number as human readable string 9502 * Warn user if cwd is not read-writeable 9503 * Show process name when a stressor process exits with an error 9504 * Fix typo "quotctl" -> "quotactl" in man page 9505 9506 -- Colin King <colin.king@canonical.com> Wed, 29 Jul 2015 17:10:10 +0100 9507 9508stress-ng (0.04.12-1) unstable; urgency=medium 9509 9510 * Makefile: bump version 9511 * Fix segfault in metrics because MMAPFORK macro not defined correctly 9512 * Add --cpu-load-slice option for CPU stressor time slice tweaks 9513 * Minor re-organising of main globals and make ints into int32_t 9514 * stress-ng.h: extern some misc funcs 9515 * stress-pthread: make stress_pthread_func static 9516 * stress-lockf: make lock helpers static 9517 * stress-epoll: mlock handle_socket_sigalarm 9518 * stress-context: make stress_context_init static 9519 9520 -- Colin King <colin.king@canonical.com> Wed, 15 Jul 2015 00:44:00 +0100 9521 9522stress-ng (0.04.11-1) unstable; urgency=medium 9523 9524 * Makefile: bump version 9525 * Add README and README.Android to make dist rule 9526 * Add README 9527 * Add Android porting notes, thanks to M.Srikanth Kumar. 9528 * For now, enable ptrace stressor for just linux 9529 * Remove unwanted sys/regs include from ptrace stressor 9530 * Make mmapfork help and options build on STRESS_MMAPFORK 9531 * Don't build ptrace stressor for GNU/HURD 9532 * Fix stress-mmapfork builds on non-Linux systems 9533 * Add ptrace stressor 9534 * Use -pthread rather that -lpthread to allow for static builds 9535 * stress-aio: cast to (long) for aio_buf for 32/64 bit portability 9536 * Update syscalls.txt with sigsuspend 9537 * Add sigsuspend stressor 9538 * Update syscalls.txt w.r.t obsolete wait3, wait4 calls 9539 * Add sigpending stressor 9540 * stress-symlink: add readlink to symlink stressor 9541 * Add getpeername call to sock stressor 9542 * stress-quota: ensure we closedir on dir on error exit path 9543 * stress-socket: initialise len to be sizeof(addr) 9544 * stress-socket: fix fd resource leak 9545 * Add mmapmany fork + mmap VM stressor 9546 * Re-order MEMFD in header 9547 * Add --yaml option to output data to a structured YAML file 9548 * socketpair: handle shutdown when we've maxed out socket fds 9549 * stress-sysinfo: Move ret so checks work on non-Linux systems 9550 * stress-sysinfo: fix build for non-Linux systems 9551 * Re-enable xattr tests 9552 * Update syscalls.txt, add getcpu 9553 * stress-numa: clean up code, add getcpu call 9554 * Update syscalls.txt with getsock* calls 9555 * stress-socket: correct dbg error text 9556 * stress-socket: call getsockopt() for more stress overhead 9557 * stress-socket: call getsockname() for more stress overhead 9558 * stress-quota: improve error handling reporting 9559 * stress-quota: minor resource leak and stat checks 9560 * Update syscalls.txt with quotactl 9561 * Add stress-quota quotactl stressor 9562 * Make SIEVE macro not size dependent 9563 * stress-aio-linux: change finish label, fixes close of fd -1 9564 * Update syscalls.txt 9565 * Add a fcntl stressor 9566 * Re-order HDD and HSEARCH in stress-ng.h 9567 * Correct man page concerning the 0 stressor option 9568 * Use _SC_NPROCESSORS_CONF stressors when zero stressors selected 9569 * Update syscalls with NUMA test update 9570 * Add some NUMA clarifications in the manual 9571 * Add NUMA stressor 9572 * stress-lockf: re-align a comment 9573 * stress-kill: improve comment on kill on -1 pid 9574 * syscalls - rename aioabi to aiol 9575 * Add fstatvfs to sysinfo test 9576 * Add Linux asynchronous I/O io_* system call stressors 9577 * Add shutdown to syscalls 9578 * stress-socket: add socket shutdown 9579 * stress-socketpair: close with shutdown, don't use magic string 9580 * Update syscalls.txt 9581 * Make socket pair even more stressy 9582 * Close pipe, and don't report error on EPIPE as that is expected 9583 * Add socketpair stressor 9584 * Try to mlock all sig handlers and critical code into memory 9585 * If a fork fails, set pid num to zero to avoid killing pid -1 9586 * Make log type name fields the same width 9587 * Change "stressors started" to "stressors spawned" 9588 * Emit perf not enabled message just once. 9589 * stress-brk: remove incorrect free on ptr 9590 9591 -- Colin King <colin.king@canonical.com> Tue, 14 Jul 2015 10:20:00 +0100 9592 9593stress-ng (0.04.10-1) unstable; urgency=medium 9594 9595 * Makefile: bump version 9596 * Fix typo in macro, STRESS_UPD_FLOOD -> STRESS_UDP_FLOOD 9597 9598 -- Colin King <colin.king@canonical.com> Thu, 2 Jul 2015 14:40:00 +0100 9599 9600stress-ng (0.04.09-1) unstable; urgency=medium 9601 9602 * Makefile: bump version 9603 * Make stress-udp-flood build dependent on AF_PACKET being defined 9604 * stress-udp-flood: close fd, fixes resource leak 9605 * Add UDP flood stressor 9606 * Stress up to number of cpus configured not number that are online 9607 * Avoid crazy temperatures in thermal zones 9608 * Move syslog help to correct section 9609 9610 -- Colin King <colin.king@canonical.com> Thu, 2 Jul 2015 10:45:00 +0100 9611 9612stress-ng (0.04.08-1) unstable; urgency=medium 9613 9614 * Makefile: bump version 9615 * Only call tz_free() if STRESS_THERMAL_ZONES defined 9616 * Rename dump_* to *_dump 9617 * perf: re-organise, move dump into perf.c, more #if checks 9618 * Add --tz thermal zone option 9619 9620 -- Colin King <colin.king@canonical.com> Wed, 24 Jun 2015 15:12:00 +0100 9621 9622stress-ng (0.04.07-1) unstable; urgency=medium 9623 9624 * Makefile: bump version 9625 * Make stress-sem conditional on STRESS_SEMAPHORE_POSIX 9626 * Make semaphore stressors linux only because of timeout 9627 * stress-sem: remove verbose timeout info, it can spam the output 9628 * stress-sem-sysv: Add timeout to semaphore wait 9629 * stress-sem: Add timeout to semaphore wait 9630 * stress-sem-sysv: ensure parent is waiting and not thrashing 9631 * stress-sem: ensure parent is waiting and not thrashing 9632 * stress-sem: remove verbose timeout info, it can spam the output 9633 * stress-sem-sysv: Add timeout to semaphore wait 9634 * stress-sem: Add timeout to semaphore wait 9635 * stress-sem-sysv: ensure parent is waiting and not thrashing 9636 * stress-sem: ensure parent is waiting and not thrashing 9637 9638 -- Colin King <colin.king@canonical.com> Thu, 18 Jun 2015 16:34:00 +0100 9639 9640stress-ng (0.04.06-1) unstable; urgency=medium 9641 9642 * stess-sysfs: Do not read sysfs files when running as root (LP: #1464073) 9643 9644 -- Colin King <colin.king@canonical.com> Fri, 12 Jun 2015 09:44:00 +0100 9645 9646stress-ng (0.04.05-1) unstable; urgency=medium 9647 9648 [ Colin Ian King ] 9649 * Makefile: bump version 9650 * mincore: fix build for GNU/HURD; make it a no-op 9651 * stress-mlock: don't build in munlockall for GNU/HURD 9652 * stress-mlock: don't build in mlockall, munlockall for GNU/HURD 9653 * Fix MINCORE dependency for GNU/HURD 9654 * Ensure maximum sizes don't exceed 4GB-1 for 32 bit systems 9655 * stress-crypt: only use re-entrant crypt_r on Linux for now 9656 * Make madvise build on non-GNU/HURD systems 9657 * Add perf reference in manual, update date 9658 * stress-vm-rw: zero msg_wr just to be totally safe 9659 * stress-crypt: use reentrant crypt_r to avoid any memory leaks 9660 * stress-zombie: free items on list head on exit 9661 * stress-lockf: free items on list head on exit 9662 * stress-wcstr: fix incorrect wide string size 9663 * Add int8, int16, int32 and int64 versions of mwc*() 9664 * Move results emitting code into dump_* functions 9665 * Increase various stressors upper memory limits 9666 * Make --aggressive force more CPU migrations and context switches 9667 * Fix comment for stress_get_ticks_per_second 9668 * perf: enable inherit flag to trace children 9669 * Update syscalls.txt with perf and getrandom 9670 * Add the new --getrandom stressor 9671 * Fix sigq options, missing because not using STRESS_SIGQUEUE 9672 * Add Christian Ehrhardt to the contributors list on man page 9673 * Fix help -h option, was --h, should be -h 9674 9675 [ Christian Ehrhardt ] 9676 * stress-ng: avoid builtins when libs shall be tested 9677 * stress-ng: add stressor for wide character string operations 9678 * stress-ng: fix string names 9679 * stress-ng: avoid compiler error in stress-vector 9680 * stress-ng: fix EPOLL build 9681 9682 -- Colin King <colin.king@canonical.com> Tue, 2 Jun 2015 20:35:00 +0100 9683 9684stress-ng (0.04.04-1) unstable; urgency=medium 9685 9686 * Makefile: bump version 9687 * stress-hdd: make buffer in read/write helpers uint8_t * 9688 * log: Reduce the scope of n, clean up cppcheck style warning 9689 * perf: cater for zero time_running case, avoid division by zero 9690 * Add --log-brief option to make output less verbose 9691 * print perf counters as , separated decimals 9692 * perf: scale using lookup table, add in quintillions 9693 * perf: Add back PERF_FORMAT_GROUP, we get wrong stats otherwise 9694 * perf: re-work to allow for more HW perf counters 9695 * Don't build in stress-context for OpenBSD 9696 * perf: fix build errors on GNU/HURD 9697 * Add --perf option 9698 * Fix STRESS_VECTOR, use the NEED_GNUC macro 9699 * Add context stressor to stress context switch save/restores 9700 9701 -- Colin King <colin.king@canonical.com> Sun, 31 May 2015 13:33:00 +0100 9702 9703stress-ng (0.04.03-1) unstable; urgency=medium 9704 9705 * Makefile: bump version 9706 * Forgot to include new OPT_FLAG #defines 9707 * Allow --class option to specify a list of classes 9708 * Allow --seq and --all modes to have --class option 9709 * Make break stress help into generic and per stress test sections 9710 * stress-epoll: fix spelling mistake in comment "incomming" 9711 * Manual: break options into stress-ng specific options and stressors 9712 * Make sysfs conditionally compile on STRESS_SYSFS 9713 * Add sysfs stressor 9714 * Fix oom error message with corrupt name because name is not yet set 9715 * stress-cpu: dither: correct min x boundary check, off by 1 9716 * Change scope of variables in stress_cpu_parity 9717 * stress-cpu: stash d and l to overcome over optimization 9718 * Call "stressors" workers 9719 * Manual, call stressors and processes "workers" 9720 * Sync up syscalls.txt with latest changes to stressors 9721 * Add chdir stressor 9722 * Add syncfs option to hdd stressor 9723 * stress-mlock: add mlockall/munlockall stressing too 9724 * Add fsync, fdatasync hdd stressor options 9725 * stress-cpu: add rand48 random number generator family cpu method 9726 * Add human readable time duration to results output 9727 9728 -- Colin King <colin.king@canonical.com> Thu, 21 May 2015 16:24:00 +0100 9729 9730stress-ng (0.04.02-1) unstable; urgency=medium 9731 9732 * Makefile: bump version 9733 * stress-cpu: Add dithering stress cpu method 9734 * stress-cpu: re-order cpu methods 9735 * stress-cpu: Add parity computation method 9736 * Fix in-built help in a few places 9737 * Fix typo in manual, crc -> crc16 9738 9739 -- Colin King <colin.king@canonical.com> Mon, 11 May 2015 10:52:00 +0100 9740 9741stress-ng (0.04.01-1) unstable; urgency=medium 9742 9743 * Makefile: bump version 9744 * stress-rlimit: for now, make this Linux only 9745 * stress-rlimit: add loop limit checking 9746 * stress-mlock: report mlock failure with pr_failed_err() 9747 * stress-itimer: remove the build dep on STRESS_TIMER 9748 * stress-ng: Fix --seq mode 9749 * Add resource limit stressor, stress-rlimit 9750 * stress-chmod: use creat instead of open 9751 * Makefile: sort order of sources, stress-yield, stress-xattr 9752 * Add itimer stressor 9753 * Fix typo: mimcore -> mincore 9754 * Add mlock stressor 9755 * stress-stack: Don't need alloc.h included, it comes in stdlib.h 9756 9757 -- Colin King <colin.king@canonical.com> Mon, 4 May 2015 21:08:00 +0100 9758 9759stress-ng (0.04.00-1) unstable; urgency=medium 9760 9761 * Makefile: bump to version 4.0, update codename 9762 * Update syscalls.txt with more annotations 9763 * stress-hdd: forgot to include sys/uio.h 9764 * mincore: cater for BSD mincore API difference 9765 * Move do_wait inside #if/#endif to avoid warning on BSD systems 9766 * Manual: sort --hdd-opts options 9767 * stress-hdd: add utimes metadata update --hdd-opts option 9768 * stress-xattr: also use fgetxattr 9769 * stress-dup: add dup2 call on same fd 9770 * stress-verify: refactor verify checking, small optimisation 9771 * stress-timer: add timer overrun accounting 9772 * stress-chmod: fix retries abort check 9773 * Re-order stack-fill option in table 9774 * Manual: fix spelling mistake, maxiumum -> maximum 9775 * stress-memfd: initialize fd and maps for correctly cleanup handling 9776 * Update syscalls.txt (added timerfd, minor other tweaks) 9777 * Add timerfd stressor 9778 * stress-timer: Fix random timers to adjust correctly by randomized rate 9779 * stress-memfd: make bogo ops match iterations rather than per memfd-create 9780 * Add stress-memfd stressor and fix mincore/pagein builds 9781 * Update syscalls.txt with a fuller set of syscalls 9782 * stress-get: add calls to time() and utime() 9783 * Add aggressive mode CPU affinity changing 9784 * stress-affinity: add a yield to push IPIs up 9785 * Make inotify test depend on glibc 2.9 or higher 9786 * Make aio test depend on glibc 2.1 or higher 9787 * Make affinity test depend on glibc 2.3.0 or above 9788 * Update syscall.txt with readv/writev 9789 * Add iovec readv/writev mode to --hdd-opts 9790 * stress-sem: don't report EINTR as an error on sem_wait 9791 * stress-chmod: give up of we took too many tries to create file 9792 * stress-epoll: add more delay on re-try connect failures 9793 * stress-epoll: use a saved errno to report error 9794 * Handle fork() EAGAIN correctly by re-trying 9795 * stress-lease: correct and improve failure error messages 9796 * stress-wait: increase wait timeout to 8 seconds 9797 * stress-inotify: break out of init loop if end of tests, increase retries 9798 * stress-sysinfo: make EACCES non-fatal error on stat 9799 9800 -- Colin King <colin.king@canonical.com> Mon, 27 Apr 2015 13:24:00 +0100 9801 9802stress-ng (0.03.22-1) unstable; urgency=medium 9803 9804 * Makefile: bump version 9805 * stress-eventfd: check if termination flag set 9806 * stress-tee: handle EINTR in tee() 9807 * Make timeval_to_double an inlined func 9808 * stress-sigfd: return rather than _exit() on error 9809 9810 -- Colin King <colin.king@canonical.com> Sat, 18 Apr 2015 13:04:00 +0500 9811 9812stress-ng (0.03.21-1) unstable; urgency=medium 9813 9814 * Makefile: bump version 9815 * stress-crypt: fix build on FreeBSD 9816 * stress-mmapmany: include signal.h to stop build warnings 9817 * Make features.h dependent on GLIBC 9818 * Make help info less than 80 chars wide 9819 * stress-lockf: explicitly ignore return from waitpid and kill 9820 * Add device, filesystem and pipe classes, re-classify some tests 9821 * stress-pthread: fix comment 9822 * Only allow futex test if system call is defined 9823 * Check if rdrand is supported if sequential mode selected 9824 * Make stress-lockf more aggressive with more concurrent locking 9825 * Rename NEED_GLIB to NEED_GLIBC and use on newer system calls 9826 * Add tee stressor 9827 * Fix wait spawn to return pid_t rather than int 9828 * Fix sem spawn to return pid_t rather than int 9829 * Fix sem-sysv spawn to return pid_t rather than int 9830 * Fix lease spawn to return pid_t rather than int 9831 * Fix fifo spawn to return pid_t rather than int 9832 * Fix epoll spawn to return pid_t rather than int 9833 * Fix typo: _GNUC__ -> __GNUC__ 9834 * Add crypt stressor 9835 * Add --timer-rand option for more of a mix in timer scheduling 9836 * Fix uninitialised timer frequency in stress-timer 9837 * Fix typo in manual 9838 * Check for fork EAGAIN failure, polled retry 9839 * Add mmanmany stressor 9840 * The current VFORK build check fails, just make it build w/o checks for now 9841 * Add zombie stressor - fill up process table with children wait to be reaped 9842 * stress-null: fix comment 9843 * Don't define HOT and OPTIMIZE3 for older versions of GNUC 9844 * Add glibc and gcc version macros, use them for rdrand and vm-rw stressors 9845 * Add depends on libattr1-dev 9846 * Option --readahead-bytes should only built in if readahead supported 9847 * stress-cpu: Use more optimal gray to integer conversion 9848 * stress-cpu: minor tweaks to ensure optimizer does not over optimize 9849 * Add and use OPTIMIZE3 -O3 macro 9850 * Forgot to add the --str-method to the help 9851 * Add the str string stressor 9852 * stress-xattr: fix incorrect clean up path on error 9853 * Add HOT macro, add it to cpu intensive busy loops 9854 * stress-readahead: build only if readahead allowed on system 9855 * Add xattr stressor 9856 * stress-kill: Add some more kill variations 9857 * Update syscalls table 9858 * stress-mmap: unmap buf, fixes resource leak 9859 * Add readahead I/O stressor 9860 * Add deep function call cpu stressor method 9861 * stress-vm: add rowhammer memory stressor 9862 9863 -- Colin King <colin.king@canonical.com> Tue, 14 Apr 2015 16:15:00 +0500 9864 9865stress-ng (0.03.20-1) unstable; urgency=medium 9866 9867 * Makefile: bump version 9868 * sched: Fix build warning on get_sched_name on GNU HURD 9869 * stress-hdd: Fix incorrect format specifier %zu for a uint64_t 9870 * stress-fallocate: Fix off_t printf warnings on 32 bit GNU HURD 9871 * Fix resource leak (file descriptor) on error exit of stress-hdd 9872 * Fix Manual, clarify the action of hdd stressor 9873 * stress-aio: reduce scope of ret 9874 * Fix missing stressor name in pr_err() messages 9875 * Fix missing stressor name in pr_inf() and pr_dbg() messages 9876 * Fix missing stressor name in pr_fail() messages 9877 * stress-hdd: fix verify mode for hdd stressor 9878 * stress-hdd: fix missing read if no read preference specified 9879 * sched: fix default priority levels and lack of class name in messages 9880 * stress-hdd: fix read of end of file when generated with random writes 9881 * Fix extraneous leading space after the "hogs:" message 9882 * stress-hdd: fix false error reports on short reads 9883 * stress-hdd: fix noisy "incomplete reads" debug message 9884 * stress-fallocate: fix incorrect errors reported on fallocate sizes 9885 * stress-fallocate: fix error messages, they are rather meaningless 9886 * stress-aio: report correct errno on async error 9887 * stress-aio: handle EAGAIN and EINTR correctly 9888 * stress-hdd: POSIX_FADV_RND should be POSIX_FADV_RANDOM 9889 9890 -- Colin King <colin.king@canonical.com> Thu, 26 Feb 2015 17:17:00 +0000 9891 9892stress-ng (0.03.19-1) unstable; urgency=medium 9893 9894 * Makefile: bump version 9895 * stress-sem: fix spelling mistake in comment: destory -> destroy 9896 * Manual: fix spelling mistake: successfull -> successful 9897 * Manual: fix typo: summaries -> summarise 9898 * Manual: vecmath: Replace x with \(mu multiply sign for correct formatting 9899 * Manual: Fix udp port description, add the default base port being used. 9900 * Manual: remove deprecated --hdd-sync option 9901 * Manual: fix typo: mremmap -> remap 9902 * Manual: Replace x with \(mu multiply sign 9903 * Manual: Fix typo: randonly -> randomly 9904 * Manual: Fix spelling mistake: hightest -> highest 9905 * Manual: Correct description for --fifo option 9906 * Manual: Fix spelling mistake and epoll_wait section 9907 * Rename id to s_id to stop variable shadowing 9908 * Move scope of j, removes shadowing of j too. 9909 * stress-aio: clean up clang warnings on integer conversions 9910 * Re-format and slightly re-word debian control description text 9911 * Remove trailing white spaces from lines and empty lines 9912 * Remove duplicated changelog entries 9913 * Fix macro expansion overflows on 32 bit architectures 9914 * stress-matrix: clean up some more cppcheck style warnings 9915 * stress-longjmp: move counter c, cleans up cppcheck style warning 9916 * stress-inotify: fix buffer bounds checking on inotify input 9917 * stress-ng: remove some debug that never got printed 9918 * stress-pipe: ret should be ssize_t 9919 * stress-hdd: ret should be ssize_t 9920 * stress-mmap: better error handling on write 9921 * out-of-memory: add better write error checking 9922 * stress-null: better error handling on write 9923 * stress-lockf: better error handling on write 9924 * stress-fault: better error handling on write 9925 * stress-vm-rw: better error handling on read/write 9926 * stress-sigfd: better error handling on read 9927 * stress-seek: better error handling on read/write 9928 * stress-procfs: better error handling on read 9929 * stress-poll: better error handling on read/write 9930 * stress-pipe: better error handling on read/write 9931 * stress-inotify: better error handling on read/write 9932 * stress-hdd: better error handling on read/write 9933 * stress-switch: cater for zero write w/o error 9934 * stress-fifo: better error handling on read/write 9935 * stress-pipe: better error handling on read/write 9936 * stress-urandom: better error handling on read 9937 * stress-zero: better error handling on read 9938 * stress-eventfd: better read/write handling 9939 * print correct number of hogs when --class is used 9940 9941 -- Colin King <colin.king@canonical.com> Mon, 23 Feb 2015 15:58:00 +0000 9942 9943stress-ng (0.03.18-1) unstable; urgency=medium 9944 9945 * Makefile: bump version 9946 * Move order of hadamard matrix method, now in alphabetical order 9947 * Fix macro typos - STESS -> STRESS (LP: #1423241) 9948 * Add in matrix info into help 9949 9950 -- Colin King <colin.king@canonical.com> Wed, 18 Feb 2015 16:08:00 +0000 9951 9952stress-ng (0.03.17-1) unstable; urgency=medium 9953 9954 * Makefile: bump version 9955 * Fix name clash on union on *BSD systems 9956 * Explicitly ignore return from wait*() calls by (void) cast 9957 * Add minimize/maximize to matrix size 9958 * Add --cache-prefetch option 9959 * Make opt_sequential int32 and print out hogs if --seq is being used 9960 * Handle builds for system calls that don't exist 9961 * stress-vm-rw: include missing header 9962 * Ignore args in kcmp for systems that don't support this call 9963 * Forgot ULL after fibonacci uint64_t assignment, warning on 32 bit mips 9964 * Add longjmp stressor 9965 * Constify a few more function args 9966 * Add in some shifts to vecmath 9967 * Constify a few more func args 9968 * Make cache no-ops into do {} while (0) statement 9969 * Move PR_* bit flags to bottom nybble, makes stress-ng smaller 9970 * Fix spelling mistake in manual: subtrace -> subtract 9971 * Forgot to capitalise the matrix product methods 9972 * Add two more matrix product methods 9973 * man page: long double floats -> floats for matrix 9974 * Add matrix stressor with a bunch of stressor methods 9975 * stress-shm-sysv: initialise shm_ids as -1 to indicate not set 9976 * Use semun union when passing values to semctl, fixes powerpc segfault 9977 * stress-rdrand: move #includes to fix build warning on ARM 9978 * Make mallopt code depend on GNUC and linux 9979 * Reduce MAX stress-fallocate allocation size for 32 bit systems 9980 * Move #includes in io-priority to stop build warnings 9981 * Add --malloc-thresh tuneable option 9982 * Used #if defined(...) consistently. 9983 * Munge stressor names when showing hoggers 9984 * Remove repeated #if defined() checks, simplify them into stress-ng.h 9985 * Add another example to the manual 9986 * Increase maximum lease breakers 9987 * stress-lease: max sure the pid array is large enough 9988 * Add --aggressive option 9989 * Don't print null string of no hogs listed when dispatching hogd 9990 * Add --minimize and --maximize options 9991 * Add --stack-fill option 9992 * Update syscalls.txt with recently added syscalls 9993 * stress-fallocate: only use fallocate if FALLOC_FL_* defined 9994 * stress-fallocate: employ linux fallocate on linux builds 9995 * Add --fallocate-bytes option 9996 9997 -- Colin King <colin.king@canonical.com> Tue, 17 Feb 2015 18:28:00 +0000 9998 9999stress-ng (0.03.16-1) unstable; urgency=medium 10000 10001 * Makefile: bump version again 10002 * Fix missing .TP in man page 10003 * Re-work the "dispatching hogs" message to log atomically 10004 * Add --syslog option to log non-debug messages to syslog 10005 * stress-hdd: don't use strtok_r, we're not threaded 10006 * Just define KCMP_* ourselves, broken distros don't have linux/kcmp.h 10007 * stress-kcmp: close fd1, fix resource leak 10008 * Add kcmp stressor 10009 * Remove unnecessary { } 10010 * Remove redundant assignment of first enum to zero 10011 * Make --random 0 select the number of on-line CPUs 10012 * Forgot to make RDRAND check arch specific 10013 * Add check to see if rdrand is supported and skip stressor if not 10014 * stress-pthread: increase to 1024 pthreads per stressor 10015 * stress-pthread: handle error correctly; as from the return from pthread* 10016 * Make pr_failed more generic and make a new pr_failed_errno macro 10017 10018 -- Colin King <colin.king@canonical.com> Fri, 13 Feb 2015 19:40:00 +0000 10019 10020stress-ng (0.03.15-1) unstable; urgency=medium 10021 10022 * Makefile: bump version 10023 * Don't make sieve static, it wastes space in the executable 10024 * Keep make quiet on builds that don't support _Decimal types 10025 * Makefile: more smarts to conditionally build stress-cpu 10026 * remove STRESS_FLOAT_DECIMAL 10027 * Try to build with _Decimal* floats, if fail, build without 10028 * Check for __int128 and _Decimal support 10029 * Don't complain about IPC_RMID failure if it's already been reaped 10030 * Don't report sem-op errors on EINTR 10031 * Only report OOM restarts and nomems if they actually occurred 10032 * stress-chmod: remove some unnecessary debug info 10033 * stress-socket: don't emit errno if EINTR 10034 * stress-udp: don't emit errno if EINTR 10035 * stress-chmod: only report number of retries if a retry occurred 10036 * stress-stack: handle OOM killer with monitoring parent 10037 * Add set_max_limits() to push user limits to maximum allowed 10038 * stress-cpu: re-work math stressors with macros 10039 * Add decimal{32|64|128} math ops in cpu stressor 10040 * Re-work floating point and complex floating point stressors 10041 * Re-work int stressors to use generic macro, and add int128 test 10042 10043 -- Colin King <colin.king@canonical.com> Mon, 9 Feb 2015 23:28:00 +0000 10044 10045stress-ng (0.03.14-1) unstable; urgency=medium 10046 10047 * Makefile: bump version 10048 * Fix build warning for systems w/o _SC_PAGESIZE 10049 * Make semaphore creation non-fatal 10050 * Fix a few warnings on gcc 4.5.3 (NetBSD) 10051 * Make STRESS_SIGFD linux only 10052 * Re-order sendfile #define 10053 * Re-order hdd and hsearch #defines 10054 * Forgot to make futex linux only 10055 * Typo: replace __linux with __linux__ 10056 * Use pow since powl has less precision than advertised warning on FreeBSD 10057 * Forgot to remove mremap from help if non-Linux 10058 * Update manual, stress-mremap is linux only 10059 * Make mremap test linux only 10060 * stress-mremap: move to using page size helper 10061 * Add helper to get cpu clock ticks 10062 * Add number of processors online helper. 10063 * Add page size helper, we don't need to repeat the sysconf calls 10064 * Add malloc stressor 10065 * Add some more comments 10066 * Clean up BSD workarounds 10067 * stress-brk: wrap an overly long line 10068 * Add memory remapping stressor 10069 * Turn off madvise DONTNEED as it can cause us checking errors 10070 * Add another NetBSD long double workaround 10071 * stress-hdd - don't allow fadvise on GNU HURD 10072 * Add vmsplice stressor 10073 * Correct error message on pipe failure 10074 * Fix up latest stressors, re-order options and add vm-rw-* help 10075 * Add splice stressor 10076 * Add vm-rw stressor 10077 * Add read64 and write64 vm memory stress methods. 10078 10079 -- Colin King <colin.king@canonical.com> Thu, 5 Feb 2015 15:22:10 +0000 10080 10081stress-ng (0.03.13-1) unstable; urgency=medium 10082 10083 * Makefile: bump version 10084 * Cater for non-existent long double math functions in NetBSD 10085 * mounts: forgot to handle NetBSD in mount detection 10086 * Make mounts build for NetBSD too 10087 * Disabled stress-wait for NetBSD - can't see how to do CONT sig wait 10088 * Cater for systems that do not have MAP_ANONYMOUS 10089 * Add NetBSD support to stress-stack 10090 * Make vector gcc'isms compile in for modern versions of gcc only 10091 * stress-hdd: void unused params 10092 * Also catch SIGILL for FreeBSD 10093 * Remove trapping of SIGILL 10094 * stress-qsort: fix cmp3 byte-wise re-ordering 10095 * include signal.h in stress-pthread to fix FreeBSD build 10096 * Minor source reformatting on stress-ng.c 10097 * Reduce the precision and number of iterations for nsqrt 10098 * stress-shm-sysv: also shrink and re-try if ENOMEM occurs 10099 * Add some feedback of shm-sysv had to shrink shared memory size 10100 * Cater for EINVAL on shmget if size is too large. 10101 * Mungify stressor names when invoking the stressor 10102 * Drop default System V shared memory size to 8MB for *BSD kernels 10103 * Add check for BSD invalid chmod mode bits error 10104 * Fix printing of stressor names, some names too long and _ -> - conversion 10105 * stress-cache: put { } braces around cflush and mfence 10106 * stress-mq: initialise mq to -1 to avoid gcc warning (false positive) 10107 * Add full read checks in stress-hdd read stressor loops 10108 * stress-hdd: remove debug cruft 10109 * Forgot to escape some - hyphens in manual 10110 * Stress-hdd: remove ad-hoc open flags, replace with --hdd-opts option 10111 * Manual: fix spelling, destory -> destroy 10112 * Add vector maths stressor 10113 * Man page: naive -> naïve 10114 * Manual, lease-breakers: for --> to 10115 * Don't handle SIGSEGV and SIGBUS 10116 * Don't build sem-sysv for GNU HURD 10117 * Add sections of man pages for sys calls and libc functions 10118 * Add System V shared memory stress test 10119 * Fix error path on SYSV sem creation - need to reap semaphore 10120 * Re-work POSIX sem test to be aligned with SYSV sem test 10121 * Remove POSIX semaphore header, not required 10122 * Add System V semaphore stressor 10123 10124 -- Colin King <colin.king@canonical.com> Sun, 1 Feb 2015 15:22:10 +0000 10125 10126stress-ng (0.03.12-1) unstable; urgency=medium 10127 10128 * Makefile: bump version 10129 * Add udp to --help output 10130 * remove need to setup unix pathname in stress-socket 10131 * stress-epoll: use net helper funcs 10132 * stress-mq: memset msg to zero to stop valgrind complaining 10133 * Clear epoll_event struct; warning from valgrind 10134 * Add net helper functions, refactor udp and socket stressors 10135 * Add udp stressor 10136 * Reduce the minimum timer frequency to 1Hz 10137 * Remove duplicate error message in rdrand stressor 10138 * Correct error messages, removed "failed" and trailing "\n" 10139 * Clear alternative signal stack, stops cppcheck warning 10140 * Limit sscanf field to avoid overflows 10141 * Remove memory locking, it wasn't such a good idea after all 10142 10143 -- Colin King <colin.king@canonical.com> Thu, 29 Jan 2015 11:49:00 +0000 10144 10145stress-ng (0.03.11-1) unstable; urgency=medium 10146 10147 * Makefile: bump version 10148 * Add --hdd-sync, --hdd-dsync, --hdd-direct, --hdd-noatime options 10149 * Add sigfd stressor 10150 * Move mount handling helper functions to mounts.c 10151 * Add --brk-notouch option 10152 * Account of out of memory nomems in stress-brk 10153 * Explicitly ignore *close*() failures with (void) cast 10154 * Update copyright at end of manual 10155 * Update syscalls.txt with brk/sbrk calls 10156 * Add a brk stress tester and --brk, --brk-ops options 10157 * Fix incorrect comment on bigheap stressor function 10158 10159 -- Colin King <colin.king@canonical.com> Sun, 25 Jan 2015 14:23:00 +0000 10160 10161stress-ng (0.03.10-1) unstable; urgency=medium 10162 10163 * Makefile: bump version 10164 * Make mask ptrdiff_t and cast to allow clean 32 bit build 10165 * Use ptrdiff_t for addr math 10166 * Remove need for ms_flags if building for GNU HURD 10167 * Cater for GNU HURD not supporting mincore() 10168 * Cater for msync not functioning for GNU HURD 10169 * Add --mincore-random option 10170 * Update syscalls.txt with mincore test 10171 * Remove the page reading from mincore 10172 * Add mincore stressor 10173 10174 -- Colin King <colin.king@canonical.com> Sat, 24 Jan 2015 13:43:00 +0000 10175 10176stress-ng (0.03.09-1) unstable; urgency=medium 10177 10178 * Makefile: bump version 10179 * Add bounds checking on data from /proc 10180 * Make stress-mq a no-op for non-Linux 10181 * Update syscalls table 10182 * Make mq a linux only stressor 10183 * Add mq stressor for POSIX message queues 10184 * Add --mmap-protect page protection settings option 10185 * Add the chmod stressor 10186 10187 -- Colin King <colin.king@canonical.com> Tue, 13 Jan 2015 11:54:00 +0000 10188 10189stress-ng (0.03.08-1) unstable; urgency=medium 10190 10191 * Makefile: bump version 10192 * Update copyright year to sources 10193 * Add epoll stressor 10194 * stress-vm: reduce scope of addr 10195 * stress-mmap: clarify calculation precedence of & in ternary expr 10196 * stress-memory: reduce scope of addr 10197 * Fix --sequential mode, correctly set up number of procs and pid list 10198 10199 -- Colin King <colin.king@canonical.com> Fri, 2 Jan 2015 09:57:11 +0000 10200 10201stress-ng (0.03.07-1) unstable; urgency=medium 10202 10203 * Makefile: bump version 10204 * Fix pluarity of --lease man page description 10205 * Fix int64 float descriptions in man page 10206 * Make lease help info appear only if it is supported 10207 * Make assumption about nice limits if getrlimit fails 10208 * Close and abort rather than close and break 10209 * Fix incorrect closing on in stress-lease 10210 * Clear buffer in lockf 10211 * Check return of unlocking fcntl call in stress-lease 10212 * Forgot to add stress-lease.c to Makefile 10213 * Add lease stressor and --lease, --lease-ops, --lease-breakers 10214 * Don't print full help on failed getopt '?' returns 10215 * Add dup stressor and --dup, --dup-ops options 10216 * Update syscalls table 10217 * Minor lockf corrections in manual 10218 * Add POSIX lockf file locking stressor 10219 * Fix int64_{float|double|longdouble} verifies 10220 * Add mixed integer and floating point cpu stressors 10221 * Manual: don't -> do not 10222 10223 -- Colin King <colin.king@canonical.com> Wed, 31 Dec 2014 13:13:13 +0000 10224 10225stress-ng (0.03.06-1) unstable; urgency=medium 10226 10227 * Makefile: bump version 10228 * Makefile: add mascot svg to dist 10229 * Make getpid pid const 10230 * Don't use 0600 flags, use constants instead 10231 * Add --mmap-file and --mmap-async file based mmap options 10232 * Make stress-mmap helper functions static 10233 * Update manual for the new unix --sock-domain option 10234 * Add unix --sock-domain option 10235 * Add cache fencing and cache flushing to cache stressor 10236 * Add mascot svg 10237 * Fix comment in modulo-x comment, 20th -> 23rd 10238 10239 -- Colin King <colin.king@canonical.com> Mon, 29 Dec 2014 15:57:00 +0000 10240 10241stress-ng (0.03.05-1) unstable; urgency=medium 10242 10243 * Makefile: bump version 10244 * Fix stress-poll random slow hangs running on --poll-ops N 10245 * Find index into stressors via id 10246 * stress-fifo: cater for zero reads on closed fifo 10247 * Tidy up stress-ng.h, re-ordering and adding more comments 10248 * Re-organise per stressor process info into procs 10249 * Remove hdd related global vars, add stress_set_hdd* helpers 10250 * Remove global socket_port, use helper stress_set_socket_port instead 10251 * Remove unused opt_vm_stride 10252 * Remove global mmap_bytes, use helper stress_set_mmap_bytes instead 10253 * Remove vm related global flags, add stress_set_vm_* helpers 10254 * Remove global cpu_load, use helper stress_set_cpu_load instead 10255 * Remove global sem_procs, use helper stress_set_sem_procs instead 10256 * Make opt_sequential static 10257 * Remove global fifo_readers, use helper stress_set_fifo_readers instead 10258 * Remove global pthread_max, use helper stress_set_pthread_max instead 10259 * Remove global seek_size, use helper stress_set_seek_size instead 10260 * Remove global qsort_size, use helper stress_set_qsort_size instead 10261 * Remove global sendfile_size, use helper stress_set_sendfile_size instead 10262 * Remove global hsearch_size, use helper stress_set_hsearch_size instead 10263 * Remove global lsearch_size, use helper stress_set_lsearch_size instead 10264 * Make opt_tsearch_size static 10265 * Remove global tsearch_size, use helper stress_set_tsearch_size instead 10266 * Replace opt_fstat_dir with stress_set_fstat_dir() 10267 * Replace sem_ok bool with OPT_FLAGS_SEM_INIT opt_flag bit 10268 * Remove opt_timer_freq, replace with stress_set_option_freq() 10269 * Make opt_class static 10270 * Make array opt_ops static 10271 * Make opt_backoff static 10272 * Make opt_sched and opt_sched_priority static 10273 * Make started_procs array static 10274 * Make procs, opt_ionice_class, opt_ionice_level static 10275 * No need to extern procs array 10276 * No need to extern opt_ionice_class, opt_ionice_level 10277 * Remove globals for fork/vfork opts, use stress_set_{fork,vfork}_max 10278 * Remove global opt_denties, use helper stress_set_dentries instead 10279 * Remove global bsearch_size, use helper stress_set_bsearch_size instead 10280 * Remove global bigheap_growth, use helper stress_set_bigheap_growth instead 10281 * Remove global aio requests, use helper stress_set_aio_requests instead 10282 * Remove tailing . on man page title 10283 10284 -- Colin King <colin.king@canonical.com> Wed, 17 Dec 2014 14:37:41 +0000 10285 10286stress-ng (0.03.04-1) unstable; urgency=medium 10287 10288 * Makefile: bump version 10289 * Fix verify checks in int{64,32,16,8} cpu stressors 10290 * lock-mem: only use mlockall if _POSIX_MEMLOCK is defined 10291 * stress-vm: add finer grained bogo ops 10292 * Set MIN_OPS to be 1, 100 is quite large for slow vm tests 10293 * stress-vm: use PRIME_64 10294 * stress-denty: use PRIME_64 10295 * Define PRIME_64 to be large 64 bit prime value 10296 * Fix thinko in prime striding of memory 10297 * Add --denty-order option to try and mix up dentry unlinking order 10298 * Remove the reference to /tmp being used as sendfile data 10299 * Add pthread stressor 10300 * Re-work seek offset, the module fails on some arm 32 builds 10301 * stress-fifo: fix error message 10302 10303 -- Colin King <colin.king@canonical.com> Fri, 12 Dec 2014 12:23:12 +0000 10304 10305stress-ng (0.03.03-1) unstable; urgency=medium 10306 10307 * Makefile: bump version 10308 * Update date in man page 10309 * IONICE_* opts are linux only 10310 * Remove unwanted column headings 10311 * Stress semaphore harder by multiple children 10312 * Update syscalls, add send recv 10313 * Add some more comments to stress-ng.h 10314 * Move some #defines around 10315 * stress-fork: use renamed constants 10316 * Add in more #define'd min/max/default constants 10317 * Re-order OPT_ case statement into alphabetical order 10318 * Hide vm stressor option inside stress-vm 10319 * Hide cpu stressor option inside stress-cpu 10320 * stress-fifo: close fifo on exit 10321 * stress-socket: add --sock-domain option 10322 * stress-socket: use send/recv instead of write/read 10323 * Use ssize_t for n to get write size 10324 * Add named fifo stressor 10325 * Break casting of uintptr_t into stages because GCC 4.9.2 complains 10326 * stress-vm: no need to check sz if it is a 32 bit integer 10327 * Force gcc not to optimise out the alloca 10328 10329 -- Colin King <colin.king@canonical.com> Fri, 5 Dec 2014 23:19:00 +0000 10330 10331stress-ng (0.03.02-1) unstable; urgency=medium 10332 10333 * Makefile: bump version 10334 * free procs array in child stressor, stops valgrind complaining 10335 * stress-vm: don't use abs, use UNSIGNED_ABS instead 10336 * Ensure mwc internal state is initialised. 10337 * stress-memcpy: copy back buffer to share memory region 10338 * stress-affinity: add --affinity-rand option 10339 * man page: fix - hypenations 10340 * stress-vm: remove debug on vm stressor names, too noisy 10341 * mwc: move mwc constants into a struct and inline mwc 10342 * Deprecate --noclean option 10343 * Deprecate --vm-stride 10344 * man page: Fix spelling mistakes and re-phrase some text for clarity 10345 * stress-vm: use correct name when checking prime-gray-* results 10346 * Add --stress-vm documentation in man page 10347 * stress-vm: Add different vm stressors and --vm-method option 10348 10349 -- Colin King <colin.king@canonical.com> Tue, 2 Dec 2014 16:13:15 +0000 10350 10351stress-ng (0.03.01-1) unstable; urgency=medium 10352 10353 * Makefile: bump version, update codename 10354 * More --metrics explanation, expand other mior options as well 10355 * Use %zu print format specifier for size_t variable 10356 * Fix builds for OpenBSD too 10357 * Makefile: minor tweaks to build rules 10358 * stress-cpu: remove cpow and csinl csinl for FreeBSD builds 10359 * stress-cpu: build without warnings with clang 10360 * madvise: fix build issues on FreeBSD 10361 * stress-sysinfo: build for FreeBSD 10362 * Fix build issues on FreeBSD 10363 * stress-cpu: zeta precision should be using cabsl 10364 * Use double complex for fft 10365 * stress-nice: include signal.h 10366 * stress-tsearch: use & rather than && 10367 * stress-lsearch: use & rather than && 10368 * opt_flags && OPT_FLAGS_VERIFY should be using & rather than && 10369 * Remove duplicate const 10370 * Remove duplicate func declaration, rename other to stress_func 10371 * Fix division by zero on r_total, emit zero if num procs is zero 10372 * Fix spelling mistake "performance" in man page 10373 * Fix float man page entry 10374 * Fix clongdouble man page entry 10375 * Add hsearch and class options to --help 10376 10377 -- Colin King <colin.king@canonical.com> Thu, 27 Nov 2014 16:28:05 +0000 10378 10379stress-ng (0.03.00-1) unstable; urgency=medium 10380 10381 * Makefile: bump to version 0.03.00 10382 * Clarify cpu stressors and tidy up the table formatting 10383 * Reduce number of loops for int, float and complex by factor of 10 10384 * Add cpu complex stressors to man page 10385 * Add complex math stressors, make float macro use appropriate trig funcs 10386 * stress-aio: Fix spelling mistake "Succeeded" in comment 10387 * stress-cpu: fix spelling mistake "version" in comment 10388 * Add one more stress-ng example to man page 10389 * stress-sysinfo: make ret linux only 10390 * stress-sysinfo: make clk not linux only 10391 * Remove linux only restriction for --times option 10392 * sysinfo: check for times() returning -1 10393 * Check for time() error correctly 10394 * Make stress-aio linux only 10395 * Output metrics in terms of time in wall clock and user+sys times 10396 * stress-socket: terminate child properly to fix process accounting 10397 * Make metrics based on child usr and sys ticks rather than wall clock times 10398 * Force gcc from over-optmising loop cpu stressor accumulates 10399 * Fix flock stress on open failure because of race on same file 10400 * Update syscalls text file 10401 * Add stack overflow stressor 10402 * Fix flock - ensure it locks on one file between all workers 10403 * Add hsearch stressor 10404 * Add async I/O aio stressor 10405 * Add --class option 10406 * stress-cpu: Move math constants and suffix them with L 10407 * Add Euler–Mascheroni (gamma) calculation in cpu-stress 10408 * Fix another spelling mistake in man page 10409 10410 -- Colin King <colin.king@canonical.com> Mon, 24 Nov 2014 09:31:00 +0000 10411 10412stress-ng (0.02.29-1) unstable; urgency=medium 10413 10414 * Makefile: bump version 10415 * Fix spelling mistake in man page 10416 * Add seek stressor and --seek, --seek-ops, --seek-size options 10417 * Add memcpy memory copying stressor 10418 * Makefile: remove gcov options that got accidentally added 10419 10420 -- Colin King <colin.king@canonical.com> Fri, 21 Nov 2014 10:19:00 +0000 10421 10422stress-ng (0.02.28-1) unstable; urgency=medium 10423 10424 * Makefile: bump version 10425 * stress-cpu: force matrixprod to actually save the results 10426 * Use temp dir helpers to run stressors in temp directory 10427 * Add temporary dir helpers 10428 10429 -- Colin King <colin.king@canonical.com> Thu, 20 Nov 2014 09:40:00 +0000 10430 10431stress-ng (0.02.27-1) unstable; urgency=medium 10432 10433 * Makefile: bump version 10434 * stress-utime: use also utime and make futimes linux only 10435 * stress-fault: use posix_fallocate instead of fallocate 10436 * stress-fault: clarify negation on boolean expression 10437 * stress-hdd: close file on error exit path 10438 * Use PATH_MAX for filename sizes 10439 * stress-hdd: use temp filename helper 10440 * stress-fallocate: use temp filename helper 10441 * stress-inotify: use temp filename helper 10442 * stress-flock: open using S_IRUSR | S_IWUSR 10443 * stress-fault: open using S_IRUSR | S_IWUSR 10444 * stress-denty: open using S_IRUSR | S_IWUSR 10445 * stress-dir: use temp filename helper 10446 * stress-link: use temp filename helper 10447 * stress-rename: use temp filename helper 10448 * stress-utime: use temp filename helper 10449 * stress-sendfile: use temp filename helper 10450 * stress-flock: use temp filename helper 10451 * stress-fault: use temp filename helper 10452 * stress-dentry: use temp filename helper 10453 * Add stress_temp_filename for standard temp filename building 10454 * stress-dentry: include instance number in filename 10455 * Catch a range of signals and handle termination better 10456 * Re-work process wait by re-writing this with a helper 10457 * Fix build issues on Arch 10458 * Man page: tweak width for cpu methods to work on wide ttys 10459 * Only print out page fault stats to debug 10460 * Correctly wait for all running processes to terminate 10461 * Remove redundant exit check 10462 * Add page fault stressor 10463 * Remove -g flag from Makefile 10464 * Add lsearch stressor 10465 * Add tsearch stressor 10466 * Ensure we allocate in multiples of 8 elements 10467 * Add bsearch stressor 10468 * stress-poll: set data in correct place, fixes verify failures 10469 * Make hyperbolic cpu test more demanding 10470 * Make trig cpu test more demanding 10471 * Add 3 more hash cpu stressors 10472 10473 -- Colin King <colin.king@canonical.com> Thu, 13 Nov 2014 10:49:00 +0000 10474 10475stress-ng (0.02.26-1) unstable; urgency=medium 10476 10477 * Makefile: bump version 10478 * Makefile: include syscalls.txt in dist 10479 * Fix cut-n-paste error on waitpid for socket_server 10480 * Ignore args in no-op mincore build case 10481 * Make mincore a no-op for GNU HURD 10482 * Don't allow wait stressor if building for GNU HURD 10483 * Forgot to make times option Linux only too 10484 * Make --times option Linux only 10485 * Only print the names of stressors if they are going to run 10486 * Ensure we have read all the inotify events 10487 * Add the new --times option to show system and user times 10488 * stress-msg: wait for child to exit 10489 * stress-inotify: ignore EINTR on select as an error 10490 * stress-eventfd: wait for child to die 10491 * stress-vm: wait for child to die 10492 * stress-switch: wait for child to die 10493 * stress-socket: wait for children to die 10494 * stress-sigq: wait for child to die 10495 * stress-poll: wait for child to die 10496 * stress-pipe: wait for child to die 10497 * stress-bigheap: wait on child after killing it 10498 * Add vfork to syscalls.txt 10499 * Add --vfork, --vfork-ops, --vfork-max options 10500 * stress-bigheap: don't treat EINTR on waitpid as an error 10501 * Add mincore to syscalls.txt 10502 * Add the --page-in option to page in out-of-core pages 10503 * stress-cpu: run all cpu methods rather than sqrt() by default 10504 * stress-vm: treat EINTR on waitpid as a not a reportable error 10505 * stress-eventfd: treat read/write EINTR as not a reportable error 10506 * stress-msg: treat EINTR as not a reportable error 10507 * Make poll and select act on multiple pipe fds 10508 * Add madvise to syscalls.txt 10509 * Enable random madvise() advice for mmaps, add --no-madvise option 10510 * Fix spelling mistake in coredump.c 10511 * Add table of syscalls/libc vs test coverage 10512 * stress-fstat: add more stat* calls, don't spin if no valid files 10513 * Modify started on text to be more like original stress tool 10514 * Add wait stressor and --wait --wait-pid options 10515 10516 -- Colin King <colin.king@canonical.com> Sat, 8 Nov 2014 14:24:00 +0000 10517 10518stress-ng (0.02.25-1) unstable; urgency=medium 10519 10520 * Makefile: bump version 10521 * Write file entry removal info to stderr rather than stdout 10522 * Enable urandom for GNU HURD 10523 * stress-fnotify: handle fnotify running out of resource 10524 * Use timer_create for linux only 10525 * stress-eventfd: make it build only for linux systems 10526 * Forgot to add stress-eventfd.c 10527 * stress-inotify.c: reduce scope of dirent 10528 * stress-futex.c: reduce scope of variable ret 10529 * stress-cpu.c: reduce scope of variable fn 10530 * Replace stress fields with STRESSOR macro 10531 * Check for timeout as an error and sanity check inotify buffer size 10532 * Add stress-inotify and --inotify --inotify-ops options 10533 * man page: fix spelling mistake 10534 * parse-opts.c: fix spelling mistake 10535 * Makefile: fix spelling mistake 10536 * Fix more spelling mistakes in changelog 10537 * Fix spelling mistake in changelog 10538 * stress-clock: fully clear sevp 10539 * Re-order long_options to make it easier to find options 10540 * stress-sysinfo: move i to reduce scope 10541 * Fix type on null ptr check on mnt 10542 * Add sysinfo stressor and --sysinfo --sysinfo-ops options 10543 * Make STRESS_PROCS linux only in stress-ng.h 10544 * Add procfs stressor and --procfs --procfs-ops options 10545 * Update manual date 10546 * Add note about matrix produce CPU stressor 10547 * Fix rdrand unrolled comment 10548 * Re-order stress_op enum 10549 * Re-order stress_id enum 10550 * Remove redundant extra loop in stress_pipe 10551 * Add linux eventfd stressor 10552 * Add stress-clock, re-order man page and help info 10553 10554 -- Colin King <colin.king@canonical.com> Mon, 3 Nov 2014 19:16:00 +0000 10555 10556stress-ng (0.02.24-1) unstable; urgency=medium 10557 10558 * Makefile: bump version 10559 * Free procs on calloc failure 10560 * stress-open: determine max number of fds allowed to open 10561 * stress-vm: Handle WIFSIGNALED if waitpid succeeded 10562 * Handle WIFSIGNALED if waitpid succeeded 10563 * stress sock should be called sock and not socket in the metrics info 10564 * Make futex waker verify less pedantic 10565 * fix getpriorities returning < 0 for valid priority values 10566 * Fix order of null stressor 10567 * Add get stressor and --get, --get-ops options 10568 * Add sendfile stressor and --sendfile, --sendfile-ops, --sendfile-size 10569 * Re-order options man page 10570 * Sort options in mini help 10571 * Add null stress test and --null, --null-ops options 10572 * Add zero stressor and --zero, --zero-ops options 10573 * Add kill stressor and --kill, --kill-ops options 10574 10575 -- Colin King <colin.king@canonical.com> Thu, 30 Oct 2014 22:14:00 +0000 10576 10577stress-ng (0.02.23-1) unstable; urgency=medium 10578 10579 * Makefile: bump version 10580 * Initialise finish time in case it is never run (LP: #1387104) 10581 * Add futex stressor (LP: #1386831) 10582 10583 -- Colin King <colin.king@canonical.com> Wed, 29 Oct 2014 10:32:00 +0000 10584 10585stress-ng (0.02.22-1) unstable; urgency=medium 10586 10587 * Makefile: bump version 10588 * Re-order some of the help options 10589 * Fix --random option to create semaphore if semaphore is chosen by random 10590 10591 -- Colin King <colin.king@canonical.com> Sun, 26 Oct 2014 11:54:00 +0000 10592 10593stress-ng (0.02.21-1) unstable; urgency=medium 10594 10595 * Bump version again 10596 * Mixed up shared memory regions, fix these as --cache breaks 10597 10598 -- Colin King <colin.king@canonical.com> Fri, 24 Oct 2014 21:13:00 +0100 10599 10600stress-ng (0.02.20-1) unstable; urgency=medium 10601 10602 * Makefile: bump version again 10603 * Remove shm_* and replace with mmap'd shared memory (fix GNU hurd issues) 10604 10605 -- Colin King <colin.king@canonical.com> Fri, 24 Oct 2014 19:40:00 +0100 10606 10607stress-ng (0.02.19-1) unstable; urgency=medium 10608 10609 * Makefile: bump version 10610 * Don't enable stress-msg for GNU HURD 10611 * Make lock_mem_current a no-op for GNU HURD 10612 * Don't enable stress-sigq for GNU HURD 10613 * Need <sys/time.h> in stress-ng.h 10614 * Cater for systems where sem_init is not supported 10615 * shm_open on /tmp path (for kFreeBSD) 10616 * Fix non-linux build - don't build in options that are not available 10617 * sched.c: make this build on non-linux systems 10618 * io-proirity: make this more generic rather than linux specific 10619 * stress-nice: work around systems that lack RLIMIT_NICE 10620 * stress-mmap: fix kFreeBSD build failures, no MAP_POPULATE 10621 * kFreeBSD has no MAP_POPULATE 10622 * Update to latest policy standards 10623 * debian/control: update to keep in sync with new features 10624 10625 -- Colin King <colin.king@canonical.com> Fri, 24 Oct 2014 16:46:00 +0100 10626 10627stress-ng (0.02.18-1) unstable; urgency=medium 10628 10629 * Makefile: bump version, add copyright, change codename, fix make dist 10630 10631 -- Colin King <colin.king@canonical.com> Fri, 24 Oct 2014 09:24:00 +0100 10632 10633stress-ng (0.02.17-1) unstable; urgency=medium 10634 10635 * Makefile: bump version again 10636 * Break out of stress_run if we've timed out 10637 * Add more exit points to check for early abort 10638 * stress-vm: restart processes killed by OOM, add more exit checking 10639 * stress-bigheap: add more exit checking 10640 10641 -- Colin King <colin.king@canonical.com> Thu, 23 Oct 2014 17:38:00 +0100 10642 10643stress-ng (0.02.16-1) unstable; urgency=medium 10644 10645 * Makefile: bump version 10646 * Make sequential minimum 0 10647 * stress-fstat: free list on error return 10648 * Default to number of online cpus if --sequential 0 is used 10649 * Remove debug message 10650 10651 -- Colin King <colin.king@canonical.com> Thu, 23 Oct 2014 13:01:00 +0100 10652 10653stress-ng (0.02.15-1) unstable; urgency=medium 10654 10655 * Makefile: bump version 10656 * Add rdrand stressor (Intel Ivybridge+) 10657 * stress-fstat: don't exit(), just return on error 10658 * stress-fstat: don't exit(), just return on error 10659 * stress-rename: don't exit(), return on error 10660 * stress-utime: don't exit(), just return on failure 10661 * Add more explanations to man page 10662 * Spread --random stressors more evenly 10663 * Fix minor issues in man page 10664 10665 -- Colin King <colin.king@canonical.com> Thu, 23 Oct 2014 11:22:00 +0100 10666 10667stress-ng (0.02.14-1) unstable; urgency=medium 10668 10669 * Makefile: bump version 10670 * Compile in asm no-op hints only if using gcc 10671 * Make gcc optimisation hint a gcc only feature 10672 * Add verify mode to omega computation 10673 * Add verify mode to pi computation 10674 * Add verify mode on hanoi computation 10675 * Add verify mode to ln(2) computation 10676 * Add verify mode to psi computation 10677 * Add verify mode to phi computation and make it long double 10678 * Make nsqrt long double precision and add verify mode 10679 * Add verify on euler computation 10680 * Add verify on IDCT 10681 10682 -- Colin King <colin.king@canonical.com> Thu, 23 Oct 2014 00:45:00 +0100 10683 10684stress-ng (0.02.13-1) unstable; urgency=medium 10685 10686 * Makefile: bump version 10687 * Properly report child exit error status 10688 * mlock all pages down on so they don't get swapped out 10689 * Add feedback on file system clean up on SIGINT 10690 * Move ioprio_set out of stress-ng.h to io-priority.c 10691 * Fix table width in stress-cpu stressors 10692 * Add -ve value sanity checking 10693 * Add --sequential option 10694 10695 -- Colin King <colin.king@canonical.com> Wed, 22 Oct 2014 16:32:00 +0100 10696 10697stress-ng (0.02.12-1) unstable; urgency=medium 10698 10699 * Makefile: bump version 10700 * Reduce scope of variables 10701 * Add SIGFPE stressor --sigfpe --sigfpe-ops 10702 * Add --fork-max option 10703 * Move opt parsing to parse-opts.c 10704 * Remove unrequired headers from coredump 10705 * Re-organise code, move helper functions 10706 * Update man page on random cpu stressor 10707 10708 -- Colin King <colin.king@canonical.com> Tue, 21 Oct 2014 13:16:00 +0100 10709 10710stress-ng (0.02.11-1) unstable; urgency=medium 10711 10712 * Makefile: bump version 10713 * Add fstat check in fallocate verify path 10714 * Add verify to stress-yield 10715 * Add verify to stress-vm 10716 * Add verify to stress-poll 10717 * Add verify to stress-fork 10718 * Add verify to stress-fallocate 10719 * Add verify on stress cpu sqrt 10720 * Add verify to bigheap 10721 * Add verify to stress-affinity 10722 * Abort stressors after a threshold of failures reached 10723 * Add --bigheap-growth option 10724 * Clean up nice cpu consumer, add a little more info in manual about this 10725 * Add --nice and --nice-ops for nice stressor 10726 * Re-order some man page options 10727 * Fix printf format specifier 10728 10729 -- Colin King <colin.king@canonical.com> Sun, 19 Oct 2014 17:29:00 +0100 10730 10731stress-ng (0.02.10-1) unstable; urgency=medium 10732 10733 * Makefile: bump version 10734 * Make n ssize_t 10735 * Fix msg type field 10736 * Add --msg and --msg-ops System V msg send/receive stressor 10737 * Add --verify support to stress-pipe 10738 * Minor code cleanup 10739 * Print pid rather than status when printing failed stressor fork 10740 * Add verification of qsort 10741 * Add --verify example to manual 10742 * Add verify mode to integer cpu stressors 10743 * Enable OPT_FAIL for verify mode and all flags 10744 * Add MWC_SEED and MWC_SEED_W MWC_SEED_Z macros 10745 * Add mwc seeding helper 10746 * Use pr_fail on test verify failures 10747 * Add mmap memory verify 10748 * Minor comment fix 10749 * Add FAIL log state 10750 * Add --verify option 10751 10752 -- Colin King <colin.king@canonical.com> Thu, 16 Oct 2014 23:12:01 +0100 10753 10754stress-ng (0.02.09-1) unstable; urgency=medium 10755 10756 * Makefile: bump version 10757 * Makefile: add more smarts to detect header file and Makefile changes 10758 * Re-structure sources, break into per test and helper funcs sources 10759 10760 -- Colin King <colin.king@canonical.com> Mon, 13 Oct 2014 22:22:22 +0000 10761 10762stress-ng (0.02.08-1) unstable; urgency=medium 10763 10764 * Bump version 10765 * Add more sanity checking for numeric options 10766 * fflush output before we fork 10767 * Allow one to request number of stressors to match number of online CPUs 10768 * Fix up comment 10769 * Add hand optimised Hamming H(8,4) code cpu stressor 10770 10771 -- Colin King <colin.king@canonical.com> Sun, 12 Oct 2014 22:33:00 +0100 10772 10773stress-ng (0.02.07-1) unstable; urgency=medium 10774 10775 * Makefile: bump version 10776 * Add computation of the reciprocal Fibonacci constant psi 10777 * Add computation of the omega constant as a cpu stressor 10778 * Add computation of pi cpu stressor 10779 10780 -- Colin King <colin.king@canonical.com> Sat, 11 Oct 2014 20:07:00 +0100 10781 10782stress-ng (0.02.06-1) unstable; urgency=medium 10783 10784 * Makefile: bump version 10785 * Rename ctxt -> switch 10786 * Add metrics-brief example to man page 10787 * Add Towers of Hanoi CPU stessor 10788 * Add gray code cpu stressor 10789 * Add --metrics-brief option 10790 * Add brute force prime search 10791 * Add Sieve of Eratosthenes cpu stressor 10792 10793 -- Colin King <colin.king@canonical.com> Sat, 11 Oct 2014 11:33:00 +0100 10794 10795stress-ng (0.02.05-1) unstable; urgency=medium 10796 10797 * Makefile: bump version 10798 * Add correlation cpu stressor 10799 * Add Zeta function cpu stressor 10800 * Add more information in manual 10801 * Add hash pjw and make jenkin hash iterate more 10802 10803 -- Colin King <colin.king@canonical.com> Fri, 10 Oct 2014 16:26:00 +0100 10804 10805stress-ng (0.02.04-1) unstable; urgency=medium 10806 10807 * Makefile: bump version 10808 * Add hyperbolic function sinh cosh cpu stressor 10809 * Expand man page 10810 * Add CCITT CRC16 cpu stressor 10811 * Add compare + jmp cpu stressor 10812 * Add cpu explog stressor and tidy up man page 10813 * Add Ackermann function cpu stressor 10814 * Add log(2) computation for cpu stressor 10815 * Update man page 10816 * Add fibonacci cpu stressor, use register where appropriate 10817 10818 -- Colin King <colin.king@canonical.com> Thu, 9 Oct 2014 21:16:00 +0100 10819 10820stress-ng (0.02.03-1) unstable; urgency=medium 10821 10822 * Bump version 10823 * Add --fstat, --fstat-ops and --fstat-path fstat stress options 10824 * Add --utime, --utime-ops, --utime-fsync options 10825 * Add -R, --rename, --rename-ops rename stressor 10826 10827 -- Colin King <colin.king@canonical.com> Thu, 9 Oct 2014 11:03:00 +0100 10828 10829stress-ng (0.02.02-1) unstable; urgency=medium 10830 10831 * Makefile: bump version 10832 * bigheap: account for the type of out of memory conditions in debug 10833 * Forgot to update the man page for --big-heap options 10834 10835 -- Colin King <colin.king@canonical.com> Tue, 7 Oct 2014 13:23:00 +0100 10836 10837stress-ng (0.02.01-1) unstable; urgency=medium 10838 10839 * Fix up errors found by coverity scan 10840 * Add bigheap stressor 10841 * Makefile: bump version 10842 * Add coredumping limits 10843 * Add oom killer adjustments 10844 * Add maxtrix product cpu stressor 10845 * Expand float and int tests to various sized arithmetic 10846 10847 -- Colin King <colin.king@canonical.com> Tue, 7 Oct 2014 12:18:00 +0100 10848 10849stress-ng (0.02.00-1) unstable; urgency=medium 10850 10851 * Bump version to 0.02.00 10852 * Minor tweaks to man page 10853 * Add qsort stressor and --qsort, --qsort-ops, --qsort-size options 10854 * Remove some whitespace 10855 * Add some notes about the CPU methods used 10856 * Add RGV <-> YUV cpu stress method 10857 * Add more bithack stressors to bitops cpu method, update man page 10858 * Remove --int, --int-ops, --float, --float-ops from help 10859 * Re-order cpu stressor methods alphabetically 10860 * Remove the need for cpu stressors to return anything 10861 * Remove --float and --float-ops and merge into cpu stress 10862 * Make uint64_put take 1 arg 10863 * Remove --int and --int-ops, merge into int cpu stress 10864 * Remove extraneous space 10865 * Add comments and some consts 10866 * Add IDCT and "all" cpu stress methods 10867 * Add euler and jenkins cpu stress methods 10868 * Add Fast Fourier Transform cpu stress method 10869 * Add Golden Ratio computation as a cpu stressor 10870 * Execute the correct stress function 10871 * Fix indexing error on procs <---> stress id 10872 * Add --cpu-method option to stress the CPU different ways 10873 * Add const where applicable, small code tidy up 10874 * Replace APP_NAME with app_name static string 10875 * Guard against bad flag type 10876 * Re-work print, saved ~60 bytes 10877 * Sort stressors by name order 10878 * Get page size for mmap using sysconf 10879 * Make *_put helper args const 10880 * Make maximum number of procs a #defined constant 10881 * Track mmap'd memory, this stops coverity scan getting confused 10882 * Add --hdd-write-size option 10883 * Add mmap stressor and --mmap, --mmap-ops, mmap-bytes options 10884 * Fully #define out unused stress tests 10885 * Check for end-of-table on stressors 10886 * Use err and dbg helpers to print syscall failures 10887 * Make short get_opt short int 10888 * Remove human readable label field, it's duplication 10889 * Make short opts a stress_op enum 10890 * Make all ops lo, hi thresholds the same (100,100000000) 10891 * Make options table driven for stress test options 10892 * Add segmentation fault stressor, --sigsegv and --sigsegv-ops options 10893 * Add directory stressors 10894 * Add link and symlink stressors 10895 * Fix help information, start -> stop 10896 10897 -- Colin King <colin.king@canonical.com> Thu, 3 Oct 2014 10:44:00 +0100 10898 10899stress-ng (0.01.32-1) unstable; urgency=medium 10900 10901 * Makefile: bump version 10902 * Handle forced abort and tidy up when errors occur during start up 10903 * Add more termination checks to try to abort faster 10904 * Fix --sched option that had missing .TP 10905 * Remove duplicate const 10906 * Neaten up the see also list 10907 10908 -- Colin King <colin.king@canonical.com> Thu, 28 Aug 2014 00:21:01 +0100 10909 10910stress-ng (0.01.31-1) unstable; urgency=medium 10911 10912 * Makefile: bump version 10913 * Minor fix-ups in man page 10914 * Re-order globals, saves 8 bytes 10915 * Make mwc uint64_t 10916 * Add some more comments 10917 * Remove DIV_OPS_BY_PROCS macro 10918 * Fix --keep-name help info (order and missing ') 10919 * Fix --sched man page option 10920 10921 -- Colin King <colin.king@canonical.com> Tue, 19 Aug 2014 15:47:28 +0100 10922 10923stress-ng (0.01.30-1) unstable; urgency=medium 10924 10925 * Makefile: bump version 10926 * Fix up a few resource leaks 10927 * Add format length specifier to scanf on integers 10928 * Minor var cleanup from cppcheck 10929 * Re-work help info 10930 * Remove common functionality, make code smaller 10931 * Free procs more rigorously. 10932 * Clear sigqueue union, keeps valgrind happy 10933 * Free procs info at exit 10934 * Add more information in man page 10935 * Re-use stressor names in checks 10936 * Cast max_ops to (void) to avoid unused var warnings 10937 * Add --vm-locked option and force cpu affinity changes on cache stress 10938 * Fix spelling mistake in man page 10939 * Remove some extraneous white spaces 10940 * Remove commas from numbers in help 10941 * Align help info 10942 * Remove redundant code that got accidentally left in 10943 * Simplify hogs message 10944 * Keep track of per stress test ops count in opt_ops array 10945 * Add -P, --poll, --poll-ops zero timeout polling stress test 10946 * Add -k, --keep-name option to not change name of stress processes 10947 * Add -r, --random option to create N random stress processes 10948 10949 -- Colin King <colin.king@canonical.com> Tue, 5 Aug 2014 17:25:01 +0100 10950 10951stress-ng (0.01.29-1) unstable; urgency=medium 10952 10953 * Makefile: bump version 10954 * Use si_value.sival_int instead of info.si_int (Closes: #756787) 10955 * Fix incorrect nesting of OPT_SIGQUEUE* 10956 10957 -- Colin King <colin.king@canonical.com> Fri, 1 Aug 2014 23:25:23 +0100 10958 10959stress-ng (0.01.28-1) unstable; urgency=medium 10960 10961 * Makefile: bump version, change codename 10962 * Add sigqueue and sigwaitinfo stress, new --sigq, --siqq-ops options 10963 * Make mwc inline 10964 * Make opt_do_run volatile 10965 * Make -O2 default 10966 * Remove numerous printfs in help info 10967 * Remove lots of duplicate stress test names from code 10968 * Fixup print % qualifier 10969 * Clean all objects on make clean 10970 10971 -- Colin King <colin.king@canonical.com> Wed, 30 Jul 2014 10:25:00 +0100 10972 10973stress-ng (0.01.27-1) unstable; urgency=medium 10974 10975 * Makefile: bump version 10976 * Add more info to man page 10977 * Add open stress test 10978 * Fix bug in semaphore range checking 10979 * Fix dbg message for stress_int 10980 * Add some more comments 10981 * Add more information in man page 10982 * Increase the -l option accuracy by biasing by the select() overhead time 10983 * Add missing comma to output 10984 10985 -- Colin King <colin.king@canonical.com> Tue, 29 Jul 2014 00:33:31 +0100 10986 10987stress-ng (0.01.26-1) unstable; urgency=medium 10988 10989 * Makefile: bump version 10990 * Add semaphore stress, --sem and --sem-ops options 10991 10992 -- Colin King <colin.king@canonical.com> Sun, 27 Jul 2014 16:24:22 +0100 10993 10994stress-ng (0.01.25-1) unstable; urgency=medium 10995 10996 * Makefile: bump version 10997 * More aggressive process termination to kill any lingering processes 10998 10999 -- Colin King <colin.king@canonical.com> Sun, 20 Jul 2014 18:05:01 +0100 11000 11001stress-ng (0.01.24-1) unstable; urgency=medium 11002 11003 * Makefile: bump version 11004 * Makefile: add helper.c to make dist 11005 * Add integer stressor, --int and --int-ops options 11006 * urandom: cater for non-linux builds 11007 * Add --float and --float-ops floatin point stressors 11008 * Add urandom stress, -u, --urandom and --urandom-ops options 11009 * Make timer stress more responsive to SIGINTs 11010 * Forgot to add 'T' option to getopt 11011 11012 -- Colin King <colin.king@canonical.com> Sun, 20 Jul 2014 17:38:43 +0100 11013 11014stress-ng (0.01.23-1) unstable; urgency=medium 11015 11016 * Makefile: bump version 11017 * Add snappier process termination 11018 * Add -h option 11019 * Add more debug on exit paths 11020 * Add more checking on sigaction 11021 * Minor code tidy up 11022 * Move time_now() 11023 * Use timeval helper in time_now() 11024 * Fix build error on GNU HURD 11025 11026 -- Colin King <colin.king@canonical.com> Mon, 14 Jul 2014 11:49:41 +0100 11027 11028stress-ng (0.01.22-1) unstable; urgency=medium 11029 11030 * Makefile: bump version 11031 * Add directory entry thrashing 11032 * Track ftruncate errors 11033 11034 -- Colin King <colin.king@canonical.com> Sun, 13 Jul 2014 17:19:05 +0100 11035 11036stress-ng (0.01.21-1) unstable; urgency=medium 11037 11038 * Makefile: bump version 11039 * Remove need for rand, it makes Coverity Scan complain 11040 * Check for freq divide by zero 11041 * Add in __linux__ build dependency on timers 11042 * Add timer stress test --timer, --timer-ops and --timer-freq options 11043 * Note that affinity options linux only in man page 11044 * opt_affinity_ops is linux only 11045 * Fix man page -F option 11046 * Add CPU affinity stress processes, add --affinity and --affinity-ops options 11047 11048 -- Colin King <colin.king@canonical.com> Sat, 12 Jul 2014 21:50:00 +0100 11049 11050stress-ng (0.01.20-1) unstable; urgency=medium 11051 11052 * Makefile: bump version 11053 * Ignore return from ftruncate, we don't care 11054 * Fix spelling mistakes 11055 * Standardise error messages 11056 * Remove extraneous pid at end of pr_* messages 11057 * Add more information when error occurs 11058 11059 -- Colin King <colin.king@canonical.com> Mon, 7 Jul 2014 20:00:00 +0100 11060 11061stress-ng (0.01.19-1) unstable; urgency=medium 11062 11063 * Makefile: bump version 11064 * Willfully ignore posix_fallocate() failures, we don't care 11065 * Terminate and tidy up flock stress temp file 11066 * Update help information 11067 * Make conditional stress tests no-ops rather than not including them 11068 * Add file locking stress, --flock and --flock-ops options 11069 * Add --vm-populate option 11070 * Add fallocate test and -F, --fallocate, --fallocate-ops options 11071 * Divide yield bogo ops by number of yield processes 11072 11073 -- Colin King <colin.king@canonical.com> Mon, 7 Jul 2014 19:26:00 +0100 11074 11075stress-ng (0.01.18-1) unstable; urgency=medium 11076 11077 * Makefile: bump version 11078 * Add yield stress test and -y, --yield, --yield-ops options 11079 * Add ionice-class and ionice-level options (Linux only) 11080 11081 -- Colin King <colin.king@canonical.com> Sun, 6 Jul 2014 11:14:00 +0100 11082 11083stress-ng (0.01.17-1) unstable; urgency=medium 11084 11085 * Makefile: update version 11086 * Add build hardening 11087 * Add scheduler options to man page 11088 * Allow --sched which to show available schedulers 11089 * Add --sched and --sched-prio options 11090 11091 -- Colin King <colin.king@canonical.com> Fri, 4 Jul 2014 16:38:00 +0100 11092 11093stress-ng (0.01.16-1) unstable; urgency=medium 11094 11095 * Don't include prctl.h unless compiled for a linux target 11096 * Reduce scope of j loop index 11097 * Reduce scope of ret 11098 * Clarify bitwise operation 11099 * Remove duplicate consts 11100 11101 -- Colin King <colin.king@canonical.com> Sat, 21 Jun 2014 14:24:15 +0100 11102 11103stress-ng (0.01.15-1) unstable; urgency=medium 11104 11105 * Initial Debian upload (Closes: #735674) 11106 * Makefile: bump version 11107 * Minor tidy-ups 11108 * Minor changes to man page 11109 11110 -- Colin King <colin.king@canonical.com> Mon, 26 May 2014 10:39:00 +0200 11111 11112stress-ng (0.01.14-1) unstable; urgency=medium 11113 11114 * Makefile: bump version 11115 * Add -a, -all run all stress test option 11116 * Cast close returns to (void) when we don't care 11117 * Minor comment and code clean up 11118 * Re-order options in man page 11119 * Add socket stressors 11120 * Add CPU cache to hogs line 11121 * Fix up and re-order options in help info 11122 11123 -- Colin King <colin.king@canonical.com> Thu, 22 May 2014 16:01:01 +0100 11124 11125stress-ng (0.01.13-1) unstable; urgency=low 11126 11127 * Makefile: bump version 11128 * Fill memory with something other that '0' 11129 * Add cache thrash stress options to man page 11130 * Add cache stress 11131 * Update man page with new pipe I/O options 11132 * Add pipe I/O loading test 11133 11134 -- Colin King <colin.king@canonical.com> Tue, 20 May 2014 12:14:00 +0100 11135 11136stress-ng (0.01.12-1) unstable; urgency=low 11137 11138 * Makefile: bump version 11139 * Add some more comments 11140 * Remove atoi and use strtol to handle underflow/overflow checking 11141 * Add print format specifier 11142 * Fix status not being printed 11143 11144 -- Colin King <colin.king@canonical.com> Mon, 19 May 2014 10:40:00 +0100 11145 11146stress-ng (0.01.11-1) unstable; urgency=low 11147 11148 * Makefile: bump version 11149 * Fix copyright 11150 * Makefile: Fix make dist, use plain old tar to omit debian contents 11151 * Add COPYING file 11152 * Add a -l --cpu-load option to load CPUs to a specified amount 11153 11154 -- Colin King <colin.king@canonical.com> Fri, 28 Mar 2014 21:08:11 +0000 11155 11156stress-ng (0.01.10-1) unstable; urgency=low 11157 11158 * Makefile: bump version 11159 * debian/control: set arch to any 11160 * Fix up copyright company 11161 * Fix formatting of the copyright in the source 11162 * Re-write the description and make it a little clearer in the source 11163 * Detect and report if a worker stress process failed 11164 * Make process name changing linux only feature 11165 11166 -- Colin King <colin.king@canonical.com> Mon, 20 Jan 2014 17:00:01 +0000 11167 11168stress-ng (0.01.09-1) unstable; urgency=low 11169 11170 * Initial release into Debian (Closes: #735674) 11171 * Makefile: bump version 11172 * Fix up description once more 11173 * Add some minimal comments 11174 * Re-work debian control again. 11175 11176 -- Colin King <colin.king@canonical.com> Fri, 17 Jan 2014 11:52:13 +0000 11177 11178stress-ng (0.01.08-1) unstable; urgency=low 11179 11180 * Makefile: bump version 11181 * debian/control: Update debian control 11182 * debian/rules, remove override_dh_auto_build 11183 * debian/control: update, minor changes 11184 * debian/compat: update to 9 11185 * Check for write fail 11186 11187 -- Colin King <colin.king@canonical.com> Thu, 16 Jan 2014 13:47:11 +0000 11188 11189stress-ng (0.01.07) trusty; urgency=low 11190 11191 * Makefile: bump version 11192 * Fix typo in help info 11193 * Ensure we quit when ctxt switch parent is killed 11194 * Update man page date 11195 * Add context switch stress test 11196 * Add fork stress test 11197 * Update copyright year 11198 11199 -- Colin King <colin.king@canonical.com> Thu, 16 Jan 2014 13:27:51 +0000 11200 11201stress-ng (0.01.06) trusty; urgency=low 11202 11203 * Makefile: bump version again 11204 * vm-keep does not have an optarg 11205 11206 -- Colin King <colin.king@canonical.com> Fri, 6 Dec 2013 18:46:20 +0000 11207 11208stress-ng (0.01.05) trusty; urgency=low 11209 11210 * Makefile: bump version 11211 * Fix opt_vm_hang bug 11212 11213 -- Colin King <colin.king@canonical.com> Fri, 6 Dec 2013 15:50:01 +0000 11214 11215stress-ng (0.01.04) trusty; urgency=low 11216 11217 * Makefile: bump version 11218 * ensure ret is initialized in print() 11219 * Fix some signed / unsigned comparison warnings 11220 * Make print return number of chars emitted and ignore some func returns 11221 * Makefile: add -Wextra 11222 * Set shm mem name to be unique on parent pid 11223 * handle out of memory error on procs 11224 * tidy up and constify where applicable 11225 11226 -- Colin King <colin.king@canonical.com> Tue, 19 Nov 2013 12:57:22 +0000 11227 11228stress-ng (0.01.03) saucy; urgency=low 11229 11230 * Makefile: bump version 11231 * Make mmap failure non fatal 11232 11233 -- Colin King <colin.king@canonical.com> Fri, 17 Oct 2013 19:38:31 +0100 11234 11235stress-ng (0.01.02) saucy; urgency=low 11236 11237 * Makefile: bump version 11238 * Set umask before using mkstemp 11239 11240 -- Colin King <colin.king@canonical.com> Wed, 15 Oct 2013 15:28:33 +0100 11241 11242stress-ng (0.01.01) saucy; urgency=low 11243 11244 * Makefile: bump version 11245 * hdd: fix --hdd-noclean option 11246 * hdd: change buffer size, exit early if hdd-ops reached per write 11247 * Add default settings as #defines 11248 * Make metrics labels a little more understandable 11249 * Limit vm-ops to min of 100 11250 11251 -- Colin King <colin.king@canonical.com> Tue, 15 Oct 2013 16:20:05 +0100 11252 11253stress-ng (0.01.00) saucy; urgency=low 11254 11255 * Initial version 11256 11257 -- Colin King <colin.king@canonical.com> Tue, 15 Oct 2013 13:35:40 +0100 11258