1. 29 11月, 2017 4 次提交
    • C
      Move mux module to the variater plugin · b3812995
      Cleber Rosa 提交于
      There was once an idea that the "mux" would be an interface that would
      be reused by other implementations (say, json_to_mux, foo_to_mux,
      etc).  Now, it seems much more important to make the Avocado varianter
      design and interfaces better, and advocate its use instead.
      
      Additionally, there has always been a gray line between the
      Multiplexer and the Avocado params.  Moving the mux outside of the
      Avocado core will help to draw clearer lines.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      b3812995
    • C
      Remove 36.0 (LTS) to 51.0 (pre 52.0 LTS) jobdata support · bc59f850
      Cleber Rosa 提交于
      And include jobdata results and a test for 52.0 (LTS).
      
      The 52.0 release, an LTS release, was meant to allow transitions from
      the previous LTS version (36.0lts) and it did so including the ability
      to replay jobs created with the older version.
      
      Now, we're 6+ months into the 52.0 release, and as promised, we'll
      stop maintaining 36.0lts.  To keep to code clean, let's remove all
      this compatibility with versions before 52.0.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      bc59f850
    • A
      Merge branch 'clebergnu-fddrainer_combined_flush' · 26091021
      Amador Pahim 提交于
      Signed-off-by: NAmador Pahim <apahim@redhat.com>
      26091021
    • C
      FDDrainer: flush the file based handlers before filling results · 41dfb4b9
      Cleber Rosa 提交于
      The FDDrainer reads from the PIPEs and writes to both the internal
      StringIO instances and to stream logging handlers.  There are no
      guarantees that the logging handlers will flush the content before the
      FDDrainer finishes.
      
      Let's explicitly close all the handlers (which should really be
      FileHandlers) associated with the stream loggers, which should flush
      and sync the content on the files themselves.
      
      Additionally, the combined drainer was being missed from the flush
      process, and was causing some output in that mode to be unavailable on
      generated output.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      41dfb4b9
  2. 27 11月, 2017 2 次提交
  3. 24 11月, 2017 4 次提交
  4. 23 11月, 2017 2 次提交
    • D
      resultsdb: Control note's size limit · ae373b15
      Dmitry Monakhov 提交于
      Currently test's note contains full job.state['fail_reason'].
      And it can be huge unreadable single line  backtrace which
      looks ugly in resultsdb_frontend. In my case it populate whole
      webpage. IMHO front end note should be small, if someone want to
      investigate failure reason we should goto logs link.
      
      This patch add config option which allow to limit note's size,
      which is limited by default to preserve original behaviour.
      
      Also map job.INTERRUPTED state to resultsdb.INFO because when human
      manually interrupts test he probably knows the reason, so test should
      not being treated as NEEDS_INSPECTION.
      Signed-off-by: NDmitry Monakhov <dmonakhov@openvz.org>
      ae373b15
    • D
      contrib: add run inplace helper. · 3715d8b0
      Dmitry Monakhov 提交于
      Avocado is amazing tool for journal everyday routines. But it is very
      script oriented, so if one want to quick run simple command under avocado
      script should be created first, which is not too handy.
      
      Let's add trivial wrapper which transparently do it for us
      #Example: 
      $ avocado-run-inplace.sh yum update -y
      JOB ID     : 26b320e99a8413f1fe73d23afaae746d8436bf8e
      JOB LOG    : /root/avocado/job-results/job-2017-11-22T12.06-26b320e/job.log
       (1/1) yum_update_-y.sh: PASS (47.48 s)
      RESULTS    : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
      JOB TIME   : 51.52 s
      Signed-off-by: NDmitry Monakhov <dmonakhov@openvz.org>
      3715d8b0
  5. 22 11月, 2017 1 次提交
  6. 21 11月, 2017 5 次提交
  7. 20 11月, 2017 3 次提交
  8. 19 11月, 2017 12 次提交
  9. 18 11月, 2017 7 次提交