Monday, 2023-03-13

*** azcraft <azcraft!~AzCraft@195.214.253.121> has quit IRC (Remote host closed the connection)00:04
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 246 seconds)00:16
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto00:17
*** vquicksilver <vquicksilver!~nobody@user/vquicksilver> has quit IRC (Ping timeout: 246 seconds)00:46
*** Amynka <Amynka!~amy@gentoo/developer/amynka> has quit IRC (Ping timeout: 246 seconds)00:47
*** Amynka <Amynka!~amy@gentoo/developer/amynka> has joined #yocto00:48
*** sakoman <sakoman!~steve@dhcp-72-253-4-112.hawaiiantel.net> has quit IRC (Quit: Leaving.)00:58
*** vquicksilver <vquicksilver!~nobody@user/vquicksilver> has joined #yocto00:59
*** kevinEathan <kevinEathan!~kevinEath@2600:6c44:74f0:7270:c562:c758:1cbc:40d5> has quit IRC (Ping timeout: 246 seconds)01:13
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 246 seconds)01:20
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto01:21
*** davidinux <davidinux!~davidinux@194.147.59.179> has quit IRC (Ping timeout: 250 seconds)01:29
*** otavio <otavio!~otavio@200-203-24-19.paemt700.dsl.brasiltelecom.net.br> has quit IRC (Remote host closed the connection)01:41
*** camus <camus!~Instantbi@116.236.93.172> has joined #yocto01:50
*** davidinux <davidinux!~davidinux@194.147.59.184> has joined #yocto02:08
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 246 seconds)02:23
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto02:23
*** camus <camus!~Instantbi@116.236.93.172> has quit IRC (Quit: camus)02:24
*** camus <camus!~Instantbi@116.236.93.172> has joined #yocto02:25
*** davidinux <davidinux!~davidinux@194.147.59.184> has quit IRC (Ping timeout: 250 seconds)02:25
*** sakoman <sakoman!~steve@dhcp-72-253-4-112.hawaiiantel.net> has joined #yocto02:37
*** GNUmoon2 <GNUmoon2!~GNUmoon@gateway/tor-sasl/gnumoon> has quit IRC (Ping timeout: 255 seconds)02:38
*** GNUmoon2 <GNUmoon2!~GNUmoon@gateway/tor-sasl/gnumoon> has joined #yocto02:40
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)02:55
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has joined #yocto02:55
*** mario-goulart <mario-goulart!~user@chicken/developer/mario-goulart> has quit IRC (Ping timeout: 264 seconds)03:09
*** Thorn <Thorn!~Thorn@user/thorn> has joined #yocto03:12
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 276 seconds)03:27
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto03:28
*** jclsn <jclsn!~jclsn@2a04:4540:650e:b100:2ce:39ff:fecf:efcd> has quit IRC (Ping timeout: 250 seconds)03:46
*** jclsn <jclsn!~jclsn@2a04:4540:6539:700:2ce:39ff:fecf:efcd> has joined #yocto03:48
*** yssh <yssh!~yssh@2401:4900:1b17:96c5:2094:e21c:c45c:e57a> has joined #yocto04:15
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 276 seconds)04:32
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto04:32
*** sakoman <sakoman!~steve@dhcp-72-253-4-112.hawaiiantel.net> has quit IRC (Quit: Leaving.)04:48
*** seninha <seninha!~seninha@user/seninha> has quit IRC (Quit: Leaving)04:49
*** kevinEathan <kevinEathan!~kevinEath@2600:6c44:74f0:7270:9491:8429:9aba:1b6d> has joined #yocto04:57
*** AKN <AKN!~AKN@49.205.87.101> has joined #yocto05:03
*** Thorn <Thorn!~Thorn@user/thorn> has quit IRC (Ping timeout: 265 seconds)05:15
*** kevinEathan <kevinEathan!~kevinEath@2600:6c44:74f0:7270:9491:8429:9aba:1b6d> has quit IRC (Quit: Leaving)05:19
*** kevinrowland <kevinrowland!~kevinrowl@104.129.199.81> has quit IRC (Ping timeout: 260 seconds)05:25
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 276 seconds)05:36
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto05:36
*** goliath <goliath!~goliath@user/goliath> has joined #yocto06:17
*** mario-goulart <mario-goulart!~user@chicken/developer/mario-goulart> has joined #yocto06:32
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 246 seconds)06:39
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto06:39
*** Thorn <Thorn!~Thorn@user/thorn> has joined #yocto06:46
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV)06:49
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has joined #yocto06:55
JaMahmm why does oe-selftest -r eSDK.oeSDKExtSelfTest.test_image_generation_binary_feeds seemingly test every possible selftest including 2023-03-13 06:16:05,962 - oe-selftest - INFO - test_yocto_source_mirror (buildoptions.SourceMirroring.test_yocto_source_mirror)07:06
JaMa2023-03-12 13:42:11,694 - oe-selftest - INFO - RESULTS - eSDK.oeSDKExtSelfTest.test_image_generation_binary_feeds: PASSED (97.08s)07:21
JaMa2023-03-12 13:42:11,694 - oe-selftest - INFO - RESULTS - eSDK.oeSDKExtSelfTest.test_install_libraries_headers: PASSED (42.74s)07:21
JaMaweird it works on autobuilder (use last link from RP https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/4948/steps/14/logs/stdio) but here it ended in ERROR state after many hours07:22
JaMawhen I was running selftest with -a and now I've killed it when it was running every test when selected only this one with -r, what's going on? :/07:22
JaMaoverwrote the console log from that :) is there something like cooker log? I was saving the output with tee -> yes there is 14M     build/tmp/log/oe-selftest-results-20230312020444.log07:26
JaMain the complete selftest with -a both failed due to 2023-03-12 12:08:41,286 - oe-selftest - INFO - ERROR: setUpClass (eSDK.oeSDKExtSelfTest) [ (subunit.RemotedTestCase)07:30
JaMaERROR: Task (virtual:native:/OE/build/poky/build-st-537178/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/selftest-esdk-s_oamu60/layers/poky/meta/recipes-support/attr/attr_2.5.1.bb:do_fetch) failed with exit code 'setscene ignore_tasks'07:30
JaMaI'll check why these 2 tests don't work with -r later (after finishing fixing other tests which failed in complete run and can be started individually with -r)07:30
*** goliath <goliath!~goliath@user/goliath> has joined #yocto07:38
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 252 seconds)07:43
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto07:43
*** mckoan|away is now known as mckoan07:45
mckoangood morning07:45
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto07:47
*** rfuentess <rfuentess!~rfuentess@static-5-51-117-151.ftth.abo.bbox.fr> has joined #yocto07:56
*** davidinux <davidinux!~davidinux@194.147.59.182> has joined #yocto07:58
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has quit IRC (Ping timeout: 265 seconds)08:12
*** Ad0 <Ad0!~Ad0@93.124.245.194> has joined #yocto08:16
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)08:22
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has joined #yocto08:23
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 250 seconds)08:23
*** nemik <nemik!~nemik@76.74.126.42> has joined #yocto08:24
JaMaI had only one coffee, but does the else: work correctly in bluelightning's commit https://git.openembedded.org/openembedded-core/commit/?id=2258345e19efff7717fe19a5026ec55f1b6f90b6 I wanted to update it to respect /tmp/qemu-tap-locks/tap0.skip as well (and maybe use something similar in other tests which depend on tap usability)08:24
*** nemik <nemik!~nemik@76.74.126.42> has quit IRC (Ping timeout: 252 seconds)08:28
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto08:29
*** thomasd13 <thomasd13!~thomas@DSL01.212.114.255.148.ip-pool.NEFkom.net> has joined #yocto08:40
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 250 seconds)08:48
*** frieder <frieder!~frieder@i4DF677E2.static.tripleplugandplay.com> has joined #yocto08:48
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto08:48
*** ptsneves <ptsneves!~Thunderbi@84.47.155.82> has joined #yocto08:56
RPJaMa: the autobuilder does filter some of the tests it runs, e.g. the source mirror and reproducibility ones are run separately iirc. I don't remember how the esdk tests work though08:57
*** mvlad <mvlad!~mvlad@2a02:2f08:4c03:f700:7656:3cff:fe3f:7ce9> has joined #yocto09:00
JaMathey themselves look very simple, this one just calls devtool build <image>, but somehow oe-selftest triggered every test instead, will debug it later (just said that the builder was re-testing everything again whole night instead of just the tests which were failing)09:02
JaMasaid/sad09:02
JaMarunqemu script looks like another worm hole wrt IMAGE_LINK_NAME09:02
RPJaMa: it is weird it would try and run them all. I'll try and get to the bottom of that weird tinfoil issue09:09
JaMashould I send my patches for various selftest issues for mickledore (without changing the naming of deploy artifacts - just unblocking someone to change the default and still use selftest)?09:14
*** invalidopcode1 <invalidopcode1!~invalidop@cpe-172-90-200-106.socal.res.rr.com> has quit IRC (Remote host closed the connection)09:15
*** invalidopcode1 <invalidopcode1!~invalidop@cpe-172-90-200-106.socal.res.rr.com> has joined #yocto09:15
*** Schlumpf <Schlumpf!~Schlumpf@62.157.232.203> has joined #yocto09:21
*** AKN <AKN!~AKN@49.205.87.101> has quit IRC (Ping timeout: 276 seconds)09:24
*** seninha <seninha!~seninha@user/seninha> has joined #yocto09:35
*** azcraft <azcraft!~AzCraft@195.214.253.121> has joined #yocto09:39
RPJaMa: I did have some questions/worries about some of them I need to look further into but no harm in sending them and we can take a look09:51
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 246 seconds)09:51
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto09:52
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has joined #yocto09:54
*** frieder <frieder!~frieder@i4DF677E2.static.tripleplugandplay.com> has quit IRC (Read error: Connection reset by peer)10:01
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has joined #yocto10:05
*** yssh <yssh!~yssh@2401:4900:1b17:96c5:2094:e21c:c45c:e57a> has quit IRC (Ping timeout: 260 seconds)10:27
*** Guest82 <Guest82!~Guest82@2a02-a45d-cdb3-1-4ed-2a0c-c85d-ba53.fixed6.kpn.net> has joined #yocto10:27
*** yssh <yssh!~yssh@2401:4900:1b17:96c5:2094:e21c:c45c:e57a> has joined #yocto10:29
Guest82Hello, I'm trying to figure out what it would take to integrate certbot into an image so it can create certificates for me from letsencrypt.org.10:29
Guest82I could not find a package that provides that, would any of you be aware of an existing way to do this?10:29
*** yssh <yssh!~yssh@2401:4900:1b17:96c5:2094:e21c:c45c:e57a> has quit IRC (Ping timeout: 260 seconds)10:34
*** AKN <AKN!~AKN@49.205.87.101> has joined #yocto10:38
*** Thorn <Thorn!~Thorn@user/thorn> has quit IRC (Ping timeout: 264 seconds)10:41
JaMaINFO - FAIL: test_git_mirrors (fetch.Fetch.test_git_mirrors) is easy to explain, but more difficult to fix, it sets (PRE)MIRRORS:forcevariable = "" and expects to trigger fetch failure, but PREMIRRORS:prepend in my local.conf defeats it10:47
JaMaI can switch from prepend to =+ in my local.conf but that will solve it only in my environment10:48
RPJaMa: I've wondered if we should avoid local.conf and only copy in the specific things we know we might need10:48
RPJaMa: there are other variables which cause issues like this10:49
JaMaright, but on the other hand I've PREMIRROR and shared SSTATE_DIR in local.conf explicitly for other tests to re-use them instead of fetching/building locally unless explicitly defined by the test10:49
JaMaso to me it looks more like :forcevariable-for-real-this-time-I-know-what-I-am-doing-in-this-case :)10:50
RPJaMa: We've copy some key things to a variable set in the standard way for test purposes10:52
JaMabut it would still need to accept some other .conf file, right? e.g. if I really want to run selftest with IMAGE_NAME_SUFFIX set to empty, now I would put it in local.conf and assume selftest will respect that10:54
JaMaif it picks only specific key things, then I could modify the defaults in e.g. image-artifacts-names.bbclass before the tests, but that's not the same as testing that people can easily set them in local.conf10:55
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 260 seconds)10:56
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto10:56
*** kalj <kalj!~kalj@h-158-174-207-174.NA.cust.bahnhof.se> has joined #yocto10:58
*** frieder <frieder!~frieder@i4DF677E2.static.tripleplugandplay.com> has joined #yocto10:59
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 246 seconds)11:03
*** starblue <starblue!~juergen@dslb-088-078-102-022.088.078.pools.vodafone-ip.de> has quit IRC (Ping timeout: 250 seconds)11:03
*** nemik <nemik!~nemik@76.74.126.42> has joined #yocto11:03
*** starblue <starblue!~juergen@dslb-088-078-102-022.088.078.pools.vodafone-ip.de> has joined #yocto11:05
*** nemik <nemik!~nemik@76.74.126.42> has quit IRC (Ping timeout: 265 seconds)11:09
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto11:09
*** rob_w <rob_w!~bob@host-82-135-31-73.customer.m-online.net> has quit IRC (Quit: Leaving)11:09
RPJaMa: I've found the "tinfoil" issue. "d.getVar = Mock(return_value=commonlicdir)" is never undone11:19
RPJaMa: the selftests are meant to be self contained so I'm not sure it should depend on local.conf11:19
*** Thorn <Thorn!~Thorn@user/thorn> has joined #yocto11:20
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 265 seconds)11:29
*** nemik <nemik!~nemik@76.74.126.42> has joined #yocto11:29
JaMaRP: hehe, that's nasty 'this is mock value' would be easier to spot and grep for :)11:30
JaMaRP: and where would you define the changes you want selftest to test if not local.conf?11:31
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto11:33
*** nemik <nemik!~nemik@76.74.126.42> has quit IRC (Ping timeout: 246 seconds)11:33
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto11:34
RPJaMa: I'd normally just apply the actual changes and then test11:38
RPJaMa: most of the changes I make/test can't be switched from local.conf11:40
JaMa> then I could modify the defaults in e.g. image-artifacts-names.bbclass before the tests, but that's not the same as testing that people can easily set them in local.conf11:43
JaMabut I agree that this is quite specific corner case and there are bigger issues in selftest to tackle11:43
JaMaIt's just that I regulary don't use selftest, so it's useful for me to document it's current limitations or differences of my system related to that - I'll include it in pull-request (in case it would be useful to someone else as well)11:45
RPJaMa: definitely, I'm just offering my perspective too :)11:47
RPJaMa: my usage probably isn't "standard"11:47
JaMa:)11:48
JaMaI'm using pretty clean poky clone (as I normally don't use poky), but after seeing duplicated sstate-cache in build-st*, I've added SSTATE_DIR in my local.conf and realized that DL_DIR and my default PREMIRROR might be useful as well :)11:49
JaMain 99.9% test cases it was, only fetch.Fetch.test_git_mirrors seems to fail because of that11:50
JaMaalso using -K -B <test-name> when debugging individual tests, instead of reusing the same build-st for many tests (not sure how often this is used/tested on AB)11:55
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 255 seconds)11:59
*** otavio <otavio!~otavio@200.203.24.19> has joined #yocto12:00
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto12:00
*** davidinux <davidinux!~davidinux@194.147.59.182> has quit IRC (Ping timeout: 268 seconds)12:48
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 268 seconds)13:04
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto13:05
JaMaRP: the eSDK.oeSDKExtSelfTest.test_image_generation_binary_feeds doesn't work in -r, because since https://git.openembedded.org/openembedded-core/commit/?id=ad81ea90a815389e45ff302a85151724c71f71c3 it doesn't accept uppercase SDK as hinted at in comment, lowercase packages were explicitly enabled in https://git.openembedded.org/openembedded-core/commit/?id=1ecf48fd286a77078451b67879a44f9c9dc7a89413:14
JaMainterestingly this regex was changed couple times since the initial version in https://git.openembedded.org/openembedded-core/commit/?id=80db3d999ae26d298d9d5418a32b11a4f27af9d5 but comment still says the same13:14
*** thomasd13 <thomasd13!~thomas@DSL01.212.114.255.148.ip-pool.NEFkom.net> has quit IRC (Ping timeout: 246 seconds)13:16
RPJaMa: the oeqa code could do with improvement in places so I'm not entirely surprised. rburton and I have tried over time to make it better13:17
RPJaMa: patches very welcome13:17
*** AKN <AKN!~AKN@49.205.87.101> has quit IRC (Ping timeout: 246 seconds)13:18
JaMaI plan to send one, but really don't know what would be the right regex which would suit everybody as these commits pretty much contradicts each other AFAIS13:19
JaMaSaur[m]: Saur: as author of the initial regex and that comment, do you have some opinion above ^^13:21
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)13:22
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto13:22
JaMawould you accept eSDK module rename to esdk to pass current assumption in the regex?13:24
*** davidinux <davidinux!~davidinux@194.147.59.185> has joined #yocto13:25
JaMathat looks like easiest solution, testing this now13:26
RPJaMa: I was hoping we could just allow upper and lower in it...13:33
*** madisox_ <madisox_!sid453692@id-453692.ilkley.irccloud.com> has quit IRC (Ping timeout: 250 seconds)13:38
*** madisox_ <madisox_!sid453692@id-453692.ilkley.irccloud.com> has joined #yocto13:38
*** invalidopcode1 <invalidopcode1!~invalidop@cpe-172-90-200-106.socal.res.rr.com> has quit IRC (Remote host closed the connection)13:42
*** invalidopcode1 <invalidopcode1!~invalidop@cpe-172-90-200-106.socal.res.rr.com> has joined #yocto13:42
*** AKN <AKN!~AKN@49.205.87.101> has joined #yocto13:45
*** sakoman <sakoman!~steve@dhcp-72-253-4-112.hawaiiantel.net> has joined #yocto13:58
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 255 seconds)14:07
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto14:08
*** astlep5504 <astlep5504!~thelounge@107-136-136-210.lightspeed.nsvltn.sbcglobal.net> has joined #yocto14:08
markaRP, I see the python stdout change busted the bblogging.BitBakeLogging.test_python_exec_func_shell_loggingC and bblogging.BitBakeLogging.test_python_exec_func_shell_loggingD while I am guessing you had it staged14:10
markaI will take a look today, sorry about that, I had not run the whole testsuite as I probably should have14:11
*** rsalveti <rsalveti!uid117878@id-117878.uxbridge.irccloud.com> has joined #yocto14:17
RPmarka: np, I'm happy we're fixing that issue! :)14:19
RPmarka: this is why we have the tests. I suspect there is a test case in that suite you can enable after the fix too14:20
*** kscherer <kscherer!~kscherer@bras-base-otwaon1146w-grc-26-174-95-44-180.dsl.bell.ca> has joined #yocto14:21
markaah, I had not looked to see if there were workarounds in the tests, will definitely review them14:27
markagood distraction while working through mundane paperwork14:27
*** astlep5504 <astlep5504!~thelounge@107-136-136-210.lightspeed.nsvltn.sbcglobal.net> has quit IRC (Remote host closed the connection)14:33
RPmarka: https://git.yoctoproject.org/poky/tree/meta/lib/oeqa/selftest/cases/bblogging.py#n10914:35
*** astlep5504 <astlep5504!~thelounge@107-136-136-210.lightspeed.nsvltn.sbcglobal.net> has joined #yocto14:35
JaMaeSDK rename sent together with loader improvements to prevent starting all tests, now esdk tests relatively quickly fail with "ERROR: Task attr-native.do_fetch attempted to execute unexpectedly" which is separate issue14:36
RPJaMa: I'm still thinking it might be better just to accept uppercase there :/14:40
JaMaRP: uppercase was there before and explicitly removed in 202014:40
RPJaMa: wasn't that to make 4 level modules work though?14:41
Saur[m]JaMa, RP: I haven't been following the discussion here today, but if jump into the middle of it, it definitely looks as if the changes after my initial regexp was added haven't taken my comment into account. However, if the comment is tweaked a little (`do not contain` to `do not start with`), and then that comment is actually true, then the original regexp should be changed to (untested)14:43
Saur[m]`^([^A-Z][^\W.]*(?:\.[^A-Z][^\W.]*))(?:\.([A-Z][^.]*)(?:\.([^.]+))?)?$`14:43
*** AKN <AKN!~AKN@49.205.87.101> has quit IRC (Read error: Connection reset by peer)14:44
Saur[m]Hmm, that can probably be simplified...14:45
markaRP, thanks14:45
JaMaSaur[m]: https://lists.openembedded.org/g/openembedded-core/message/17845114:45
JaMaSaur[m]: it's probably easier to read there than IRC history14:46
JaMa"wasn't that to make 4 level modules" yes, that's what the commit message says, but why did he change it to accept 1-2 and not 3-9 or 0? why not \w. if only the dot was missing?14:48
*** Guest82 <Guest82!~Guest82@2a02-a45d-cdb3-1-4ed-2a0c-c85d-ba53.fixed6.kpn.net> has quit IRC (Quit: Client closed)14:49
RPJaMa: I don't know. I'd love to simplify this if we could though, I doubt it needs to be this complex14:49
JaMaagreed, but renaming 1 file seems safer to me14:50
RPJaMa: until someone creates another "badly" named one14:52
RPevens chance I'll forget and be the one to do it :/14:52
JaMayes, but now it will show proper warning and won't trigger 10+ hour long testing14:53
Saur[m]RP: With `eSDK.py` renamed to `esdk.py`, my original regexp can be restored.14:53
JaMano uppercase assumption was explicitly mentioned there since 2017 and eSDK only abuser14:54
RPRight, but nothing stops someone calling a module that. I really don't like code with assumptions that aren't easily discovered14:54
Saur[m]Are there actually any limitations on what a module can be called, e.g., that it has to start with a lower case letter, or is that just a convention?14:56
JaMaWARNING - module 'eSDK.oeSDKExtSelfTest.test_install_libraries_headers' was skipped from selected modules, because it doesn't match with module name assumptions: package and module names do not contain upper case characters, whereas class names do14:57
JaMaI agree, but ^ makes it relatively easy to discover14:57
RPIt looks like python module naming is supposed to be lowercase14:57
JaMaand honestly there are bigger issues to fix in oeqa14:58
RPIf we're going to fix this, lets at least fix things properly so they can't/don't regress :/14:58
RPCan we make the thing hard error if a module has a name with caps in?14:58
JaMait's hard error if all selected modules are skipped, but I don't mind making it error instead of warning or triggering OEQATestNotFound even when only one of them is skipped15:00
JaMabut the continue from you looked like in some cases you might want to just skip and continue with other tests15:01
RPJaMa: I was more thinking of having it error if any module with caps was found15:01
JaMaI see15:01
RPthat stops my concern about weird errors in corner cases15:01
JaMayeah, I was surprised that all modules are loaded when only some are selected, but you're right we can error out a bit sooner there15:02
JaMawill return to it after finishing debugging the other issues in testimage and runqemu15:03
*** invalidopcode1 <invalidopcode1!~invalidop@cpe-172-90-200-106.socal.res.rr.com> has quit IRC (Remote host closed the connection)15:03
*** invalidopcode1 <invalidopcode1!~invalidop@cpe-172-90-200-106.socal.res.rr.com> has joined #yocto15:03
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 250 seconds)15:11
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto15:12
*** xmn <xmn!~xmn@cpe-72-225-198-203.nyc.res.rr.com> has joined #yocto15:13
JaMaah bitbake -c testimage <image1> <image2> doesn't work when you have just one preconfigured tap device15:17
*** frieder <frieder!~frieder@i4DF677E2.static.tripleplugandplay.com> has quit IRC (Ping timeout: 265 seconds)15:28
*** Amynka <Amynka!~amy@gentoo/developer/amynka> has quit IRC (Ping timeout: 265 seconds)15:29
*** Amynka <Amynka!~amy@gentoo/developer/amynka> has joined #yocto15:29
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)15:33
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto15:33
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV)15:40
*** frieder <frieder!~frieder@i4DF677E2.static.tripleplugandplay.com> has joined #yocto15:47
*** alimon <alimon!~alimon@2806:10b7:3:8098:2c32:cfff:fe8e:de1f> has joined #yocto15:50
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)15:53
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has joined #yocto15:53
*** Poppy <Poppy!~Poppy@81.255.17.35> has joined #yocto15:56
PoppyThere is a simple way to avoid installation conflicts between files ? One recipe create user account and home directory, an other recipe populate files in /home/user/. Yocto complain (file /home/user conflicts between attempted installs of recipe1 and recipe2)16:00
landgrafPoppy: make sure mode (access rights/bits) are the same16:05
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 268 seconds)16:14
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto16:15
*** ptsneves <ptsneves!~Thunderbi@84.47.155.82> has quit IRC (Ping timeout: 276 seconds)16:18
*** kalj <kalj!~kalj@h-158-174-207-174.NA.cust.bahnhof.se> has quit IRC (Ping timeout: 260 seconds)16:20
*** frieder <frieder!~frieder@i4DF677E2.static.tripleplugandplay.com> has quit IRC (Remote host closed the connection)16:25
Poppylandgraf thx for the tips, but same issue with all 755 mode.16:27
*** GNUmoon2 <GNUmoon2!~GNUmoon@gateway/tor-sasl/gnumoon> has quit IRC (Ping timeout: 255 seconds)16:36
*** mkazantsev <mkazantsev!~mkazantse@46.39.228.140> has joined #yocto16:37
*** GNUmoon2 <GNUmoon2!~GNUmoon@gateway/tor-sasl/gnumoon> has joined #yocto16:39
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 256 seconds)16:39
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto16:40
*** rfuentess <rfuentess!~rfuentess@static-5-51-117-151.ftth.abo.bbox.fr> has quit IRC (Remote host closed the connection)16:54
*** mckoan is now known as mckoan|away16:59
*** goliath <goliath!~goliath@user/goliath> has joined #yocto17:02
Saur[m]Poppy: At least with RPM it works for multiple packages to install the same *directory* as long as the mode, owner and group are identical. However, it is a bit unclear from your question if the error is related to the attempted installation of a file or a directory. Contrary to directories, files can only be installed from one package.17:02
PoppySaur[m] Error is about the user home directory: Transaction test error:17:06
Poppy  file /home/user conflicts between attempted installs of user-accounts-conf-1.0-r0 and ssh-userkeys (one of the recipe is used to create the home directory, the other populates public keys inside /home/user/.ssh17:06
PoppySaur[m] Maybe some more info, all home directories must have root:root rights to be used with ftp/sftp17:08
rburtonPoppy: does user-accounts-conf create the user?17:08
Saur[m]Poppy: Are you using RPM, IPK or Debian packages to create the rootfs?17:09
Poppyrburton yes the recipe inherit useradd and set USERADD_PACKAGES / USERADD_PARAM / GROUPADD_PARAM like the example17:09
rburtonPoppy: does ssh-userkeys depend on that recipe so that it also knows about the new user?17:10
Poppyyep  ssh-userkeys contains : DEPENDS = "openssh user-accounts-conf"17:10
Saur[m]It also need to RDEPENDS:${PN} on it so that the user is actually created in runtime. Alternatively, both recipes should create the user themselves if you do not want them to depend on each other.17:12
Saur[m]s/runtime/rootfs/17:12
Saur[m]Assuming you are using RPM, you can use `rpm -qvf tmp/deploy/rpm/<architecture>/<package name>` to list the contents of the two recipes. The lines for the user directory should be identical.17:16
PoppySaur[m] you are probably on the right way : Postinstall scriptlets of ['ssh-userkeys'] have failed. If the intention is to defer them to first boot,17:17
Poppythen please place them into pkg_postinst_ontarget:${PN} (). I have to read the doc a little bit more :)17:17
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 246 seconds)17:18
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto17:18
*** Schlumpf <Schlumpf!~Schlumpf@62.157.232.203> has quit IRC (Quit: Client closed)17:22
*** florian_kc <florian_kc!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Ping timeout: 276 seconds)17:32
*** Poppy <Poppy!~Poppy@81.255.17.35> has quit IRC (Quit: Client closed)17:33
*** florian <florian!~florian@port-217-146-132-69.static.as20676.net> has quit IRC (Quit: Ex-Chat)17:33
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)17:50
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has joined #yocto17:50
*** sgw <sgw!~swold@user/sgw> has quit IRC (Quit: Leaving.)17:59
*** sgw <sgw!~swold@user/sgw> has joined #yocto18:01
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 276 seconds)18:22
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto18:22
*** mkazantsev <mkazantsev!~mkazantse@46.39.228.140> has quit IRC (Quit: Leaving)18:32
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has quit IRC (Quit: The Lounge - https://thelounge.chat)18:35
*** Wouter010067044 <Wouter010067044!~Wouter010@entry.nbg.netvos.nl> has joined #yocto18:35
*** zelgomer <zelgomer!~jake@gateway/tor-sasl/zelgomer> has joined #yocto18:56
zelgomerwhat is the thing that creates those hardlinks from ${IMGDEPLOYDIR} to ${DEPLOY_DIR_IMAGE} ?19:03
*** mvlad <mvlad!~mvlad@2a02:2f08:4c03:f700:7656:3cff:fe3f:7ce9> has quit IRC (Remote host closed the connection)19:07
JaMazelgomer: image.bbclass https://git.openembedded.org/openembedded-core-contrib/commit/?h=jansa/artifacts&id=8ab382604ee6b7e43b255bb19b35a8dd28fed3e5 touches related code19:08
zelgomerJaMa: ah-ha, thanks. is it related to some magic here? 'do_image_complete[sstate-inputdirs] = "${IMGDEPLOYDIR}"' and '...[sstate-outputdirs] = "${DEPLOY_DIR_IMAGE}"' ?19:12
zelgomermy problem is that i want to add a task after do_image_complete to generate an additional file which tars up the rootfs image, initramfs, kernel, and some other boot files, which is used for distribution. i'm trying to decide how to best implement this19:14
JaMalast 2 selftest failures in esdk.oeSDKExtSelfTest seem related to uninative disabled in my poky build (due to my gentoo having newer glibc and gcc than uninative) and then eSDK somehow trying to use universal attr-native.do_deploy_source_epoch and fails to find it causing the class SetUp to fail with ERROR: Task attr-native.do_fetch attempted to execute unexpectedly19:14
*** Haxxa <Haxxa!~Haxxa@202-65-68-206.ip4.superloop.au> has quit IRC (Quit: Haxxa flies away.)19:15
JaMaafter doing the same test in ubuntu-23.04 docker container I found that file-native detects some dependencies from host and createrepo-c-native is broken by it as well, but after fixing that (patch sent in few minutes) it passed both tests19:15
*** Haxxa <Haxxa!~Haxxa@202-65-68-206.ip4.superloop.au> has joined #yocto19:17
JaMazelgomer: you can either implement it as additional IMAGE_FSTYPE or in separate recipe which depends on the image (e.g. we use something similar to build VM appliances in https://github.com/webOS-ports/meta-webos-ports/blob/kirkstone/meta-luneos/recipes-core/images/luneos-emulator-appliance.inc )19:20
JaMazelgomer: IMAGE_FSTYPE are a bit more complicated to understand, but once implemented correctly it's pretty powerful19:22
zelgomeri'm not sure if i can use IMAGE_FSTYPE because there seems to be no dependency on the kernel. i had this implemented as an IMAGE_POSTPROCESS_COMMAND before and it would occasionally fail because the kernel wasn't deployed yet19:23
zelgomeri'm a bit confused about this19:23
JaMawe use IMAGE_FSTYPE for packages with kernel, but the code is not public19:24
zelgomeri see19:25
JaMacheck rpisdimg in meta-raspberrypi that might provide some clues as well (even when many users now use wic.rpi instead)19:25
JaMahttps://github.com/agherzan/meta-raspberrypi/blob/master/classes/sdcard_image-rpi.bbclass19:25
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 276 seconds)19:26
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto19:27
JaMazelgomer: maybe you can use wic as well, rpi is using that by default since 2020 https://github.com/agherzan/meta-raspberrypi/commit/722d83761284834070e65dfcb19b2185a0ad1cd319:28
zelgomerthanks. so far at a glance i see several constructs that i had attempted, but maybe if i stare long enough i'll see where my attempts went wrong :)19:28
zelgomerwe don't want to use wic, we want to distribute tar19:28
JaMaustar for every household! but only if your wife or daughter isn't Julia (sorry, reference to https://mm.icann.org/pipermail/tz/2021-May/030094.html I was reading earlier today)19:31
JaMamaintaining world timezones is much more difficult than what I've expected earlier today (before reading e.g. https://mm.icann.org/pipermail/tz/2021-May/030089.html ) and yes I'm reading tz@iana.org just because I have a patch for tzdata-native to build with gcc-1319:34
*** vladest1 <vladest1!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has joined #yocto19:36
*** vladest <vladest!~Thunderbi@adsl-89-217-204-83.adslplus.ch> has quit IRC (Read error: Connection reset by peer)19:36
*** vladest1 is now known as vladest19:36
*** azcraft <azcraft!~AzCraft@195.214.253.121> has quit IRC (Ping timeout: 250 seconds)19:39
*** florian_kc <florian_kc!~florian@dynamic-078-048-180-187.78.48.pool.telefonica.de> has joined #yocto19:39
*** azcraft <azcraft!~AzCraft@195.214.253.121> has joined #yocto19:53
mischiefzelgomer: for us we have an image class. image class defines a new CONVERSIONTYPES. in CONVERSION_CMD we just run tar19:53
mischiefand CONVERSION_DEPENDS uses virtual/kernel:do_deploy so we just pull kernel out of deploy dir19:54
mischiefmaybe not the correct way but works for us for quite some time now19:54
zelgomermischief: i'm not trying to create a tar of the root filesystem, though. i want to create a tar which contains the kernel, a few other boot files, and a root filesystem image file. do you think the CONVERSIONTYPES method is still a good approach in that case?19:56
JaMamischief: I consider CONVERSIONTYPES as part of IMAGE_FSTYPE :)19:58
*** nemik <nemik!~nemik@207.237.248.190> has quit IRC (Ping timeout: 255 seconds)20:08
*** nemik <nemik!~nemik@76.74.126.42> has joined #yocto20:08
*** nemik <nemik!~nemik@76.74.126.42> has quit IRC (Ping timeout: 250 seconds)20:13
*** nemik <nemik!~nemik@207.237.248.190> has joined #yocto20:13
mischiefzelgomer: a 'good approach'? no idea. it works for us though20:18
*** zwelch <zwelch!~zwelch@fluffy.mandolincreekfarm.com> has quit IRC (Ping timeout: 248 seconds)20:20
mischiefzelgomer: 'i want to create a tar which contains the kernel..' yes, that's what we do too, except it's only kernel+rootfs. but of course you could add whatever else as long as the task has the right dependencies on the deploy dir i believe20:20
zelgomergot it, thanks. i will play around with it20:25
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 276 seconds)20:31
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto20:31
vladestHello21:01
vladestany idea how to make this fixed:21:01
vladestERROR: Nothing PROVIDES 'tslib-native' (but virtual:native:/hdd/rpiyocto/meta-qt6/recipes-qt/qt6/qtbase_git.bb DEPENDS on or otherwise requires it)21:01
vladest?21:01
JaMavladest: don't enable tzlib for native qtbase21:11
JaMait's not in default PACKAGECONFIG so it's probably your config somewhere, use bitbake-getvar if you don't know where21:12
*** zwelch <zwelch!~zwelch@fluffy.mandolincreekfarm.com> has joined #yocto21:23
*** alessioigor <alessioigor!~alessioig@185.178.95.254> has quit IRC (Quit: alessioigor)21:25
*** seninha <seninha!~seninha@user/seninha> has quit IRC (Ping timeout: 256 seconds)21:32
*** invalidopcode1 <invalidopcode1!~invalidop@cpe-172-90-200-106.socal.res.rr.com> has quit IRC (Remote host closed the connection)21:34
*** invalidopcode1 <invalidopcode1!~invalidop@cpe-172-90-200-106.socal.res.rr.com> has joined #yocto21:34
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 276 seconds)21:36
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto21:36
*** kscherer <kscherer!~kscherer@bras-base-otwaon1146w-grc-26-174-95-44-180.dsl.bell.ca> has quit IRC (Quit: Konversation terminated!)21:43
paulgSetting up an old abandoned turd with ubu-20 so it can build Yocto.21:57
paulgIt nags me because "diffstat" isn't installed.21:57
paulgI love diffstat - used it all the time prior to git.21:58
paulgBut how in the hell is that *required* for a build?21:58
paulgThat is a developer/autopsy tool.21:58
*** leon-anavi <leon-anavi!~Leon@46.55.231.62> has quit IRC (Quit: Leaving)22:00
rburtoni _think_ its quilt that wants diffstat22:00
rburtonfeel free to patch it out if you can be bothered22:01
rburtonbut you can use quilt-native interactively in a devshell, so breaking it might not be a good idea22:01
paulgyeah. I'll add it to my "to-do" list once I've retired and got a dump-truck of free time to go fix annoyances...  :-P22:02
mischiefyou coul grab the yocto prebuilt stuff if you don't want to modify the host22:03
mischiefhttps://docs.yoctoproject.org/ref-manual/system-requirements.html#installing-a-pre-built-buildtools-tarball-with-install-buildtools-script22:03
mischiefhad to use that recently for amazon linux 2, which has a dreadfully ancient copy of tar installed22:03
paulgmischief, yep - thanks, I've been using buildtools for a while - since the python update requirement made ubu-18.04 unfit anymore - as many others have no doubt experienced.22:04
*** GNUmoon2 <GNUmoon2!~GNUmoon@gateway/tor-sasl/gnumoon> has quit IRC (Remote host closed the connection)22:05
paulgI'm not complaining as a user who can't build - I'm complaining as an old fart who hates to see creeping requirements and general bloat.22:05
paulgIf that makes sense to people....22:05
*** GNUmoon2 <GNUmoon2!~GNUmoon@gateway/tor-sasl/gnumoon> has joined #yocto22:05
*** starblue <starblue!~juergen@dslb-088-078-102-022.088.078.pools.vodafone-ip.de> has quit IRC (Ping timeout: 250 seconds)22:17
*** starblue <starblue!~juergen@dslb-094-220-112-087.094.220.pools.vodafone-ip.de> has joined #yocto22:19
*** starblue <starblue!~juergen@dslb-094-220-112-087.094.220.pools.vodafone-ip.de> has quit IRC (Ping timeout: 276 seconds)22:26
*** starblue <starblue!~juergen@dslb-088-078-105-190.088.078.pools.vodafone-ip.de> has joined #yocto22:27
*** starblue <starblue!~juergen@dslb-088-078-105-190.088.078.pools.vodafone-ip.de> has quit IRC (Ping timeout: 250 seconds)22:33
*** starblue <starblue!~juergen@dslb-088-078-102-107.088.078.pools.vodafone-ip.de> has joined #yocto22:36
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 255 seconds)22:39
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto22:39
*** kevinrowland <kevinrowland!~kevinrowl@104.129.199.81> has joined #yocto22:45
*** seninha <seninha!~seninha@user/seninha> has joined #yocto22:51
*** goliath <goliath!~goliath@user/goliath> has quit IRC (Quit: SIGSEGV)22:51
*** astlep5504 <astlep5504!~thelounge@107-136-136-210.lightspeed.nsvltn.sbcglobal.net> has quit IRC (Remote host closed the connection)22:56
*** astlep5504 <astlep5504!~thelounge@107-136-136-210.lightspeed.nsvltn.sbcglobal.net> has joined #yocto22:57
*** starblue <starblue!~juergen@dslb-088-078-102-107.088.078.pools.vodafone-ip.de> has quit IRC (Ping timeout: 276 seconds)23:01
*** starblue <starblue!~juergen@dslb-178-006-091-083.178.006.pools.vodafone-ip.de> has joined #yocto23:02
*** astlep5504 <astlep5504!~thelounge@107-136-136-210.lightspeed.nsvltn.sbcglobal.net> has quit IRC (Remote host closed the connection)23:03
*** azcraft <azcraft!~AzCraft@195.214.253.121> has quit IRC (Quit: Leaving)23:12
*** starblue <starblue!~juergen@dslb-178-006-091-083.178.006.pools.vodafone-ip.de> has quit IRC (Ping timeout: 246 seconds)23:37
*** starblue <starblue!~juergen@dslb-088-078-097-209.088.078.pools.vodafone-ip.de> has joined #yocto23:39
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has quit IRC (Ping timeout: 268 seconds)23:43
*** BoJalling <BoJalling!~BoJalling@152.115.47.4> has joined #yocto23:44
*** GNUmoon <GNUmoon!~GNUmoon@gateway/tor-sasl/gnumoon> has joined #yocto23:44
*** GNUmoon2 <GNUmoon2!~GNUmoon@gateway/tor-sasl/gnumoon> has quit IRC (Ping timeout: 255 seconds)23:44
*** Ram-Z <Ram-Z!Ram-Z@2a01:7e01::f03c:91ff:fe57:d2df> has quit IRC (Ping timeout: 260 seconds)23:47
*** LocutusOfBorg <LocutusOfBorg!~locutusof@93-50-192-18.ip153.fastwebnet.it> has quit IRC (Ping timeout: 255 seconds)23:47
*** Ram-Z <Ram-Z!~Ram-Z@li1814-254.members.linode.com> has joined #yocto23:48
*** florian_kc <florian_kc!~florian@dynamic-078-048-180-187.78.48.pool.telefonica.de> has quit IRC (Ping timeout: 250 seconds)23:51

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!