Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-2671

test_mkdir sometimes creates dirs named '-p' in the CWD

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.4.0
    • 3
    • 6238

    Description

      # pwd
      /root/lustre-release
      # llmount.sh
      ...
      # stat -- -p
      stat: cannot stat `-p': No such file or directory
      # ONLY=120f sh lustre/tests/sanity.sh
      Logging to shared log directory: /tmp/test_logs/1359044402
      m: Checking config lustre mounted on /mnt/lustre
      Checking servers environments
      Checking clients m environments
      Using TIMEOUT=20
      enable jobstats, set job scheduler as procname_uid
      disable quota as required
      running as uid/gid/euid/egid 500/500/500/500, groups:
       [touch] [/mnt/lustre/d0_runas_test/f13293]
      only running test 120f
      excepting tests: 76 27u 42a 42b 42c 42d 45 51d 68b
      skipping tests SLOW=no: 24o 24v 27m 36f 36g 36h 51b 60c 63 64b 68 71 73 77f 78 101a 103 115 120g 124b
      preparing for tests involving mounts
      mke2fs 1.42.6.wc2 (10-Dec-2012)
      
      debug=-1
      ...............................................................................................................................................................................................................................................................................................................................................resend_count is set to 4 4
      .......resend_count is set to 10 10
      .resend_count is set to 4 4
      ...resend_count is set to 10 10
      .........
      
      == sanity test 120f: Early Lock Cancel: rename test == 10:20:06 (1359044406)
      ldlm.namespaces.lustre-MDT0000-mdc-ffff880185a70800.lru_size=400
      ldlm.namespaces.lustre-OST0000-osc-MDT0000.lru_size=400
      ldlm.namespaces.lustre-OST0000-osc-ffff880185a70800.lru_size=400
      ldlm.namespaces.lustre-OST0001-osc-MDT0000.lru_size=400
      ldlm.namespaces.lustre-OST0001-osc-ffff880185a70800.lru_size=400
      dd: opening `/mnt/lustre/d0.sanity/d120/d1/f1': No such file or directory
      dd: opening `/mnt/lustre/d0.sanity/d120/d2/f2': No such file or directory
      dd: opening `/mnt/lustre/d0.sanity/d120/d1/f1': No such file or directory
      dd: opening `/mnt/lustre/d0.sanity/d120/d2/f2': No such file or directory
      stat: cannot stat `/mnt/lustre/d0.sanity/d120/d1': No such file or directory
      stat: cannot stat `/mnt/lustre/d0.sanity/d120/d2': No such file or directory
      stat: cannot stat `/mnt/lustre/d0.sanity/d120/d1/f1': No such file or directory
      stat: cannot stat `/mnt/lustre/d0.sanity/d120/d2/f2': No such file or directory
      mv: cannot stat `/mnt/lustre/d0.sanity/d120/d1/f1': No such file or directory
      ldlm.namespaces.lustre-MDT0000-mdc-ffff880185a70800.lru_size=0
      ldlm.namespaces.lustre-OST0000-osc-MDT0000.lru_size=0
      ldlm.namespaces.lustre-OST0000-osc-ffff880185a70800.lru_size=0
      ldlm.namespaces.lustre-OST0001-osc-MDT0000.lru_size=0
      ldlm.namespaces.lustre-OST0001-osc-ffff880185a70800.lru_size=0
      Resetting fail_loc on all nodes...done.
      PASS 120f (0s)
      .............................................................................................== sanity test complete, duration 5 sec == 10:20:07 (1359044407)
      debug=super ioctl neterror warning dlmtrace error emerg ha rpctrace vfstrace config console
      #
      #
      # stat -- -p
        File: `-p'
        Size: 4096      	Blocks: 8          IO Block: 4096   directory
      Device: fc01h/64513d	Inode: 528079      Links: 2
      Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
      Access: 2013-01-24 10:20:06.593867776 -0600
      Modify: 2013-01-24 10:20:06.593867776 -0600
      Change: 2013-01-24 10:20:06.593867776 -0600
      

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: