Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-171

ClusterFileTransferTestCase.testFarmDeploy fails to delete and copy

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 4.2.RC2
    • Fix Version/s: 4.2.RC5
    • Component/s: System
    • Labels:
      None
    • Environment:

      Affects Windows versions (x86_64-BEA, x86-Sun, x86-BEA, x86_64-Sun)

      Description

      This clustering test orj.jboss.test.ha.farm.test.ClusterFileTransferTestCase:
      creates a test file farmtestfile.jar on node0, waits 15 seconds and checks that the file has been propagated to node1 and that the files have equal contents
      (ii) deletes the test file on node1, waits 15 seconds and checks that the file on node0 has been deleted
      (iii) creates a file on node1, waits 15 seconds and checks that the file has been propagated to node0 and that the files have equal contents

      The test fails in a repeatable manner, although sometimes for different reasons:
      a. in some cases, the file deletion on node1 in step (ii) fails, despite the fact that the file exists
      b. in some cases, the file existence on node0 in step (iii) fails - the file just does not get propagated

      I could reproduce cases of a. in which the file was proven to exist, but the delete operation just didn't work.
      I added in try/catch to attemtp to catch a SecurityException but no such exception was thrown. It just seems as
      through the delete operation just doesn't work. I also checked the File pathname and it is in a standard Windows form.

      I have provided one failure example and attached the files:
      TEST-*.xml is the test case log
      test.log is the client side test log
      node0.output.log the serverside log for node0, and similarly for node1.

      I have also seen a message in the server side log from a farm component that the file could not be deleted. If you want I can try and reproduce that error.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rachmato Richard Achmatowicz
                  Reporter:
                  rachmato Richard Achmatowicz
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: