Feature #5491

Test suite: remote shell instability

Added by Tails 2013-07-18 07:41:50 . Updated 2015-08-26 02:46:21 .

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
Start date:
Due date:
% Done:

0%

Feature Branch:
Type of work:
Research
Blueprint:

Starter:
0
Affected tool:
Deliverable for:

Description

Although very rare, the remote shell can get into a state where it stops responding, resulting in the test suite waiting for a response forever. The reason for this has proved hard to determine, but it seems to basically only happen for the very first interaction with it, i.e. when running VM.wait_until_remote_shell_is_up().

I think it has to do with the fact that its transport is TCP on the host bridged to a serial device on the guest (see <serial type='tcp'> in Libvirt domain XML format). Perhaps the TCP state vs the guest’s serial port’s state gets out-of-sync if the TCP packet times out before the serial port is up and running?


Subtasks


Related issues

Related to Tails - Bug #8941: The remote shell server is racing against Tails Greeter Resolved 2015-02-22 2015-03-06

History

#1 Updated by intrigeri 2013-10-04 08:08:32

  • Category set to Test suite
  • Starter set to No

#2 Updated by BitingBird 2014-06-09 10:52:45

  • Subject changed from test suite: remote shell instability to Test suite: remote shell instability

#3 Updated by intrigeri 2014-07-19 19:57:16

  • Assignee set to anonym
  • QA Check set to Info Needed

anonym, have you seen that happen recently? I haven’t.

#4 Updated by anonym 2014-07-20 21:45:01

intrigeri wrote:
> anonym, have you seen that happen recently? I haven’t.

Yes, once perhaps 2-3 months ago. Otherwise I haven’t seen it for a long time indeed.

#5 Updated by intrigeri 2014-08-15 10:10:22

  • Assignee deleted (anonym)
  • QA Check deleted (Info Needed)

#6 Updated by intrigeri 2015-02-11 21:02:24

Apparently alan has seen something very similar.

#7 Updated by anonym 2015-02-19 11:04:07

  • Assignee set to alant
  • QA Check set to Info Needed

intrigeri wrote:
> Apparently alan has seen something very similar.

Alan, what ISO were you testing when this happened? Which branch + approximate date or, better yet, commit was the ISO built from?

#8 Updated by anonym 2015-02-19 11:10:23

intrigeri wrote:
> Apparently alan has seen something very similar.

Also, what does “very similar” actually mean?

#9 Updated by anonym 2015-02-22 20:07:20

  • related to Bug #8941: The remote shell server is racing against Tails Greeter added

#10 Updated by alant 2015-08-24 07:08:15

  • Assignee changed from alant to anonym
  • QA Check deleted (Info Needed)

anonym wrote:
> intrigeri wrote:
> > Apparently alan has seen something very similar.
>
> Alan, what ISO were you testing when this happened? Which branch + approximate date or, better yet, commit was the ISO built from?

I don’t have this info, sorry.

#11 Updated by anonym 2015-08-26 02:46:21

  • Status changed from Confirmed to Rejected
  • Assignee deleted (anonym)

alant wrote:
> I don’t have this info, sorry.

Ok. I any way think that Bug #8041 was the real cause, not the TCP-to-serial bridge stuff I was theorizing about. I’m rejecting this bug.