Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-25 Thread Markus Volk
Am Sa, 25. Mär 2023 um 19:38:56 +0100 schrieb Alexander Kanavin : so if it doesn't regress there, it's fine. core-image-minimal () - Ran 71 tests in 38.845s core-image-minimal - OK - All required tests passed (successes=1, skipped=70, failures=0, errors=0) NOTE: Tasks Summary: Attempted 1159 t

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-25 Thread Alexander Kanavin
On Sat, 25 Mar 2023 at 00:13, Markus Volk wrote: > busybox: > File "/home/flk/poky/meta/lib/oeqa/runtime/cases/ssh.py", line 17, in test_ssh > self.assertEqual(status, 0, msg='SSH Test failed: %s' % output) > AssertionError: 255 != 0 : SSH Test failed: ssh: connect to host > xxx.xxx.xxx.xxx p

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-24 Thread Markus Volk
Am Fr, 24. Mär 2023 um 20:53:22 +0100 schrieb Alexander Kanavin : Do you have something in your local setup that pulls it in? core-image-sato-sdk does not by default add it. True, thanks for the hint. I still had this lines in local.conf because of the glib ptest issue. DISTRO_FEATURES:appen

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-24 Thread Alexander Kanavin
On Fri, 24 Mar 2023 at 18:34, Markus Volk wrote: > RESULTS - ptest.PtestRunnerTest.test_ptestrunner_expectsuccess: FAILED > (8407.07s) This test is executed only if the image includes ptest-runner package, and requires special setup. Do you have something in your local setup that pulls it in? co

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-24 Thread Markus Volk
Am Fr, 24. Mär 2023 um 18:34:13 +0100 schrieb Markus Volk : It fails, but in the same way even without this patch being applied Meanwhile I edited 'core-image-sato-sdk-qemux86-64-20230324174311.qemuboot.conf' and increased qb_mem = -m 2048 Lets see if this helps -=-=-=-=-=-=-=-=-=-=-=- Lin

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-24 Thread Markus Volk
Am Mi, 22. Mär 2023 um 20:11:34 +0100 schrieb Alexander Kanavin : If it does not fail, then submit the patch again with a revised commit message It fails, but in the same way even without this patch being applied. It looks like the tmpfs runs full and from then on the rest of the tests are un

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-23 Thread Richard Purdie
On Thu, 2023-03-23 at 23:30 +0100, Markus Volk wrote: > Am Mi, 22. Mär 2023 um 20:11:34 +0100 schrieb Alexander Kanavin > : > > Then run bitbake -c testimage for each of them. > > > I built all the images but get an error here: > > bitbake -c testimage core-image-sato-sdk > > ERROR: Task do_tes

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-22 Thread Alexander Kanavin
I would suggest that you build core-image-sato-sdk with this change, but with three different options for INIT_MANAGER: INIT_MANAGER = "sysvinit" INIT_MANAGER = "systemd" INIT_MANAGER = "mdev-busybox" Then run bitbake -c testimage for each of them. If it does not fail, then submit the patch again

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-22 Thread Markus Volk
After a turbulent week I finally have some time for the hobby again. However, there is a hardware problem with my build machine. The CPU fan failed and for some reason the warning for it was disabled in the bios. I didn't notice it until the machine just crashed with an overheated CPU while com

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-17 Thread Alexander Kanavin
I think it would help to at least take this through a-full so we have a higher degree of knowledge in what breaks and what doesn’t. I didn’t look at the patch in detail and won’t be able to for a few more days. We definitely need to understand how it affects other init systems, but it is totally d

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-17 Thread Markus Volk
Am Fr, 17. Mär 2023 um 11:53:17 + schrieb Richard Purdie : It would help me if adverse effects are mentioned in commit messages. In this case I can spot it easily enough but I don't always know/spot all the issues. It would be too harsh to say that I don't care about sysvinit. Of course, i

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-17 Thread Richard Purdie
On Fri, 2023-03-17 at 09:18 +0100, Markus Volk wrote: > Am Fr, 17. Mär 2023 um 08:00:37 + schrieb Richard Purdie > : > > This changes the system layout to what systemd wants but what > > happens > > to sysvinit or anything else though? Some systems won't have > > systemd- > > tmpfiles and so on

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-17 Thread Markus Volk
Am Fr, 17. Mär 2023 um 08:00:37 + schrieb Richard Purdie : This changes the system layout to what systemd wants but what happens to sysvinit or anything else though? Some systems won't have systemd- tmpfiles and so on present. The commit message above makes it sound like systemd is the only t

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-17 Thread Richard Purdie
On Fri, 2023-03-17 at 07:02 +0100, Markus Volk wrote: > Currently /tmp is a link to /var/tmp which breaks glib-2.0 ptest > Systemd documentation describes tmpdir usage as follows: > > /tmp/ and /var/tmp/ are two world-writable directories Linux systems provide > for temporary files. The former is

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-17 Thread Alexander Kanavin
This patch on the other hand looks fine, but needs to go through the test matrix. It’s most likely post mickledore material. Alex On Fri 17. Mar 2023 at 7.02, Markus Volk wrote: > Currently /tmp is a link to /var/tmp which breaks glib-2.0 ptest > Systemd documentation describes tmpdir usage as

Re: [oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-16 Thread Markus Volk
sorry, I forgot to mark this one RFC Am Fr, 17. Mär 2023 um 07:02:02 +0100 schrieb Markus Volk : Currently /tmp is a link to /var/tmp which breaks glib-2.0 ptest Systemd documentation describes tmpdir usage as follows: /tmp/ and /var/tmp/ are two world-writable directories Linux systems provi

[oe-core][PATCH] Remove usage of /var/volatile/tmp

2023-03-16 Thread Markus Volk
Currently /tmp is a link to /var/tmp which breaks glib-2.0 ptest Systemd documentation describes tmpdir usage as follows: /tmp/ and /var/tmp/ are two world-writable directories Linux systems provide for temporary files. The former is typically on tmpfs and thus backed by RAM/swap, and flushed out