You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.7 KiB
65 lines
2.7 KiB
* netdev-socket.c
|
|
qtest-i386/netdev-socket fails with:
|
|
```
|
|
stderr:
|
|
qemu-system-i386: -netdev dgram,id=st0,remote.type=inet,remote.host=230.0.0.1,remote.port=1234: can't add socket to multicast group 230.0.0.1: No such device
|
|
Broken pipe
|
|
../tests/qtest/libqtest.c:191: kill_qemu() tried to terminate QEMU process but encountered exit status 1 (expected 0)
|
|
```
|
|
|
|
* vhost-user-test.c
|
|
qtest-x86_64/qos-test fails with a timeout:
|
|
```
|
|
qemu-system-x86_64: Failed to set msg fds.
|
|
qemu-system-x86_64: vhost VQ 0 ring restore failed: -22: Invalid argument (22)
|
|
qemu-system-x86_64: Failed to set msg fds.
|
|
qemu-system-x86_64: vhost VQ 1 ring restore failed: -22: Invalid argument (22)
|
|
**
|
|
ERROR:../tests/qtest/vhost-user-test.c:892:wait_for_rings_started: assertion failed (ctpop64(s->rings) == count): (1 == 2)
|
|
**
|
|
ERROR:../tests/qtest/qos-test.c:191:subprocess_run_one_test: child process (/x86_64/pc/i440FX-pcihost/pci-bus-pc/pci-bus/virtio-net-pci/virtio-net/virtio-net-tests/vhost-user/reconnect/subprocess [6082]) failed unexpectedl
|
|
```
|
|
|
|
--- a/tests/qtest/netdev-socket.c
|
|
+++ b/tests/qtest/netdev-socket.c
|
|
@@ -498,6 +498,10 @@ int main(int argc, char **argv)
|
|
socket_init();
|
|
g_test_init(&argc, &argv, NULL);
|
|
|
|
+ /* XXX: Skip test for now on Gentoo, fails with "No such device" */
|
|
+ g_test_skip("Skipping test known to fail on Gentoo");
|
|
+ return 0;
|
|
+
|
|
if (socket_check_protocol_support(&has_ipv4, &has_ipv6) < 0) {
|
|
g_error("socket_check_protocol_support() failed\n");
|
|
}
|
|
--- a/tests/qtest/vhost-user-test.c
|
|
+++ b/tests/qtest/vhost-user-test.c
|
|
@@ -243,7 +243,7 @@ static bool wait_for_fds(TestServer *s)
|
|
|
|
g_mutex_lock(&s->data_mutex);
|
|
|
|
- end_time = g_get_monotonic_time() + 5 * G_TIME_SPAN_SECOND;
|
|
+ end_time = g_get_monotonic_time() + 30 * G_TIME_SPAN_SECOND;
|
|
while (!s->fds_num) {
|
|
if (!g_cond_wait_until(&s->data_cond, &s->data_mutex, end_time)) {
|
|
/* timeout has passed */
|
|
@@ -672,7 +672,7 @@ static void wait_for_log_fd(TestServer *s)
|
|
gint64 end_time;
|
|
|
|
g_mutex_lock(&s->data_mutex);
|
|
- end_time = g_get_monotonic_time() + 5 * G_TIME_SPAN_SECOND;
|
|
+ end_time = g_get_monotonic_time() + 30 * G_TIME_SPAN_SECOND;
|
|
while (s->log_fd == -1) {
|
|
if (!g_cond_wait_until(&s->data_cond, &s->data_mutex, end_time)) {
|
|
/* timeout has passed */
|
|
@@ -885,7 +885,7 @@ static void wait_for_rings_started(TestServer *s, size_t count)
|
|
gint64 end_time;
|
|
|
|
g_mutex_lock(&s->data_mutex);
|
|
- end_time = g_get_monotonic_time() + 5 * G_TIME_SPAN_SECOND;
|
|
+ end_time = g_get_monotonic_time() + 30 * G_TIME_SPAN_SECOND;
|
|
while (ctpop64(s->rings) != count) {
|
|
if (!g_cond_wait_until(&s->data_cond, &s->data_mutex, end_time)) {
|
|
/* timeout has passed */
|