/srv/irclogs.ubuntu.com/2014/06/13/#ubuntu-quality.txt

=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
pittiGood morning03:42
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
jibelpitti, IIRC if autopkgtest runs in jenkins I must force tty allocation in ssh, we had problems in the past with test never returning, right?09:36
pittijibel: right; in run-adt-test we sprinkled lots of -tt for that reason :)09:37
pittiand that seems to have worked well enough09:37
jibelhm, it I pass -tt there is a message 'Connection closed' that breaks the protocol09:39
jibeland if I pass -q this command '/tmp/adt-virt-ssh.ex6dc0pf/runcmd sh -ec cat >/tmp/adt-run.INajPs/adt-satdep.deb' never returns09:39
pittijibel: uh, runcmd? is that with the qemu testbed?09:43
pittijibel: ah no, I suppose runcmd is your printf %q wrapper09:43
jibelpitti, no with ssh09:43
jibelpitti, yes09:43
jibelhttp://paste.ubuntu.com/7638095/ this is what is contains09:44
jibelthe command line is built dynamically from adt-virt-ssh09:44
pittiah, I see: "ssh piware.de whoami" doesn't have any extra stuff, but "ssh -tt piware.de whoami" shows this "connection to piware.de closed" spam09:45
pittibut -qtt seems to work, so I guess that's what it should use09:45
jibelpitti, that's what I use but then runcmd never returns09:47
pitti$ echo hello | ssh piware.de -qtt -- 'sh -ec cat > /tmp/world.txt'09:48
pittijibel: indeed, that hangs09:48
pitti/tmp/world.txt is fine on the server, but it doesn't seem to recognize the EOF09:48
pittijibel: it works with -t, but I think that's then a no-op with piping to stdin?09:49
pittijibel: did you get any hangs/failures without -tt so far?09:50
pitti$ echo hello | ssh piware.de -qtt -- 'sh -ec cat > /tmp/world.txt; echo done' 2>&1|cat09:50
pittihello09:50
pittithat is wrong, I shouldn't get "hello" on local stdout09:50
jibelpitti, but only 1 -t makes adt-run cry: adt-run [11:50:36]: ERROR: erroneous package: got 75 lines of results from extract where 4 expected09:50
pitti(I redirected everything to completely detach it from my local tty)09:51
jibelpitti, without -tt it works fine09:51
pittijibel: that sounds like a quoting issue somewhere09:51
pittior again corruption of stdout09:51
pittijibel: didn't the hangs without -tt also happen locally? I'm fairly sure I saw that here, too09:52
jibelpitti, I didn't see any hang without -tt10:01
pittijibel: you mean with run-adt-test or adt-virt-ssh?10:01
jibelpitti, yes10:01
pittijibel: I hope we can just generally live without it10:01
pittijibel: yes to which of the two? :-)10:02
pittijibel: I have a gut feeling that for some cases/tests we'll need it, perhaps we need to differentiate between the "interactive/run test" and "noninteractive/pipe stdin" cases10:02
jibelpitti, both. with adt-run-test I only had the problem in the lab when it's been deployed in jenkins10:03
pittijibel: you can probably test that by running the whole thing in "nohup"? (i. e. not having a local terminal)10:05
=== _salem is now known as salem_
pittijibel: btw, I pushed a lot of changed code to autopkgtest since yesterday; python 3 now, factorized/cleaned up/testcased the debian/test/control parsing support, and others13:03
pittiso it's now relatively easy to add a new parser for click manifests to produce Tests objects13:03
jibelpitti, great, thanks. I'll pull the changes. I'm still on the ssh runner, writing a setup script to configure a fresh lxc container13:06
pittijibel: yeah, it shouldn't be affected, other than using adtlog.{debug,info,warning,error}() now13:08
pittijibel: ah, for testing this could just clone/ephemeral an existing adt-$release container?13:09
=== zoopster_ is now known as zoopster
=== roadmr is now known as roadmr_afk
=== retoad is now known as retoaded
=== roadmr_afk is now known as roadmr
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== salem_ is now known as _salem
=== Ursinha-afk is now known as Ursinha

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