/srv/irclogs.ubuntu.com/2020/05/07/#launchpad-dev.txt

tomwardillas handy as it is, the weird string concatination 'feature' of python  catches me out more often than not09:25
tomwardillhttps://code.launchpad.net/~twom/launchpad-buildd/include-base-in-digests/+merge/383584 extract the base from OCI images.11:11
cjwatsontomwardill: Could you have a look at https://code.launchpad.net/~cjwatson/launchpad-buildd/+git/launchpad-buildd/+merge/383594 ?  It sort of partially reverts one of your OCI-related changes from a while back, which I think doesn't cause any problems there but you should probably have a look14:58
tomwardillyep, looking14:59
tomwardill`CarefulFakeProcessFixture`15:01
tomwardillthis is a good name15:01
cjwatson:)15:20
tomwardillcjwatson, pappacena: Tidied up https://code.launchpad.net/~twom/launchpad-buildd/include-base-in-digests/+merge/383584 and found some other bits that were doing silly things with exceptions, if you could check it over again15:49
cjwatsontomwardill: re-reviewed16:04
tomwardillta16:04
tomwardillcjwatson: the KeyError is actually the same cause as the LXDException16:05
tomwardillit's the error the FackBackend raises on a missing file16:05
cjwatsonOh right16:05
cjwatsonStill, my point was that the exceptions raised by copy_out vs. the exceptions raised by everything else are logically different16:06
tomwardillyeah, fair, that block should be shorter16:06
tomwardillall fixed16:12
tewardjust going to share things here, but RE: DMARC compliance I'm still going to iron out the kinks locally once LP catches up to what I'm after (a branch in my userspace for the LP code) but it looks like DMARC compliance for bug mails might be easier to implement than previously thought heh.  fixing up the tests will be the next Big Problem for that but from the functionality perspective it shouldn't be too hard.16:27
tewardthank you cjwatson for pointers at where to look in the codebase16:27
tewardonce i get that working you'll all ahve a merge to review for those changes :)16:27
cjwatsonTrying to work out why your fork is timing out - LP has four refs so it really shouldn't be an issue16:28
cjwatsonGuess I'll try repacking the repository16:28
tewardcjwatson: unless something else is going wonky?16:29
cjwatsonNo, it's clearly an API timeout on the repository create call16:29
tewardcool.  more work for you then cjwatson xD  :P16:40
cjwatsonteward: Can you retry your push now?16:42
teward1 moment16:42
tewarddidn't time out and is 'writing objects' right now16:42
teward(*waits for the eternity to pass*)16:42
tewardi'm assuming that the dev launchpad env attempts to use localhost:25 for email sending?20:25
teward(just checking)20:25
cjwatsonteward: An improperly configured Launchpad instance could very easily spam a whole bunch of innocent people, so by default it's either configured not to send email at all or to drop them into an mbox somewhere, I forget which.  See doc/email.txt21:29
tewardYep.  I also configure a postfix locally that literally just delivers to an mbox xD  So far though i caught two things that needed altered in the tests :P21:30
tewardYou also werent lying the test suite takes an eternity to run21:33
cjwatsonteward: To give you an idea, the dogfood instance has a mail-configure-normal.zcml that looks like https://paste.ubuntu.com/p/dq5P36X95D/, which just drops everything into an mbox21:33
cjwatsonYou probably don't want to run the entire test suite.21:33
cjwatsonlp.bugs should be enough - maybe lp.coop.answersbugs too, though it's tiny.21:34
tewardrunning the bugs testsuite with the command you stated in #launchpad earlier.  Which is fine 'cause I want to make sure that works :)21:34
tewardyeah i am running lp.bugs :)21:34
cjwatsonThe whole thing takes six hours on my laptop.  Fortunately most changes don't require running it all21:34
tewardindeed.  but because I want to make sure nothing with my minor changes in the LP codebase explode all of bugs I"m running lp.bugs entirely.  Found a docs discrepancy too because of the email From generations being different, that was an easy thing to fix, but i'm waiting to see what else triggers21:37
teward'course APache just exploded but that i think might've been my fault (oops)21:37
teward(like literally seized up the container)21:37
tewardi only can blame myself there :)21:38
tewardcjwatson: i think one of the tests is just 'busted' to some extent22:14
tewardbut it might be on my end... *retests with a clean setup*22:15
cjwatsonteward: We have some flaky tests, but they do all pass23:02
cjwatsonOn a correct setup23:02
cjwatsonAnd most of the flakiness doesn't manifest when you're just running the tests serially locally rather than in more complicated parallel setups23:03
tewardthe flakiness i'm seeing is in... lib/lp/bugs/doc/bugnotification-sending.txt23:25
tewardwhere Subject lines with ... fail because it's got an actual numeric in there23:26
tewardellipsized text not matching23:26
tewardsimilar for link behavior23:26
tewardand the From addresses but it *seems* to be more a case of the docs not matching the expected outputs (hence failures)23:26
tewardi'm quadruple tasking at the moment heh23:26
tewardlet me run a 'pure' test with LP pure just to make sure this isn't my code changes causing the errors (if it reproduces in clean master I'm assuming the issue is due to flakyTest)23:27
wgrantThat test is not known to be flaky, and it's not of the kind that is likely to be flaky.23:29
tewardwgrant: true, but i'm curious why it's triggering here but not elsewhere hence testing a clean deploy atm23:29
tewardto rule out my changes (which were only to the from address generator) as the cause23:30
teward(i'm testing local heh)23:30
tewardwgrant: the *expected* failures with those changes are, as I stated, expected, but the specific ones that *aren't* expected are with handling of the Subject line matches23:33
tewardlet me get the traceback into a file that I can share (and then delete after)23:35
cjwatsonBeware that doctest mismatch output can be extremely confusing and can suggest mismatches that don't exist if you aren't completely sure of how to read them23:46
tewardcjwatson: yeah those're the tests that failed.  This said, those're the only failures in the entire bugs test suite23:46
teward(with my changes).  Trying to get full output but E:SLOW23:46

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!