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

fc18: sanity test_103: @@@@@@ FAIL: permissions failed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.6.0
    • Lustre 2.4.0, Lustre 2.4.1
    • 3
    • 7888

    Description

      == sanity test 103: acl test ========================================================================= 20:12:06 (1366859526)
      CMD: client-24vm3 lctl get_param -n mdt.lustre-MDT0000.identity_upcall
      CMD: client-24vm3 lctl set_param -n mdt.lustre-MDT0000.identity_upcall "/usr/sbin/l_getidentity"
      CMD: client-24vm3 lctl set_param -n mdt/lustre-MDT0000/identity_flush=-1
      performing cp ...
      [3] $ umask 022 – ok
      [4] $ mkdir d – ok
      [5] $ cd d – ok
      [6] $ touch f – ok
      [7] $ setfacl -m u:bin:rw f – ok
      [8] $ ls -l f | awk – '

      { print $1 }' – ok
      [11] $ cp f g – ok
      [12] $ ls -l g | awk – '{ print $1 }

      ' – ok
      [15] $ rm g – ok
      [16] $ cp -p f g – ok
      [17] $ ls -l f | awk – '

      { print $1 }

      ' – ok
      [20] $ mkdir h – ok
      [21] $ echo blubb > h/x – ok
      [22] $ cp -rp h i – ok
      [23] $ cat i/x – ok
      [26] $ rm -r i – ok
      [31] $ setfacl -R -m u:bin:rwx h – ok
      [32] $ getfacl --omit-header h/x – ok
      [40] $ cp -rp h i – ok
      [41] $ getfacl --omit-header i/x – ok
      [49] $ cd .. – ok
      [50] $ rm -r d – ok
      22 commands (22 passed, 0 failed)
      performing getfacl-noacl...
      [4] $ mkdir test – ok
      [5] $ cd test – ok
      [6] $ umask 027 – ok
      [7] $ touch x – ok
      [8] $ getfacl --omit-header x – ok
      [14] $ getfacl --omit-header --access x – ok
      [20] $ getfacl --omit-header -d x – ok
      [21] $ getfacl --omit-header -d . – ok
      [22] $ getfacl --omit-header -d / – ok
      [25] $ getfacl --skip-base x – ok
      [26] $ getfacl --omit-header --all-effective x – ok
      [32] $ getfacl --omit-header --no-effective x – ok
      [38] $ mkdir d – ok
      [39] $ touch d/y – ok
      [46] $ getfacl -dRP . | grep file | sort – ok
      [51] $ ln -s d l – ok
      [53] $ ln -s l ll – ok
      [62] $ rm l ll x – ok
      [63] $ rm -rf d – ok
      [64] $ cd .. – ok
      [65] $ rmdir test – ok
      21 commands (21 passed, 0 failed)
      performing misc...
      [6] $ umask 027 – ok
      [7] $ touch f – ok
      [10] $ setfacl -m u::r f – ok
      [11] $ setfacl -m u::rw,u:bin:rw f – ok
      [12] $ ls -dl f | awk '

      {print $1}' – ok
      [15] $ getfacl --omit-header f – ok
      [23] $ rm f – ok
      [24] $ umask 022 – ok
      [25] $ touch f – ok
      [26] $ setfacl -m u:bin:rw f – ok
      [27] $ ls -dl f | awk '{print $1}

      ' – ok
      [30] $ getfacl --omit-header f – ok
      [38] $ rm f – ok
      [39] $ umask 027 – ok
      [40] $ mkdir d – ok
      [41] $ setfacl -m u:bin:rwx d – ok
      [42] $ ls -dl d | awk '

      {print $1}' – ok
      [45] $ getfacl --omit-header d – ok
      [53] $ rmdir d – ok
      [54] $ umask 022 – ok
      [55] $ mkdir d – ok
      [56] $ setfacl -m u:bin:rwx d – ok
      [57] $ ls -dl d | awk '{print $1}

      ' – ok
      [60] $ getfacl --omit-header d – ok
      [68] $ rmdir d – ok
      [73] $ umask 022 – ok
      [74] $ touch f – ok
      [75] $ setfacl -m u:bin:rw,u:daemon:r f – ok
      [76] $ ls -dl f | awk '

      {print $1}' – ok
      [79] $ getfacl --omit-header f – ok
      [90] $ setfacl -m g:users:rw,g:daemon:r f – ok
      [91] $ ls -dl f | awk '{print $1}

      ' – ok
      [94] $ getfacl --omit-header f – ok
      [107] $ setfacl -x g:users f – ok
      [108] $ ls -dl f | awk '

      {print $1}' – ok
      [111] $ getfacl --omit-header f – ok
      [123] $ setfacl -x u:daemon f – ok
      [124] $ ls -dl f | awk '{print $1}

      ' – ok
      [127] $ getfacl --omit-header f – ok
      [136] $ rm f – ok
      [140] $ umask 027 – ok
      [141] $ mkdir d – ok
      [142] $ setfacl -m u:bin:rwx,u:daemon:rw,d:u:bin:rwx,d:m:rx d – ok
      [143] $ ls -dl d | awk '

      {print $1}' – ok
      [146] $ getfacl --omit-header d – ok
      [162] $ umask 027 – ok
      [163] $ touch d/f – ok
      [164] $ ls -dl d/f | awk '{print $1}

      ' – ok
      [167] $ getfacl --omit-header d/f – ok
      [175] $ rm d/f – ok
      [176] $ umask 022 – ok
      [177] $ touch d/f – ok
      [178] $ ls -dl d/f | awk '

      {print $1}' – ok
      [181] $ getfacl --omit-header d/f – ok
      [189] $ rm d/f – ok
      [193] $ umask 000 – ok
      [194] $ mkdir d/d – ok
      [195] $ ls -dl d/d | awk '{print $1}

      ' – ok
      [198] $ getfacl --omit-header d/d – ok
      [211] $ rmdir d/d – ok
      [212] $ umask 022 – ok
      [213] $ mkdir d/d – ok
      [214] $ ls -dl d/d | awk '

      {print $1}' – ok
      [217] $ getfacl --omit-header d/d – ok
      [232] $ setfacl -nm u:daemon:rx,d:u:daemon:rx,g:users:rx,g:daemon:rwx d/d – ok
      [233] $ ls -dl d/d | awk '{print $1}

      ' – ok
      [236] $ getfacl --omit-header d/d – ok
      [255] $ ln -s d d/l – ok
      [256] $ ls -dl d/l | awk '

      {print $1}' – ok
      [259] $ ls -dl -L d/l | awk '{print $1}

      ' – ok
      [264] $ cd d – ok
      [265] $ getfacl --omit-header l – ok
      [282] $ cd .. – ok
      [284] $ rm d/l – ok
      [288] $ setfacl -m g:daemon:rx,u:bin:rx d/d – ok
      [289] $ ls -dl d/d | awk '

      {print $1}' – ok
      [292] $ getfacl --omit-header d/d – ok
      [309] $ setfacl -m d:u:bin:rwx d/d – ok
      [310] $ ls -dl d/d | awk '{print $1}

      ' – ok
      [313] $ getfacl --omit-header d/d – ok
      [330] $ rmdir d/d – ok
      [334] $ setfacl -k d – ok
      [335] $ ls -dl d | awk '

      {print $1}' – ok
      [338] $ getfacl --omit-header d – ok
      [349] $ setfacl -b d – ok
      [350] $ ls -dl d | awk '{print $1}

      ' – ok
      [353] $ getfacl --omit-header d – ok
      [361] $ chmod 775 d – ok
      [362] $ ls -dl d | awk '

      {print $1}' – ok
      [365] $ getfacl --omit-header d – ok
      [371] $ rmdir d – ok
      [372] $ umask 002 – ok
      [373] $ mkdir d – ok
      [374] $ setfacl -m u:daemon:rwx,u:bin:rx,d:u:daemon:rwx,d:u:bin:rx d – ok
      [375] $ ls -dl d | awk '{print $1}

      ' – ok
      [378] $ getfacl --omit-header d – ok
      [393] $ chmod 750 d – ok
      [394] $ ls -dl d | awk '

      {print $1}' – ok
      [397] $ getfacl --omit-header d – ok
      [412] $ chmod 750 d – ok
      [413] $ ls -dl d | awk '{print $1}

      ' – ok
      [416] $ getfacl --omit-header d – ok
      [431] $ rmdir d – ok
      103 commands (103 passed, 0 failed)
      performing permissions...
      [12] $ id -u – ok
      [19] $ mkdir d – ok
      [20] $ cd d – ok
      [21] $ umask 027 – ok
      [22] $ touch f – ok
      [23] $ ls -l f | awk – '

      { print $1, $3, $4 }' – ok
      [30] $ echo root > f – ok
      [32] $ su daemon – ok
      [33] $ echo daemon >> f – ok
      [36] $ su – ok
      [42] $ chown bin:bin f – ok
      [43] $ ls -l f | awk – '{ print $1, $3, $4 }

      ' – ok
      [45] $ su bin – ok
      [46] $ echo bin >> f – ok
      [52] $ su daemon – ok
      [53] $ cat f – failed
      root ? cat: f: Permission denied
      bin ? ~
      [57] $ echo daemon >> f – ok
      [64] $ su bin – ok
      [65] $ setfacl -m u:daemon:rw f – ok
      [66] $ getfacl --omit-header f – ok
      [77] $ su daemon – ok
      [78] $ echo daemon >> f – ok
      [79] $ cat f – ok
      [88] $ su bin – ok
      [89] $ chmod g-w f – ok
      [90] $ getfacl --omit-header f – ok
      [98] $ su daemon – ok
      [99] $ echo daemon >> f – ok
      [108] $ su bin – ok
      [109] $ setfacl m u:daemon:r,g:daemon:rw,o::rw- f – ok
      [111] $ su daemon – ok
      [112] $ echo daemon >> f – ok
      [119] $ su bin – ok
      [120] $ setfacl -x u:daemon f – ok
      [122] $ su daemon – ok
      [123] $ echo daemon2 >> f – ok
      [124] $ cat f – ok
      [134] $ su bin – ok
      [135] $ setfacl -m g:daemon:r f – ok
      [137] $ su daemon – ok
      [138] $ echo daemon3 >> f – ok
      [145] $ su bin – ok
      [146] $ setfacl -x g:daemon f – ok
      [148] $ su daemon – ok
      [149] $ echo daemon4 >> f – ok
      [156] $ su – ok
      [157] $ chgrp root f – ok
      [159] $ su daemon – ok
      [160] $ echo daemon5 >> f – ok
      [161] $ cat f – ok
      [172] $ su – ok
      [173] $ setfacl -m g:bin:r,g:daemon:w f – ok
      [175] $ su daemon – ok
      [176] $ : < f – failed
      ~ ? f: Permission denied
      [177] $ : > f – ok
      [178] $ : <> f – ok
      [186] $ su – ok
      [187] $ mkdir -m 750 e – ok
      [188] $ touch e/h – ok
      [190] $ su bin – ok
      [191] $ shopt -s nullglob ; echo e/* – ok
      [194] $ echo i > e/i – ok
      [197] $ su – ok
      [198] $ setfacl -m u:bin:rx e – ok
      [200] $ su bin – ok
      [201] $ echo e/* – ok
      [208] $ touch e/i – failed
      touch: cannot touch `e/i': Permission denied ? touch: cannot touch ‘e/i’: Permission denied
      [211] $ su – ok
      [212] $ setfacl -m u:bin:rwx e – ok
      [214] $ su bin – ok
      [215] $ echo i > e/i – ok
      [220] $ su – ok
      [221] $ touch g – ok
      [222] $ ln -s g l – ok
      [223] $ setfacl -m u:bin:rw l – ok
      [224] $ ls -l g | awk – '

      { print $1, $3, $4 }' – ok
      [234] $ mknod -m 0660 hdt b 91 64 – ok
      [235] $ mknod -m 0660 null c 1 3 – ok
      [236] $ mkfifo -m 0660 fifo – ok
      [238] $ su bin – ok
      [239] $ : < hdt – ok
      [241] $ : < null – ok
      [243] $ : < fifo – ok
      [246] $ su – ok
      [247] $ setfacl -m u:bin:rw hdt null fifo – ok
      [249] $ su bin – ok
      [250] $ : < hdt – ok
      [252] $ : < null – ok
      [253] $ ( echo blah > fifo & ) ; cat fifo – ok
      [261] $ su – ok
      [262] $ mkdir -m 600 x – ok
      [263] $ chown daemon:daemon x – ok
      [264] $ echo j > x/j – ok
      [265] $ ls -l x/j | awk – '{ print $1, $3, $4 }

      ' – ok
      [268] $ setfacl -m u:daemon:r x – ok
      [270] $ ls -l x/j | awk – '

      { print $1, $3, $4 }

      ' – ok
      [274] $ echo k > x/k – ok
      [277] $ chmod 750 x – ok
      [282] $ su – ok
      [283] $ cd .. – ok
      [284] $ rm -rf d – ok
      101 commands (98 passed, 3 failed)
      sanity test_103: @@@@@@ FAIL: permissions failed
      Trace dump:
      = /usr/lib64/lustre/tests/test-framework.sh:4024:error_noexit()
      = /usr/lib64/lustre/tests/test-framework.sh:4047:error()
      = /usr/lib64/lustre/tests/sanity.sh:6298:test_103()
      = /usr/lib64/lustre/tests/test-framework.sh:4301:run_one()
      = /usr/lib64/lustre/tests/test-framework.sh:4334:run_one_logged()
      = /usr/lib64/lustre/tests/test-framework.sh:4189:run_test()
      = /usr/lib64/lustre/tests/sanity.sh:6328:main()
      Dumping lctl log to /logdir/test_logs/2013-04-24/lustre-reviews-el6-x86_64-vs-lustre-reviews-fc18-x86_64-review-2_4_1_15074_-70194495514420-185046/sanity.test_103.*.1366859530.log
      CMD: client-24vm1,client-24vm2.lab.whamcloud.com,client-24vm3,client-24vm4 /usr/sbin/lctl dk > /logdir/test_logs/2013-04-24/lustre-reviews-el6-x86_64-vs-lustre-reviews-fc18-x86_64-review-2_4_1_15074_-70194495514420-185046/sanity.test_103.debug_log.\$(hostname -s).1366859530.log;
      dmesg > /logdir/test_logs/2013-04-24/lustre-reviews-el6-x86_64-vs-lustre-reviews-fc18-x86_64-review-2_4_1_15074_-70194495514420-185046/sanity.test_103.dmesg.\$(hostname -s).1366859530.log

      https://maloo.whamcloud.com/test_sets/83b66856-ad8e-11e2-bbea-52540035b04c

      Attachments

        Issue Links

          Activity

            People

              ys Yang Sheng
              mdiep Minh Diep
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: