important-librarian-62877
07/29/2020, 1:15 AMaloof-angle-91616
07/29/2020, 1:16 AMimportant-librarian-62877
07/29/2020, 1:16 AMaloof-angle-91616
07/29/2020, 1:17 AMwitty-crayon-22786
07/29/2020, 1:18 AMaloof-angle-91616
07/29/2020, 1:18 AMaloof-angle-91616
07/29/2020, 1:18 AMaloof-angle-91616
07/29/2020, 1:18 AMwitty-crayon-22786
07/29/2020, 1:18 AM--[no-]fast
and --[no-]chroot
witty-crayon-22786
07/29/2020, 1:19 AMimportant-librarian-62877
07/29/2020, 1:20 AMaloof-angle-91616
07/29/2020, 1:20 AMhundreds-father-404
07/29/2020, 1:20 AM--no-fast
, though, which means that tests have more isolation than they did before. It’s likely that that was what impacted this.
--no-fast
means that each test runs in its own invocation. It’s not in parallel per se, but it is isolated. So, you likely had shared state between the tests. You can run with fast = true
on the [test.pytest]
scope to confirm.witty-crayon-22786
07/29/2020, 1:21 AMwitty-crayon-22786
07/29/2020, 1:22 AMimportant-librarian-62877
07/29/2020, 1:23 AMhundreds-father-404
07/29/2020, 1:24 AMso the failures being “transient” is surprising.Yeah, agreed there. Same with
--chroot
. The impact of --chroot
being the default is that you now run in a temporary directory, rather than directly in the build root. This means you can’t access any random files in your build root anymore, unless they are declared via dependencies
.
You either have a file included or you don’t; that failure should be consistent.important-librarian-62877
07/31/2020, 4:00 PMfast = true
flag caused the unit tests to run indefinitely.hundreds-father-404
07/31/2020, 4:02 PMimportant-librarian-62877
07/31/2020, 4:03 PMchroot
option as well?hundreds-father-404
07/31/2020, 4:07 PMimportant-librarian-62877
07/31/2020, 4:20 PMhundreds-father-404
07/31/2020, 4:23 PMhundreds-father-404
07/31/2020, 4:24 PMimportant-librarian-62877
07/31/2020, 4:30 PMasyncio:Task was destroyed but it is pending!
. So, it seems to be some async issue