Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2006

s_all script can leave artefacts and error incorrectly

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Am I the only one seeing this? It appears to be coming from s_copyright.

      I've been seeing some slight issues with the recent s_all changes. Basically, I end up with thousands of __wt.* files in my top level WT directory after the build completes. (These are from AWS, but I see it on my Mac too)

      $ ls __wt* | wc -l
      4264
      

      Also when I run my build script, which runs s_all every time, I am getting "errors" like this (does not matter if I clear out the __wt files or not):

      $ r -a
      rebuild 
      run s_all
      dist/s_all run started...
      ####################### ERROR ############################
      s_all run of: sh ./s_copyright resulted in:
          /home/sue/wt.1962/dist
          /home/sue/wt.1962/dist
          /home/sue/wt.1962/dist
          /home/sue/wt.1962/dist
          /home/sue/wt.1962/dist
          /home/sue/wt.1962/dist
          /home/sue/wt.1962/dist
          /home/sue/wt.1962/dist
          /home/sue/wt.1962/dist
          /home/sue/wt.1962/dist
          /home/sue/wt.1962/dist
          /home/sue/wt.1962/dist
          /home/sue/wt.1962/dist
          /home/sue/wt.1962/dist
      ...
      

      Even if I remove them all before rebuilding, I still get the s_copyright "error" above. And the error is not helpful. Each __wt file is copyright stuff (admittedly I didn't look at all 4264 files). Even if s_copyright doesn't fail I'm still left with the files.

      The handing of __wt* files in the scripts does not seem to have changed with the parallelization though so I'm not sure why they're now getting left.

            Assignee:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: