Pedantry: CLOCK_REALTIME -> CLOCK_MONOTONIC

[?]
Feb 21, 2017, 2:49 PM
MPFSVI5XLGXVPJP5OJXMT7CF2SFFFFT6R36O74MJB5TF6474E54AC

Dependencies

  • [2] 6WRGCITD Enable declarative projects.
  • [3] 7ZHHVD6Q * Inputs of type "build" must now be declared explicitly.
  • [4] LZO3C2KI * Hack around those SQLite timeouts: just retry the transaction.
  • [5] RFE6T5LG * Store jobset evaluations in the database explicitly. This includes
  • [6] ZDENAYQI * email notification of evaluation errors to project owner (if desired)
  • [7] PCKLFRT5 Support push notification of repository changes
  • [8] 3XTHEUMP * Implemented the clone feature.
  • [9] IMQRX4MP hydra-eval-jobs: Use JSON instead of XML
  • [10] WQXF2T3D hydra-evaluator: Don't require $HYDRA_CONFIG
  • [11] NI5BVF2V * In job inputs of type "build", allow the project and jobset names of
  • [12] RXVJFQ5A Evaluator cleanups
  • [13] QMW24O5S Add support for Guile & Guix.
  • [14] SS4TZXNU Distinguish between permanent evaluation errors and transient input errors
  • [15] RX5IIZMT Use Email::MIME instead of Email::Simple
  • [16] S6OISBQ3 * Mark the "current" builds in a jobset, i.e. those corresponding to
  • [17] OVR2RWBI hydra-evaluator: Always pick the jobset that hasn't been evaluated longest
  • [18] POPU2ATH * hydra_scheduler: use eval-jobs.
  • [19] FDE3BJAP * Refactoring.
  • [20] NS7SND6R hydra-evaluator: Send statistics to statsd
  • [21] 7OBWA6AZ hydra-evaluator: Fix error handling in fetching inputs
  • [22] J74UTA3I Handle the case where a jobset has never been evaluated
  • [23] BTOXLRG3 * Record the input containing the Nix expression (release.nix) in the
  • [24] S5PV6IIM * Represent jobs explicitly in the DB.
  • [25] JOYONH2K Prevent multiple builds with the same (job, outPath) tuple from being added
  • [26] 5SHCWE7X * Prevent repeated evaluation of a jobset with the same inputs. This
  • [*] N22GPKYT * Put info about logs / build products in the DB.

Change contents

  • replacement in src/script/hydra-eval-jobset at line 16
    [3.17][3.17:67]()
    use Time::HiRes qw(clock_gettime CLOCK_REALTIME);
    [3.17]
    [2.4394]
    use Time::HiRes qw(clock_gettime CLOCK_MONOTONIC);
  • replacement in src/script/hydra-eval-jobset at line 127
    [3.2152][3.68:123]()
    my $checkoutStart = clock_gettime(CLOCK_REALTIME);
    [3.2152]
    [3.870]
    my $checkoutStart = clock_gettime(CLOCK_MONOTONIC);
  • replacement in src/script/hydra-eval-jobset at line 134
    [3.182][3.182:236]()
    my $checkoutStop = clock_gettime(CLOCK_REALTIME);
    [3.182]
    [3.236]
    my $checkoutStop = clock_gettime(CLOCK_MONOTONIC);
  • replacement in src/script/hydra-eval-jobset at line 162
    [3.2226][3.483:534]()
    my $evalStart = clock_gettime(CLOCK_REALTIME);
    [3.2226]
    [3.2570]
    my $evalStart = clock_gettime(CLOCK_MONOTONIC);
  • replacement in src/script/hydra-eval-jobset at line 164
    [3.2680][3.535:585]()
    my $evalStop = clock_gettime(CLOCK_REALTIME);
    [3.2680]
    [3.585]
    my $evalStop = clock_gettime(CLOCK_MONOTONIC);
  • replacement in src/script/hydra-eval-jobset at line 189
    [3.706][3.706:755]()
    my $dbStart = clock_gettime(CLOCK_REALTIME);
    [3.706]
    [3.5887]
    my $dbStart = clock_gettime(CLOCK_MONOTONIC);
  • replacement in src/script/hydra-eval-jobset at line 285
    [3.914][3.914:962]()
    my $dbStop = clock_gettime(CLOCK_REALTIME);
    [3.914]
    [3.1447]
    my $dbStop = clock_gettime(CLOCK_MONOTONIC);
  • replacement in src/script/hydra-eval-jobset at line 313
    [3.1452][3.1186:1237]()
    my $startTime = clock_gettime(CLOCK_REALTIME);
    [3.1452]
    [3.1237]
    my $startTime = clock_gettime(CLOCK_MONOTONIC);
  • replacement in src/script/hydra-eval-jobset at line 320
    [3.1240][3.1240:1290]()
    my $stopTime = clock_gettime(CLOCK_REALTIME);
    [3.1240]
    [3.1290]
    my $stopTime = clock_gettime(CLOCK_MONOTONIC);