alcotest
alcotest copied to clipboard
Tips for running tests from CI?
I'm running tests in CI and I want
- the job to fail if any tests fail
- the logs of the failing test (and probably the previous tests) to be easily accessible
I'm currently running my_test_binary which gives me a nice summary view. If a test fails then so does the CI job but I don't get any logs.
I tried running test_binary -ev and I do see logs but I can't tell which test generated which logs. Unfortunately many of my tests look the same :( The failures are in the output files but I can't get those because the build failed (I think its the case that a failed build means no artefact upload, at least on appveyor)
I might wrap my tests in a shell script which runs each test case separately with -ev, to keep the logs apart. I think a proper fix would be to explicitly log the name of a test when it starts (and probably when it finishes).
WDYT?
test_binary -e should start by displaying the test name before the corresponding test logs (only for failed tests).
I don't see how your solution would help to collect logs, if your problem is that appveyor doesn't upload logs on failed build :-)
I think a proper fix would be to explicitly log the name of a test when it starts (and probably when it finishes).
Do you have an example where this is not the case? It is supposed to work like that (at least print something at the beginning of the test)
I think appveyor will show the main log (stdout, stderr) but it won't upload artefacts on failure -- so if the logs are in artefacts (_build/_tests) it's not much use :/
From this slightly random vpnkit commit: https://github.com/djs55/vpnkit/commit/0fcd1e9bddb33ca607ec54fc57420138bb14d85f
Non-verbose output:
./_build/default/src/hostnet_test/main_uwt.exe
SOMAXCONN = 128
Testing Hostnet.
[OK] hosts Windows-style 0
[OK] hosts Mac-style 0
[OK] Ports: 1 port forward 0 Perform an HTTP GET through a port forward.
[OK] Ports: 10 port forwards 0 Perform 10 HTTP GETs through a port forward.
[OK] DHCP: simple query 0 check that the DHCP server works.
[OK] Host resolver: lookup 0
[OK] Host resolver: builtins 0
...
but then verbose output:
$ ./_build/default/src/hostnet_test/main_uwt.exe -ev
SOMAXCONN = 128
main_uwt.exe: [DEBUG] C ((tag ())
(payload
(Version ((msize 8215) (version TwoThousandU)))))
main_uwt.exe: [DEBUG] S ((tag ())
(payload
(Version ((msize 8215) (version TwoThousandU)))))
main_uwt.exe: [INFO] Using protocol TwoThousandU msize 8215
main_uwt.exe: [DEBUG] C ((tag (1))
(payload
(Attach
((fid 0) (afid -1) (uname nobody) (aname /)
(n_uname ())))))
main_uwt.exe: [DEBUG] S ((tag (1))
(payload
(Attach
((qid ((flags (Directory)) (version 0) (id 0)))))))
main_uwt.exe: [DEBUG] C ((tag (1))
(payload (Walk ((fid 0) (newfid 1) (wnames ())))))
main_uwt.exe: [DEBUG] S ((tag (1)) (payload (Walk ((wqids ())))))
main_uwt.exe: [DEBUG] C ((tag (1))
(payload
(Create
((fid 1)
(name tcp:127.0.0.1:0:tcp:127.0.0.1:60194)
(perm
((owner (Read Write Execute))
(group (Read Execute)) (other (Read Execute))
(is_directory true) (append_only false)
(exclusive false) (is_mount false)
(is_auth false) (temporary false)
(is_device false) (is_symlink false)
(is_hardlink false) (is_namedpipe false)
(is_socket false) (is_setuid false)
(is_setgid false) (is_any false)))
(mode
((io Read) (truncate false) (rclose false)
(append false)))
(extension ())))))
main_uwt.exe: [DEBUG] S ((tag (1))
(payload
(Create
((qid ((flags (Directory)) (version 0) (id 4)))
(iounit 512)))))
main_uwt.exe: [DEBUG] C ((tag (1)) (payload (Clunk ((fid 1)))))
main_uwt.exe: [DEBUG] S ((tag (1)) (payload (Clunk ())))
main_uwt.exe: [DEBUG] C ((tag (1))
(payload
(Walk
((fid 0) (newfid 1)
(wnames
(tcp:127.0.0.1:0:tcp:127.0.0.1:60194 ctl))))))
main_uwt.exe: [DEBUG] S ((tag (1))
(payload
(Walk
((wqids
(((flags (Directory)) (version 0) (id 6))
((flags ()) (version 0) (id 7))))))))
main_uwt.exe: [DEBUG] C ((tag (1))
(payload
(Open
((fid 1)
(mode
((io ReadWrite) (truncate false) (rclose false)
(append false)))))))
main_uwt.exe: [DEBUG] S ((tag (1))
(payload
(Open
((qid ((flags ()) (version 0) (id 8)))
(iounit 32768)))))
main_uwt.exe: [DEBUG] C tag 1 Write(fid: 1, offset: 0, len(data): 35)
main_uwt.exe: [DEBUG] S ((tag (1)) (payload (Write ((count 35)))))
main_uwt.exe: [DEBUG] C ((tag (1))
(payload (Read ((fid 1) (offset 0) (count 1024)))))
main_uwt.exe: [DEBUG] S tag 1 Read(len(data): 43)
main_uwt.exe: [DEBUG] C ((tag (1)) (payload (Clunk ((fid 1)))))
main_uwt.exe: [DEBUG] S ((tag (1)) (payload (Clunk ())))
main_uwt.exe: [DEBUG] C ((tag (1)) (payload (Flush ((oldtag ())))))
main_uwt.exe: [DEBUG] S ((tag (1)) (payload (Flush ())))
main_uwt.exe: [DEBUG] C ((tag ())
(payload
(Version ((msize 8215) (version TwoThousandU)))))
main_uwt.exe: [DEBUG] S ((tag ())
(payload
(Version ((msize 8215) (version TwoThousandU)))))
main_uwt.exe: [INFO] Using protocol TwoThousandU msize 8215
main_uwt.exe: [DEBUG] C ((tag (1))
(payload
(Attach
((fid 0) (afid -1) (uname nobody) (aname /)
(n_uname ())))))
main_uwt.exe: [DEBUG] S ((tag (1))
(payload
(Attach
((qid ((flags (Directory)) (version 0) (id 0)))))))
main_uwt.exe: [DEBUG] C ((tag (1))
(payload (Walk ((fid 0) (newfid 1) (wnames ())))))
main_uwt.exe: [DEBUG] S ((tag (1)) (payload (Walk ((wqids ())))))
main_uwt.exe: [DEBUG] C ((tag (1))
(payload
(Create
((fid 1)
(name tcp:127.0.0.1:0:tcp:127.0.0.1:60200)
(perm
((owner (Read Write Execute))
(group (Read Execute)) (other (Read Execute))
(is_directory true) (append_only false)
(exclusive false) (is_mount false)
(is_auth false) (temporary false)
(is_device false) (is_symlink false)
(is_hardlink false) (is_namedpipe false)
(is_socket false) (is_setuid false)
(is_setgid false) (is_any false)))
(mode
((io Read) (truncate false) (rclose false)
(append false)))
(extension ())))))
main_uwt.exe: [DEBUG] S ((tag (1))
(payload
(Create
((qid ((flags (Directory)) (version 0) (id 10)))
(iounit 512)))))
main_uwt.exe: [DEBUG] C ((tag (1)) (payload (Clunk ((fid 1)))))
main_uwt.exe: [DEBUG] S ((tag (1)) (payload (Clunk ())))
main_uwt.exe: [DEBUG] C ((tag (1))
(payload
(Walk
((fid 0) (newfid 1)
(wnames
(tcp:127.0.0.1:0:tcp:127.0.0.1:60200 ctl))))))
main_uwt.exe: [DEBUG] S ((tag (1))
(payload
(Walk
((wqids
(((flags (Directory)) (version 0) (id 12))
((flags ()) (version 0) (id 13))))))))
main_uwt.exe: [DEBUG] C ((tag (1))
(payload
(Open
((fid 1)
(mode
((io ReadWrite) (truncate false) (rclose false)
(append false)))))))
main_uwt.exe: [DEBUG] S ((tag (1))
(payload
(Open
((qid ((flags ()) (version 0) (id 14)))
(iounit 32768)))))
main_uwt.exe: [DEBUG] C tag 1 Write(fid: 1, offset: 0, len(data): 35)
main_uwt.exe: [DEBUG] S ((tag (1)) (payload (Write ((count 35)))))
main_uwt.exe: [DEBUG] C ((tag (1))
(payload (Read ((fid 1) (offset 0) (count 1024)))))
main_uwt.exe: [DEBUG] S tag 1 Read(len(data): 43)
main_uwt.exe: [DEBUG] S error reading: Caught EOF on underlying FLOW
main_uwt.exe: [DEBUG] Disconnecting client
main_uwt.exe: [DEBUG] C ((tag (1)) (payload (Clunk ((fid 1)))))
main_uwt.exe: [DEBUG] S ((tag (1)) (payload (Clunk ())))
main_uwt.exe: [DEBUG] C ((tag (1)) (payload (Flush ((oldtag ())))))
main_uwt.exe: [DEBUG] S ((tag (1)) (payload (Flush ())))
main_uwt.exe: [INFO] Made a loopback connection
main_uwt.exe: [INFO] PPP.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] Client.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] PPP.negotiate: received Ethernet d1d9cd61-d0dc-4715-9bb3-4c11da7ad7a5
main_uwt.exe: [INFO] PPP.negotiate: sending { mtu = 1500; max_packet_size = 1550; client_macaddr = c0:ff:ee:c0:ff:ee }
main_uwt.exe: [INFO] Client mac: c0:ff:ee:c0:ff:ee server mac: f6:16:36:bc:f9:c6
main_uwt.exe: [INFO] TCP/IP ready
main_uwt.exe: [INFO] stack connected
main_uwt.exe: [INFO] Initialising client TCP/IP stack
main_uwt.exe: [INFO] BOOTREQUEST from c0:ff:ee:c0:ff:ee
main_uwt.exe: [INFO] BOOTREPLY to c0:ff:ee:c0:ff:ee yiddr 192.168.65.2 siddr 192.168.65.1 dns 192.168.65.1, 192.168.65.3, 192.168.65.4, 192.168.65.5, 192.168.65.6, 192.168.65.7, 192.168.65.8, 192.168.65.9, 192.168.65.10 router 192.168.65.1 domain unknown
main_uwt.exe: [INFO] Got an IP: 192.168.65.2
main_uwt.exe: [INFO] Add(3): DNS configuration changed to: use host resolver
main_uwt.exe: [INFO] DNS names will map to local IP 127.0.0.1
main_uwt.exe: [INFO] Will use the host's DNS resolver
main_uwt.exe: [INFO] Made a loopback connection
main_uwt.exe: [INFO] PPP.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] Client.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] PPP.negotiate: received Ethernet d1d9cd61-d0dc-4715-9bb3-4c11da7ad7a5
main_uwt.exe: [INFO] PPP.negotiate: sending { mtu = 1500; max_packet_size = 1550; client_macaddr = c0:ff:ee:c0:ff:ee }
main_uwt.exe: [INFO] Client mac: c0:ff:ee:c0:ff:ee server mac: f6:16:36:bc:f9:c6
main_uwt.exe: [INFO] TCP/IP ready
main_uwt.exe: [INFO] stack connected
main_uwt.exe: [INFO] Initialising client TCP/IP stack
main_uwt.exe: [INFO] DNS lookup www.google.com A: www.google.com <IN|175> [A (216.58.206.68)]
main_uwt.exe: [INFO] www.google.com has IPs: 216.58.206.68
main_uwt.exe: [INFO] Remove(3): DNS configuration changed to: use upstream DNS servers nameserver 8.8.8.8#53
timeout 2000
order 0
nameserver 8.8.4.4#53
timeout 2000
order 0
main_uwt.exe: [INFO] Add(3): DNS configuration changed to: use host resolver
main_uwt.exe: [INFO] DNS names experimental.host.name.localhost will map to local IP 127.0.0.1
main_uwt.exe: [INFO] Will use the host's DNS resolver
main_uwt.exe: [INFO] Made a loopback connection
main_uwt.exe: [INFO] PPP.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] Client.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] PPP.negotiate: received Ethernet d1d9cd61-d0dc-4715-9bb3-4c11da7ad7a5
main_uwt.exe: [INFO] PPP.negotiate: sending { mtu = 1500; max_packet_size = 1550; client_macaddr = c0:ff:ee:c0:ff:ee }
main_uwt.exe: [INFO] Client mac: c0:ff:ee:c0:ff:ee server mac: f6:16:36:bc:f9:c6
main_uwt.exe: [INFO] TCP/IP ready
main_uwt.exe: [INFO] stack connected
main_uwt.exe: [INFO] Initialising client TCP/IP stack
main_uwt.exe: [INFO] DNS: experimental.host.name.localhost is a builtin: 127.0.0.1
main_uwt.exe: [INFO] experimental.host.name.localhost has IPs: 127.0.0.1
main_uwt.exe: [INFO] Remove(3): DNS configuration changed to: use upstream DNS servers nameserver 8.8.8.8#53
timeout 2000
order 0
nameserver 8.8.4.4#53
timeout 2000
order 0
main_uwt.exe: [INFO] Add(3): DNS configuration changed to: use host resolver
main_uwt.exe: [INFO] DNS names will map to local IP 127.0.0.1
main_uwt.exe: [INFO] Will use the host's DNS resolver
main_uwt.exe: [INFO] Made a loopback connection
main_uwt.exe: [INFO] PPP.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] Client.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] PPP.negotiate: received Ethernet d1d9cd61-d0dc-4715-9bb3-4c11da7ad7a5
main_uwt.exe: [INFO] PPP.negotiate: sending { mtu = 1500; max_packet_size = 1550; client_macaddr = c0:ff:ee:c0:ff:ee }
main_uwt.exe: [INFO] Client mac: c0:ff:ee:c0:ff:ee server mac: f6:16:36:bc:f9:c6
main_uwt.exe: [INFO] TCP/IP ready
main_uwt.exe: [INFO] stack connected
main_uwt.exe: [INFO] Initialising client TCP/IP stack
main_uwt.exe: [INFO] DNS lookup vpnkit.is.cool.yes.really A: NoSuchRecord
main_uwt.exe: [INFO] DNS: vpnkit.is.cool.yes.really is 127.0.0.1 in in /etc/hosts
main_uwt.exe: [INFO] Name vpnkit.is.cool.yes.really has IPs: 127.0.0.1
main_uwt.exe: [INFO] Remove(3): DNS configuration changed to: use upstream DNS servers nameserver 8.8.8.8#53
timeout 2000
order 0
nameserver 8.8.4.4#53
timeout 2000
order 0
main_uwt.exe: [INFO] Add(3): DNS configuration changed to: use host resolver
main_uwt.exe: [INFO] DNS names will map to local IP 127.0.0.1
main_uwt.exe: [INFO] Will use the host's DNS resolver
main_uwt.exe: [INFO] Made a loopback connection
main_uwt.exe: [INFO] PPP.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] Client.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] PPP.negotiate: received Ethernet d1d9cd61-d0dc-4715-9bb3-4c11da7ad7a5
main_uwt.exe: [INFO] PPP.negotiate: sending { mtu = 1500; max_packet_size = 1550; client_macaddr = c0:ff:ee:c0:ff:ee }
main_uwt.exe: [INFO] Client mac: c0:ff:ee:c0:ff:ee server mac: f6:16:36:bc:f9:c6
main_uwt.exe: [INFO] TCP/IP ready
main_uwt.exe: [INFO] stack connected
main_uwt.exe: [INFO] Initialising client TCP/IP stack
main_uwt.exe: [INFO] Failed to lookup localhost.local: this is good
main_uwt.exe: [INFO] Failed to lookup localhost.local: this is good
main_uwt.exe: [INFO] Failed to lookup localhost.local: this is good
main_uwt.exe: [INFO] Remove(3): DNS configuration changed to: use upstream DNS servers nameserver 8.8.8.8#53
timeout 2000
order 0
nameserver 8.8.4.4#53
timeout 2000
order 0
main_uwt.exe: [INFO] DNS names will map to local IP 127.0.0.1
main_uwt.exe: [INFO] 2 upstream DNS servers are configured
main_uwt.exe: [INFO] Made a loopback connection
main_uwt.exe: [INFO] PPP.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] Client.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] PPP.negotiate: received Ethernet d1d9cd61-d0dc-4715-9bb3-4c11da7ad7a5
main_uwt.exe: [INFO] PPP.negotiate: sending { mtu = 1500; max_packet_size = 1550; client_macaddr = c0:ff:ee:c0:ff:ee }
main_uwt.exe: [INFO] Client mac: c0:ff:ee:c0:ff:ee server mac: f6:16:36:bc:f9:c6
main_uwt.exe: [INFO] TCP/IP ready
main_uwt.exe: [INFO] stack connected
main_uwt.exe: [INFO] Initialising client TCP/IP stack
main_uwt.exe: [INFO] www.google.com has IPs: 216.58.201.36
main_uwt.exe: [INFO] DNS names experimental.host.name.localhost will map to local IP 127.0.0.1
main_uwt.exe: [INFO] 2 upstream DNS servers are configured
main_uwt.exe: [INFO] Made a loopback connection
main_uwt.exe: [INFO] PPP.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] Client.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] PPP.negotiate: received Ethernet d1d9cd61-d0dc-4715-9bb3-4c11da7ad7a5
main_uwt.exe: [INFO] PPP.negotiate: sending { mtu = 1500; max_packet_size = 1550; client_macaddr = c0:ff:ee:c0:ff:ee }
main_uwt.exe: [INFO] Client mac: c0:ff:ee:c0:ff:ee server mac: f6:16:36:bc:f9:c6
main_uwt.exe: [INFO] TCP/IP ready
main_uwt.exe: [INFO] stack connected
main_uwt.exe: [INFO] Initialising client TCP/IP stack
main_uwt.exe: [INFO] DNS: experimental.host.name.localhost is a builtin: 127.0.0.1
main_uwt.exe: [INFO] experimental.host.name.localhost has IPs: 127.0.0.1
main_uwt.exe: [INFO] DNS names will map to local IP 127.0.0.1
main_uwt.exe: [INFO] 2 upstream DNS servers are configured
main_uwt.exe: [INFO] Made a loopback connection
main_uwt.exe: [INFO] PPP.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] Client.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] PPP.negotiate: received Ethernet d1d9cd61-d0dc-4715-9bb3-4c11da7ad7a5
main_uwt.exe: [INFO] PPP.negotiate: sending { mtu = 1500; max_packet_size = 1550; client_macaddr = c0:ff:ee:c0:ff:ee }
main_uwt.exe: [INFO] Client mac: c0:ff:ee:c0:ff:ee server mac: f6:16:36:bc:f9:c6
main_uwt.exe: [INFO] TCP/IP ready
main_uwt.exe: [INFO] stack connected
main_uwt.exe: [INFO] Initialising client TCP/IP stack
main_uwt.exe: [INFO] DNS: vpnkit.is.cool.yes.really is 127.0.0.1 in in /etc/hosts
main_uwt.exe: [INFO] Name vpnkit.is.cool.yes.really has IPs: 127.0.0.1
main_uwt.exe: [INFO] DNS names will map to local IP 127.0.0.1
main_uwt.exe: [INFO] 2 upstream DNS servers are configured
main_uwt.exe: [INFO] Made a loopback connection
main_uwt.exe: [INFO] PPP.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] Client.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] PPP.negotiate: received Ethernet d1d9cd61-d0dc-4715-9bb3-4c11da7ad7a5
main_uwt.exe: [INFO] PPP.negotiate: sending { mtu = 1500; max_packet_size = 1550; client_macaddr = c0:ff:ee:c0:ff:ee }
main_uwt.exe: [INFO] Client mac: c0:ff:ee:c0:ff:ee server mac: f6:16:36:bc:f9:c6
main_uwt.exe: [INFO] TCP/IP ready
main_uwt.exe: [INFO] stack connected
main_uwt.exe: [INFO] Initialising client TCP/IP stack
main_uwt.exe: [INFO] Failed to lookup localhost.local: this is good
main_uwt.exe: [INFO] Failed to lookup localhost.local: this is good
main_uwt.exe: [INFO] Failed to lookup localhost.local: this is good
main_uwt.exe: [INFO] Made a loopback connection
main_uwt.exe: [INFO] PPP.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] Client.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] PPP.negotiate: received Ethernet d1d9cd61-d0dc-4715-9bb3-4c11da7ad7a5
main_uwt.exe: [INFO] PPP.negotiate: sending { mtu = 1500; max_packet_size = 1550; client_macaddr = c0:ff:ee:c0:ff:ee }
main_uwt.exe: [INFO] Client mac: c0:ff:ee:c0:ff:ee server mac: f6:16:36:bc:f9:c6
main_uwt.exe: [INFO] TCP/IP ready
main_uwt.exe: [INFO] stack connected
main_uwt.exe: [INFO] Initialising client TCP/IP stack
main_uwt.exe: [INFO] Connected to www.google.com:80
main_uwt.exe: [INFO] Read 1368 bytes from www.google.com:80
main_uwt.exe: [INFO] HTTP/1.0 404 Not Found
Content-Type: text/html; charset=UTF-8
Referrer-Policy: no-referrer
Content-Length: 1561
Date: Wed, 31 May 2017 15:22:49 GMT
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 404 (Not Found)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_c
main_uwt.exe: [INFO] Read 348 bytes from www.google.com:80
main_uwt.exe: [INFO] olor_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
</style>
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
<p><b>404.</b> <ins>That’s an error.</ins>
<p>The requested URL <code>/</code> was not found on this server. <ins>That’s all we know.</ins>
main_uwt.exe: [INFO] Response had 1716 total bytes
main_uwt.exe: [INFO] Made a loopback connection
main_uwt.exe: [INFO] PPP.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] Client.negotiate: received { magic = VMN3T; version = 1; commit = 0123456789012345678901234567890123456789 }
main_uwt.exe: [INFO] PPP.negotiate: received Ethernet d1d9cd61-d0dc-4715-9bb3-4c11da7ad7a5
main_uwt.exe: [INFO] PPP.negotiate: sending { mtu = 1500; max_packet_size = 1550; client_macaddr = c0:ff:ee:c0:ff:ee }
main_uwt.exe: [INFO] Client mac: c0:ff:ee:c0:ff:ee server mac: f6:16:36:bc:f9:c6
main_uwt.exe: [INFO] TCP/IP ready
main_uwt.exe: [INFO] stack connected
main_uwt.exe: [INFO] Initialising client TCP/IP stack
main_uwt.exe: [WARNING] exceeded maximum number of forwarded connections (0)
...
-- after a while it will print a list of [OK]s, but it's not interleaved with the test logs. Perhaps alcotest isn't flushing its output and its being buffered?
Maybe you have asynchronous process running somehow and this got intertwined between test cases?
#94 adds a new alcotest-lwt package to properly wrap asynchronous process using lwt. But I am not sure what needs to be done for uwt...