Re: [OE-core] [PATCH] selftest/tinfoil: fix a race condition

2020-02-29 Thread Alexander Kanavin
On Sat, 29 Feb 2020 at 22:39, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > I'm not sure its this simple unfortunately. > > The big question is whether injected changes from the first "session" > should persist into the second "session" or whether things should be > reset to a cons

Re: [OE-core] [PATCH] selftest/tinfoil: fix a race condition

2020-02-29 Thread Richard Purdie
On Sat, 2020-02-29 at 20:47 +0100, Alexander Kanavin wrote: > Both test_parse_recipe_initial_datastore and the preceding test > operate on the same recipe, and both change recipe metadata and re- > parse > it. In some situations bitbake backend from the first test is > catching the change done by t

[OE-core] [PATCH] selftest/tinfoil: fix a race condition

2020-02-29 Thread Alexander Kanavin
Both test_parse_recipe_initial_datastore and the preceding test operate on the same recipe, and both change recipe metadata and re-parse it. In some situations bitbake backend from the first test is catching the change done by the second test and interprets it as non-deterministic metadata (not sur