These are chat archives for Exa-Networks/exabgp

19th
Mar 2016
Vincent Bernat
@vincentbernat
Mar 19 2016 12:30
@thomas-mangin I have some difficulties to package the new ExaBGP in Debian. qa/bin/conversation is timeoutting for all tests, except E and K
Is there some easy way to make those tests more verbose?
Or from the top of your head, is there anything that changed significantly since 3.4.13 on this part?
Thomas Mangin
@thomas-mangin
Mar 19 2016 16:10
Hi @vincentbernat - I am not sure myself. The test are successful on my laptop but fail on travis-CI but pass on codeship !
I added one test and I am forking two processes per test. Could it be that I am hitting some limit somewhere ?
Vincent Bernat
@vincentbernat
Mar 19 2016 16:15
I'll investigate a bit, I was just asking in case you had already a clue.
Thomas Mangin
@thomas-mangin
Mar 19 2016 16:15
sorry - no clues as all the tests are fine individually
Vincent Bernat
@vincentbernat
Mar 19 2016 22:31
@thomas-mangin: I am wondering if the problem doesn't lie in the two communicate()
if the daemon outputs too much, it will block
Vincent Bernat
@vincentbernat
Mar 19 2016 22:49
also, the communicate() in dispatch is a bit late: if a process has more than 8 or 16kb to write, it will just block
Vincent Bernat
@vincentbernat
Mar 19 2016 23:14
however, in my case, this doesn't seem to be the problem
but it would be easier to debug if the script was collecting output from both programs iteratively, instead of relying on communicate()
for example each output could be collected in a thread, or a loop with select()
Vincent Bernat
@vincentbernat
Mar 19 2016 23:19

I am also getting this:

Sun, 20 Mar 2016 00:02:48 | ERROR    | 29879  | configuration | syntax error in section process
Sun, 20 Mar 2016 00:02:48 | ERROR    | 29879  | configuration | line 12: run ./api-nexthop-self.run ;
Sun, 20 Mar 2016 00:02:48 | ERROR    | 29879  | configuration |
Sun, 20 Mar 2016 00:02:48 | ERROR    | 29879  | configuration | can not execute directories "/etc/exabgp"

when /etc/exabgp exists.

Unfortunately, I don't have much time this week.
I could just skip those tests
I suppose it's important you run them, I don't need to run them myself