Skip to content
Snippets Groups Projects
  1. Feb 25, 2021
    • Karel Koci's avatar
      nsfarm/cli: fix function pexpect_flush · 84e6788e
      Karel Koci authored
      It turns out that nonblocking doesn't mean nonblocking in all cases. In
      this case when there was no input the read was blocking.
      The timeout set to zero solves this.
      Verified
      84e6788e
    • Karel Koci's avatar
      tests: reenable read of syslog on serial console · b2a9f818
      Karel Koci authored
      This now not only makes sense becuase we have live logging it also fixes
      TODO pointed there, we just wait for file to appear (syslog-ng to
      start).
      Verified
      b2a9f818
    • Karel Koci's avatar
    • Karel Koci's avatar
      Replace logging trough pexpect with realtime logging · e1a30f22
      Karel Koci authored and Karel Koci's avatar Karel Koci committed
      Problem with logging trough pexpect is that we log output only when we
      expect it. That is when we access it trough pexpect. This means that
      time and synchronization when logs arrive from multiple sources can't be
      archived and only one source logs at the time (the one that is used
      currently by pexpect). This is not ideal as we are interested in
      situation such as restarting network interfaces that produce some logs
      not only on router but also in container at the same time.
      Synchronization on time bases in such cases is important and we can't
      wait for code to call pexpect to print it to logs later on.
      
      This instead utilizes sockets and by reading source immediately and just
      passing it to socket.
      Verified
      e1a30f22
  2. Feb 22, 2021
  3. Jan 07, 2021
  4. Dec 22, 2020
  5. Jul 16, 2020
  6. Jul 15, 2020
  7. Jul 14, 2020
  8. Jul 08, 2020
  9. Apr 29, 2020
  10. Oct 16, 2019
  11. Oct 09, 2019
  12. Oct 07, 2019
  13. Oct 04, 2019