Andrea Bolognani
13f5b223c9
tests: Add getuid() to virnetdevbandwidthmock
...
When only geteuid() is mocked, the test crashes on Debian 10.
Fatal: failed to reset uid: No such file or directory
Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) t a a bt
Thread 1 (Thread 0x7ffff3b3e080 (LWP 12003)):
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007ffff7798535 in __GI_abort () at abort.c:79
#2 0x00007ffff485ca20 in _gcry_logv (level=level@entry=40, fmt=fmt@entry=0x7ffff4929126 "failed to reset uid: %s\n", arg_ptr=arg_ptr@entry=0x7fffffffe4a0) at ../../src/misc.c:142
#3 0x00007ffff485cd61 in _gcry_log_fatal (fmt=fmt@entry=0x7ffff4929126 "failed to reset uid: %s\n") at ../../src/misc.c:218
#4 0x00007ffff48639d1 in lock_pool_pages (n=<optimized out>, p=<optimized out>) at ../../src/secmem.c:340
#5 _gcry_secmem_init_internal (n=<optimized out>) at ../../src/secmem.c:563
#6 0x00007ffff4863d78 in _gcry_secmem_init (n=4096) at ../../src/secmem.c:581
#7 0x00007ffff485e4e6 in _gcry_vcontrol (cmd=<optimized out>, arg_ptr=arg_ptr@entry=0x7fffffffe5e0) at ../../src/global.c:506
#8 0x00007ffff485a789 in gcry_control (cmd=cmd@entry=GCRYCTL_INIT_SECMEM) at ../../src/visibility.c:79
#9 0x00007ffff71af10f in ssh_crypto_init () at ./src/libgcrypt.c:621
#10 0x00007ffff7193796 in _ssh_init (constructor=constructor@entry=1) at ./src/init.c:79
#11 0x00007ffff71834de in libssh_constructor () at ./src/init.c:116
#12 0x00007ffff7fe437a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffe778, env=env@entry=0x7fffffffe788) at dl-init.c:72
#13 0x00007ffff7fe4476 in call_init (env=0x7fffffffe788, argv=0x7fffffffe778, argc=1, l=<optimized out>) at dl-init.c:30
#14 _dl_init (main_map=0x7ffff7ffe190, argc=1, argv=0x7fffffffe778, env=0x7fffffffe788) at dl-init.c:119
#15 0x00007ffff7fd60ca in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#16 0x0000000000000001 in ?? ()
#17 0x00007fffffffea26 in ?? ()
#18 0x0000000000000000 in ?? ()
Signed-off-by: Andrea Bolognani <abologna@redhat.com >
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com >
2019-07-09 15:01:54 +02:00
..
2018-05-13 13:38:31 +04:00
2019-02-24 13:20:51 +04:00
2019-02-24 13:20:51 +04:00
2018-12-03 14:31:41 +01:00
2018-12-17 15:02:11 +00:00
2019-06-20 14:02:36 +02:00
2019-06-20 14:02:36 +02:00
2017-04-11 14:06:47 +02:00
2019-04-16 13:46:17 +02:00
2019-04-16 13:46:17 +02:00
2019-03-13 12:06:52 -06:00
2019-03-06 15:53:53 +01:00
2017-07-11 10:41:24 +02:00
2019-02-21 13:06:16 -05:00
2019-05-23 16:29:48 +01:00
2019-02-01 12:57:13 -05:00
2019-02-01 12:57:13 -05:00
2019-03-22 12:59:56 +03:00
2017-12-07 09:21:04 +00:00
2017-12-07 09:21:04 +00:00
2017-12-05 14:52:49 +01:00
2018-07-10 13:37:51 +02:00
2019-06-20 09:13:37 +02:00
2019-02-05 17:15:05 +01:00
2019-07-08 16:10:22 -05:00
2019-07-08 16:10:22 -05:00
2019-03-12 15:29:44 +01:00
2017-11-30 16:49:05 +01:00
2019-04-18 17:08:33 +02:00
2019-04-18 17:08:33 +02:00
2017-07-15 14:50:42 +02:00
2018-08-13 15:50:01 +02:00
2018-04-17 12:45:26 -04:00
2019-06-25 16:42:28 +02:00
2019-06-26 12:28:31 +02:00
2019-06-26 12:28:31 +02:00
2019-03-07 12:01:09 +01:00
2019-01-29 19:16:19 -05:00
2019-06-25 17:11:56 +02:00
2019-06-25 17:11:56 +02:00
2018-05-25 09:32:37 -04:00
2018-12-17 14:43:33 +00:00
2018-12-17 14:43:33 +00:00
2019-03-06 11:12:48 -05:00
2019-06-03 17:59:38 +02:00
2018-09-20 13:06:02 -04:00
2018-10-05 15:53:29 +02:00
2019-06-21 12:59:42 +01:00
2017-07-26 15:33:45 +02:00
2019-02-26 11:41:18 +01:00
2018-08-14 15:52:35 +02:00
2019-04-03 14:44:32 +02:00
2018-08-13 15:50:01 +02:00
2019-06-21 12:59:42 +01:00
2019-06-17 15:19:54 +01:00
2018-06-26 11:22:07 +01:00
2018-08-13 14:19:41 -04:00
2017-04-04 16:36:15 +02:00
2019-04-15 20:03:55 -04:00
2019-04-16 13:11:08 -04:00
2019-04-16 13:11:08 -04:00
2019-04-15 20:03:55 -04:00
2018-02-19 13:15:00 -05:00
2018-05-13 13:38:31 +04:00
2018-02-22 13:52:45 +01:00
2019-02-24 13:20:51 +04:00
2019-02-24 13:20:51 +04:00
2018-08-15 10:15:29 +02:00
2018-09-20 10:16:39 +02:00
2019-05-17 16:01:11 +02:00
2019-06-20 00:22:39 +02:00
2019-02-11 17:40:44 -05:00
2019-06-20 00:22:38 +02:00
2018-12-13 16:08:38 +00:00
2018-09-20 10:16:39 +02:00
2019-04-10 12:26:32 +02:00
2017-04-11 13:23:01 +02:00
2018-12-13 16:08:38 +00:00
2018-08-15 10:15:29 +02:00
2019-04-16 13:46:17 +02:00
2019-04-11 12:47:23 -04:00
2018-09-20 10:16:39 +02:00
2018-07-27 15:44:38 +02:00
2019-02-11 17:40:44 -05:00
2019-03-14 10:05:25 +01:00
2018-12-11 15:03:08 -05:00
2018-09-20 10:16:39 +02:00
2019-07-09 10:27:19 +02:00
2019-03-08 14:59:20 +01:00
2019-01-31 17:45:41 +01:00
2019-05-23 16:29:48 +01:00
2019-01-31 17:45:41 +01:00
2018-09-20 10:16:39 +02:00
2018-09-20 10:16:39 +02:00
2018-12-13 16:08:38 +00:00
2018-12-13 16:08:38 +00:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2019-03-14 10:05:25 +01:00
2018-09-20 10:16:39 +02:00
2019-04-10 12:26:32 +02:00
2018-12-17 17:52:46 +01:00
2017-09-19 16:04:53 +02:00
2018-09-20 10:16:39 +02:00
2018-08-13 15:50:01 +02:00
2019-05-06 18:05:17 -05:00
2019-06-07 16:18:45 +02:00
2018-12-13 16:08:38 +00:00
2019-04-20 07:48:42 +02:00
2018-06-19 14:01:14 +02:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2018-08-13 15:50:01 +02:00
2019-06-03 18:07:16 +02:00
2019-07-08 16:10:22 -05:00
2019-04-10 13:58:30 +02:00
2019-06-20 13:47:41 +02:00
2019-03-14 10:05:25 +01:00
2018-12-14 10:47:13 +00:00
2019-06-20 00:22:39 +02:00
2019-06-20 13:47:41 +02:00
2019-06-19 17:12:34 +02:00
2019-07-05 18:19:19 +01:00
2019-07-03 08:36:04 +02:00
2019-07-03 08:36:04 +02:00
2019-01-24 18:59:38 -05:00
2019-07-03 10:18:41 +02:00
2019-07-03 10:18:36 +02:00
2019-04-10 12:26:32 +02:00
2018-11-16 13:42:39 +01:00
2018-09-20 10:16:39 +02:00
2018-09-20 10:16:39 +02:00
2018-12-05 10:39:54 +01:00
2018-11-16 13:42:39 +01:00
2018-09-20 10:16:39 +02:00
2018-09-20 10:16:39 +02:00
2018-09-20 10:16:39 +02:00
2018-12-13 16:08:38 +00:00
2019-02-12 08:51:23 -05:00
2019-03-07 12:12:11 +01:00
2019-05-14 15:58:37 +02:00
2019-06-25 17:11:56 +02:00
2019-02-12 08:51:23 -05:00
2019-02-12 08:51:23 -05:00
2019-06-03 17:51:12 +02:00
2019-04-04 09:35:40 -05:00
2017-05-15 12:34:19 +02:00
2019-03-14 10:05:21 +01:00
2019-06-19 17:12:34 +02:00
2019-06-19 17:12:34 +02:00
2018-09-20 10:16:39 +02:00
2019-06-19 17:12:34 +02:00
2019-06-04 20:56:58 +02:00
2019-06-19 17:12:34 +02:00
2019-04-17 08:30:55 +02:00
2019-06-19 17:12:34 +02:00
2018-11-26 16:38:26 -07:00
2019-06-19 17:12:34 +02:00
2018-09-20 10:16:39 +02:00
2019-04-10 12:26:32 +02:00
2017-04-04 17:30:03 +02:00
2017-04-04 17:30:03 +02:00
2018-12-13 16:08:38 +00:00
2019-06-04 09:29:35 +02:00
2019-05-04 23:39:35 +02:00
2018-12-13 16:08:38 +00:00
2018-09-20 10:16:39 +02:00
2019-04-10 09:12:04 +02:00
2018-12-14 10:47:13 +00:00
2018-09-20 10:16:39 +02:00
2018-06-05 14:32:36 +02:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2018-12-17 17:52:46 +01:00
2017-04-04 17:30:03 +02:00
2018-12-18 10:12:09 -05:00
2017-07-26 15:33:45 +02:00
2019-02-03 17:46:29 -05:00
2019-05-07 09:56:17 +02:00
2019-04-10 12:26:32 +02:00
2019-04-10 12:26:32 +02:00
2019-06-19 17:12:34 +02:00
2019-02-01 12:08:37 -05:00
2019-06-19 17:12:34 +02:00
2018-12-05 10:39:54 +01:00
2017-04-27 14:13:19 +02:00
2018-12-14 10:47:13 +00:00
2019-05-04 23:39:35 +02:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2019-04-03 14:44:32 +02:00
2019-04-11 12:47:23 -04:00
2018-12-13 16:08:38 +00:00
2019-02-14 18:03:10 +01:00
2019-04-10 12:26:32 +02:00
2017-11-03 13:24:12 +01:00
2018-12-13 16:08:38 +00:00
2019-06-19 17:12:34 +02:00
2019-04-03 11:31:38 +01:00
2018-12-13 16:08:38 +00:00
2019-06-21 12:59:42 +01:00
2019-07-09 15:01:54 +02:00
2019-06-17 15:19:54 +01:00
2018-12-13 16:08:38 +00:00
2018-12-13 16:08:38 +00:00
2018-12-13 16:08:38 +00:00
2018-12-13 16:08:38 +00:00
2018-12-13 16:08:38 +00:00
2019-04-10 12:26:32 +02:00
2019-04-10 12:26:32 +02:00
2019-04-10 12:26:32 +02:00
2019-06-19 17:12:34 +02:00
2019-04-10 12:26:32 +02:00
2019-06-17 15:19:54 +01:00
2018-04-24 11:02:28 +02:00
2018-09-20 10:16:39 +02:00
2019-06-17 17:47:18 +02:00
2018-12-13 16:08:38 +00:00
2019-04-15 12:47:44 -04:00
2018-12-13 16:08:38 +00:00
2018-12-13 16:08:38 +00:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2019-07-09 10:27:19 +02:00
2019-04-10 12:26:32 +02:00
2017-04-11 14:06:47 +02:00
2017-04-13 10:14:42 +02:00
2019-04-04 09:35:40 -05:00
2018-10-12 09:30:56 -05:00
2019-04-04 09:35:40 -05:00
2019-03-25 09:01:53 -05:00
2019-05-06 18:05:17 -05:00
2019-02-12 08:51:23 -05:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2019-01-23 07:54:58 +01:00
2019-05-07 11:01:14 +02:00
2018-12-13 16:08:38 +00:00
2018-09-20 10:16:38 +02:00
2019-06-12 09:26:25 +02:00
2018-12-13 16:08:38 +00:00
2018-12-13 16:08:38 +00:00
2018-09-20 10:16:39 +02:00
2019-04-15 20:03:55 -04:00
2019-02-12 10:14:53 +01:00
2019-04-16 13:11:08 -04:00
2019-04-16 13:11:08 -04:00
2019-04-15 20:03:55 -04:00