1. 18 Sep, 2013 3 commits
  2. 12 Sep, 2013 1 commit
  3. 11 Sep, 2013 1 commit
  4. 09 Sep, 2013 6 commits
  5. 28 Aug, 2013 2 commits
  6. 15 Aug, 2013 3 commits
    • Mike Hibler's avatar
    • Mike Hibler's avatar
      Change the semantics of "reset". · c30b122e
      Mike Hibler authored
      "reset" now just unmounts blockstores, it does not destroy them.
      Need this so that people can include a SYSVOL blockstore in a custom image
      (the only place where "reset" is used). Also, destroying blockstores would
      have come as an unpleasant surprise to anyone who created a custom image
      and then expected their data to still be around afterward!
      
      Also work around a bizzare bug in BSD sed that happens in the prepare script.
      That script does:
      
           sed -e '/# next line is swap device/,+1d' /etc/fstab
      
      which should remove the matched comment and the line after it (the swapdev
      entry). But if there are EXACTLY two additional lines after the matched line,
      it would remove both of them (effectively "+2")! So if there was a mount for
      a blockstore device after the swap device, prepare would remove that line too.
      
      So in the finest tradition of "if it hurts, don't do it", the blockstore code
      makes sure that it adds at least two additional lines.
      c30b122e
    • Mike Hibler's avatar
      Fixed check vs. max offset, it was wrong. · f730b322
      Mike Hibler authored
      If number was positive, was converting to "(N)" for some reason.
      Parens don't compare well with integers...
      
      Also don't need "bc" just to compute abs(), just use "tr" to remove '-'.
      
      Also adjust the max offset a smidge to 5ms, 1ms is a bit tight.
      f730b322
  7. 23 Jul, 2013 1 commit
  8. 22 Jul, 2013 2 commits
  9. 19 Jul, 2013 2 commits
  10. 15 Jul, 2013 1 commit
  11. 09 Jul, 2013 7 commits
  12. 28 Jun, 2013 4 commits
    • Leigh B Stoller's avatar
    • Leigh B Stoller's avatar
    • Dan Reading's avatar
      Mistaken about exit point of script · f88d4017
      Dan Reading authored
      f88d4017
    • Dan Reading's avatar
      Checknode should be ready for prime-time · 6cc8cf46
      Dan Reading authored
      * remove check for gather arg, use TESTINFO from tmcc hwinfo
        instead. Only call tmcc once. Let non-MFS boot collect data.
      * tmcc hwinfo not return a TESTINFO line. Handle the LOGDIR, COLLECT
        and CHECK indicators
      * Do to variable scoping make sure everything runs in the shell.
        Do not 'exit' from called programs. Source called programs instead
        of starting new shells.
      * Nothing wrong with the which() function I put in since the
        MFS/busybox installation does not have one, but if we have a real
        which(1) program use it.
      * output format changes and programming space changes
      * remove check for gather arg, use TESTINFO from tmcc hwinfo
        instead. Only call tmcc once. Let non-MFS boot collect data.
      * tmcc hwinfo not returning a TESTINFO line. Handle the LOGDIR, COLLECT
        and CHECK indicators
      * Do to variable scoping make sure everything runs in the shell.
      * Do not 'exit' from called programs. Source called programs instead of
        starting new shells.
      * Nothing wrong with the which() function I put in since the MFS/busybox
        installation does not have one, but if we have a real which(1) program
        use it.
      * call sub-programs by sourcing not by starting new shell.
      * oops mfsmode is not set until initialize is run. also set -e -u to
        catch this type of thing.
      
      Checknode tests once again run in standard images and can collect
      data.
      
      * All tests can now be "sourced" from gatherinv to insure everything
        runs in a single shell.
      * All tests can also be called standalone.
      * MFS mode and non-MFS mode honor the CHECK and COLLECT flags.
      * Create, if necessary, a new project save directory.
      * This will be needed once every-time checknodes is run in a new project.
        path is /proj/{pid}/nodecheck.
      * If script can't run quit with a 'return 0' so the rest of the checks
        can continue.
      
      Change filename gatherinv -> checknode
      
      * Can't run in MFS mode if not in the emulab-ops pid
      6cc8cf46
  13. 21 Jun, 2013 1 commit
  14. 20 Jun, 2013 1 commit
  15. 18 Jun, 2013 1 commit
  16. 17 Jun, 2013 4 commits