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

missing tailing newspace in test programs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • Lustre 2.17.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In some test programs under lustre/tests directory, fprintf(stderr) does not print tailing newspace, which causes confusion in the log. The following is an example:

      du: cannot access '/mnt/lustre/f71d.sanityn': No such file or directory
      file size: 
      cannot open /mnt/lustre/f71d.sanityn for reading, error 2 sanityn test_71d: @@@@@@ FAIL: checkfiemap failed 
      ^^^^^fprintf(sderr) in checkfiemap.c ^^^^^^^^^^^^^^^^^^^|^^^^^ error "checkfiemap failed" ^^^
        Trace dump:
        = /usr/lib64/lustre/tests/test-framework.sh:6754:error()
        = /usr/lib64/lustre/tests/sanityn.sh:3765:test_71d()
        = /usr/lib64/lustre/tests/test-framework.sh:7118:run_one()
        = /usr/lib64/lustre/tests/test-framework.sh:7168:run_one_logged()
        = /usr/lib64/lustre/tests/test-framework.sh:7001:run_test()
        = /usr/lib64/lustre/tests/sanityn.sh:3767:main()
      

      Attachments

        Activity

          People

            lixi_wc Li Xi
            lixi_wc Li Xi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: