Opened 11 years ago

Last modified 9 years ago

#1205 new defect

IZ264: path_alias test is not working!

Reported by: pollinger Owned by:
Priority: high Milestone:
Component: testsuite Version: current
Severity: Keywords: tests
Cc:

Description

[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=264]

        Issue #:      264              Platform:     All           Reporter: pollinger (pollinger)
       Component:     testsuite           OS:        All
     Subcomponent:    tests            Version:      current          CC:    None defined
        Status:       RESOLVED         Priority:     P2
      Resolution:     WORKSFORME      Issue type:    DEFECT
                                   Target milestone: milestone 1
      Assigned to:    issues@testsuite
      QA Contact:     joga
          URL:
       * Summary:     path_alias test is not working!
   Status whiteboard:
      Attachments:

     Issue 264 blocks:
   Votes for issue 264:     Vote for this issue


   Opened: Mon Nov 17 09:35:00 -0700 2008 
------------------------


The path_alias test is currently not working. It doesn't really test the path
aliasing for qsub and qsh and it wrongly finds errors on some hosts where
everything works fine.

The test relies on the test hosts having automounter prefixes, otherwise it
won't test anything, but the test is written in a way that it doesn't matter if
the prefixes are replaced by the path aliases functionality or not.

Path aliasing must be tested in a reproducible way. This means the test must
create a directory on a local, not prefixed drive and submit the test job from
there with the "-cwd" option. On the execution host, the test must create
another local directory (with a completely different name), and the aliasing
must map between these two directories.

The test succeeds when "pwd" is executed on the exec host and it prints exactly
the name of the directory on the execution host.

This test should be done for several cases, i.e. only the first directory name
of a directory tree is different or the whole directory tree is different. The
test should also test if the host list in the sge_aliases file is obeyed
correctly. Of course, in all cases the output has to be parsed and checked.

   ------- Additional comments from crei Wed Nov 19 02:01:23 -0700 2008 -------
Test is working and testing minimal host aliases setup.

Change History (0)

Note: See TracTickets for help on using tickets.