/srv/irclogs.ubuntu.com/2015/10/26/#ubuntu-autopilot.txt

=== balloons is now known as Guest90681
=== Guest90681 is now known as balloons
dobeyhow do i figure out why adt-run is hanging when i try to run autopilot tests with it?17:49
dobeyelopio: come back to the dark side. we miss you18:36
elopiodobey: heh, I miss you too :)18:37
elopiodobey: adt-run -d -s gives more information and lets you log into the testbed after it times out.18:37
dobeyelopio: it doesn't get far enough for that i don't think18:38
dobeyServices restarted successfully.18:38
dobeythat's the last message printed, where it hangs18:39
dobeyit never times out18:39
dobeythat's with a vivid image18:39
elopiodobey: paste the output you get with -d.18:39
dobeyi can't run with a utopic image, because utopic is eol :-/18:39
elopioif it doesn't time out, sounds like something bad in autopkgtest.18:40
dobeyand i can't create a wily image. it seems to just hang18:40
dobeyand i don't know how to create an ubuntu-rtm image18:41
dobeyyeah, -d doesn't show anything additional there18:42
dobeytop shows qemu is doing stuff, but no messages on console18:42
dobey:(18:46
elopiodobey: with the snappy ssh script, if you pass -b it prints the vm boot console.18:49
elopionot sure what test bed you are using.18:49
dobeyi'm trying to run the pay-ui click autopilot tests with adt-run18:49
dobeyqemu has a serial console socket, but i'm not sure how to connect to it18:50
dobeybut i can't seem to open it with tail or minicom18:50
dobeyminicom: cannot open /tmp/adt-virt-qemu.9bhk7o7g/ttyS1: No such device or address18:50
dobeymeh18:50
elopiodobey: for qemu, the option is --show-boot18:57
dobeyoption to what?18:58
elopiodobey: to redirect the vm boot messages to your terminal. adt-run ... --- qemu --show-boot ...19:03
elopiothat should show more info. Not sure useful info, but more.19:04
dobeydoesn't work here19:07
dobeyadt-virt-qemu: error: unrecognized arguments: --show-boot19:07
dobeyand -d there doesn't show naything19:08
dobeyand this was working fine 6 months ago when i last ran this stuff :(19:10
elopioum, I am on vivid but have adt-run from wily. Maybe this is new.19:12
elopiobut well, you shouldn't be surprised it stops working after 6 months without running it :)19:13
dobeywhy? i haven't changed distro versions. i haven't modified the image i'm testing on. the click package hasn't changed (though i'm trying to add new tests for making a bug fix now)19:19
dobeyit shouldn't just stop working19:19
dobeythe only thing this tells me is that i should just scrap all autopilot tests everywhere, because nobody actually uses these tools, so they're totally unreliable19:20
dobeyand unreliable tests (and the tools needed to run them), are a waste of time19:21
elopiodobey: +1 to that. If nobody is running the tests daily, they are worthless.19:26
elopiohowever, I would suggest to fix them and start running them daily, of course.19:26
dobeyelopio: there's no need to run the tests daily if changes aren't being made daily19:27
dobeyi shouldn't have to run my own tests daily to ensure that the tools used to run those tests aren't breaking19:27
elopiodobey: you should run the tests against the development image, which changes daily.19:27
dobeynope19:28
elopiowell, that's probably another problem. If the error is in qemu + image, nobody is running that combination either.19:29
dobeywell, it's also not like i'm running the latest packages in development ubuntu all the time either19:30
dobeyi'm doing this on an LTS host19:30
dobeyi think there have been some security updates for qemu, but i wouldn't expect that to break things19:30
elopiothere's also the chance that it has never worked.19:31
elopiobut well, there are so many projects involved in this that things are delicate and break in unexpected ways.19:31
dobeywell i know it worked because i ran the tests19:32
dobeyand i refused to land the autopkgtest stuff in the click until i had it working reliably19:32
elopioI get an error creating the chroot as explained in the README ^_^19:35
elopiomany broken things.19:35
elopionone of them your fault, I bet.19:36
elopiobut if you don't run your tests daily, you won't find when somebody breaks your stuff, and you won't be able to make sure that they don't break it again.19:36
dobeyi shouldn't have to manually run my tests daily19:42
dobeyif the tests should be run manually, then it should be done via CI, where the image builds automatically run the autopkgtests configured for all the packages installed by default on that image19:45
elopioyes. By you I don't mean *just you*. Your team, somewhere, ideally automatically. But every day, that's the important part.19:47
dobeyi have to disagree19:57

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