/srv/irclogs.ubuntu.com/2014/11/27/#ubuntu-quality.txt

=== chihchun_afk is now known as chihchun
Saviqpitti, hey, does this adt-run(schroot) error mean anything to you http://pastebin.ubuntu.com/9251865/ ?09:45
pittiSaviq: I'm afraid not; if you can reproduce it, would you mind filing a bug with reproduction instructions?09:47
pittiSaviq: apparently it did copy up teh stderr file from the testbed (line 20 in pastebin)09:47
pittiso I'm not sure why it's missing09:47
Saviqpitti, another thing is that it didn't drop me to shell, even though I asked for it09:48
pittiSaviq: yeah, as it got that unexpected error09:49
pittiSaviq: the "drop into shell" happens after displaying stderr09:50
Saviqpitti, ah09:51
Saviqpitti, any package in particular I could use to verify that it's not my packages' fault?09:51
pittiSaviq: my preferred guinea pig is usually d-conf or libpng09:52
pittiSaviq: as they are fast09:52
Saviqpitti, ok09:52
pittiadt-run libpng --- schroot sid09:52
pittiSaviq: but it doesn't matter much09:52
pittiSaviq: so, this is definitively not the "fault" of your package, it might just trigger something funky09:52
Saviqpitti, yup, understand09:53
pittiSaviq: have you used the schroot runner before?09:53
Saviqpitti, no, I've been setting up proper for adt for the first time, qemu runner seems to have worked better, but I got schroots laying around for sbuild so thought would use those09:54
pittiSaviq: yeah; I use them all the time, so I rather suspect that you and I have some slightly different schroot setups09:54
Saviqpitti, hmm same happens with libpng09:54
pittiand schroot is used in production on ci.debian.net, too09:54
Saviqpitti, I wonder, eatmydata or something09:54
pittiyeah, I suspected as much (not package specific)09:55
* Saviq drops the custom commands from schroot09:55
pittiSaviq: can you try --- ssh -d <schroot_name> to get debug information from the schroot runner?09:56
pittiSaviq: does that happen with other schroots? or just unity8-amd64-shm09:56
Saviqpitti, all of them09:56
Saviqpitti, you mean schroot -d, no ssh -d?09:57
pittiSaviq: err yes -- autofinger09:57
Saviqpitti, http://paste.ubuntu.com/9265598/, that's from `adt-run libpng -d --- schroot -d vivid-amd64`09:57
=== chihchun is now known as chihchun_afk
Saviqpitti, here's my schroot config, tried without command-prefix, same thing... anything springs to mind http://paste.ubuntu.com/9265616/ ?09:59
pittiSaviq: hm, perhaps the eatmydata; it might not flush the stderr file to disk (especially not when it's a 0-byte file) early enough?10:00
pittiSaviq: otherwise my sid schroot uses overlayfs and directory, too10:01
pitti(most of my other schroots are tarballs)10:01
Saviqpitti, yeah, I tried to drop the command-prefix, didn't help10:01
Saviqweeird, /me will create a new chroot10:01
pittiSaviq: in /usr/share/autopkgtest/python/VirtSubproc.py could you apply http://paste.ubuntu.com/9265758/ and see if that helps?10:06
pittiSaviq: i. e. if it's some kind of file system race, or some logic error10:06
pitti(this isn't a proper solution of course, just a quick test)10:07
Saviqpitti, same thing I'm afraid10:08
pittiSaviq: ok, that makes it more likable :)10:09
pittiSaviq: ooh! libpng also failed for you, right?10:11
pittiSaviq: can you please try this:10:12
pittischroot -c sid -u root -- su -s /bin/bash  -c 'whoami'10:12
pittierk10:12
pittischroot -c vivid-amd64 -u root -- su -s /bin/bash michal -c 'whoami'10:12
pittiSaviq: ^ this10:12
pittiSaviq: i. e. maybe it's the su itself which fails (can't resolve your user name), this would explain why the -stdout/err files are not created and libpng fails10:14
Saviqpitti, it returned my uid10:15
Saviq"michal"10:15
Saviqs/uid/username/10:16
=== chihchun_afk is now known as chihchun
pittiSaviq: ack, so that one works10:23
pittischroot -c vivid-amd64 -u root -- su -s /bin/bash michal -c 'set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true;  . ~/.profile >/dev/null 2>&1 || true; whoami'10:26
pittiSaviq: ^ can you try this?10:27
Saviqpitti, retcode 110:27
pittia-haa!10:27
Saviq;)10:27
pittischroot -c vivid-amd64 -u root -- su -s /bin/bash michal -c 'set -ex; export USER=`id -nu`; . /etc/profile >/dev/null || true;  . ~/.profile || true; whoami'10:28
pittiSaviq: ^10:28
Saviqpitti, works10:28
Saviqpitti, ah10:28
Saviqpitti, byobu10:28
Saviqdaaamit10:28
Saviqpitti, yeah, it's byobu10:29
Saviqif I disabled byobu in my session, it's all back in order10:29
pittiSaviq: ah, interesting; that hooks itself into ~/.profile?10:30
Saviqpitti, yeah10:30
Saviq_byobu_sourced=1 . /usr/bin/byobu-launch10:30
Saviqis what it adds10:30
pittiSaviq: ah, I wonder if that should only be done on interactive shells10:32
pittiSaviq: so apparently the || true for sourcing doesn't work as it should? what did you see when you ran this command without the stdout/err redirection?10:33
Saviqpitti, http://pastebin.ubuntu.com/9266194/10:34
Saviqpitti, I'll talk to Dustin on that, thanks for the interactive debugging session10:34
pittiSaviq: interesting, thanks; could you still file a bug about it, please? it seems ". file || true" doesn't work10:35
Saviqpitti, yup, will do10:35
pitticheers10:35
Saviqpitti, bug #139695510:53
ubot5bug 1396955 in autopkgtest (Ubuntu) "adt-run fails in schroot if sourcing ~/.profile fails" [Undecided,New] https://launchpad.net/bugs/139695510:53
pittiSaviq: cheers10:53
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== quadrispro_hds is now known as quadrispro
=== chihchun is now known as chihchun_afk
=== alex_abreu is now known as alex-abreu
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== roadmr is now known as roadmr_afk
doug5can someone trigger a build of this? http://91.189.93.70:8080/job/ubuntu-calendar-app-ci/19:57
=== benonsoftware is now known as \b
=== \b is now known as benonsoftware
=== roadmr_afk is now known as roadmr

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