You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Berezhniuk (JIRA)" <ji...@apache.org> on 2007/12/18 16:20:43 UTC

[jira] Created: (HARMONY-5324) [buildtest][eut] Several coreresources tests ignore java.io.tmpdir property

[buildtest][eut] Several coreresources tests ignore java.io.tmpdir property
---------------------------------------------------------------------------

                 Key: HARMONY-5324
                 URL: https://issues.apache.org/jira/browse/HARMONY-5324
             Project: Harmony
          Issue Type: Bug
          Components: build - test - ci
         Environment: Linux
            Reporter: Ilya Berezhniuk
            Priority: Minor


The tests listed below (EUT 3.3 coreresources suite) ignore java.io.tmpdir property passed to tested VM.
On Linux these tests create files/dirs in /tmp dir. As /tmp has sticky bit, all other users trying to run EUT on the same host get failures because they cannot access/remove these files/dirs created by another user.

The tests are the following:
---------------------
org.eclipse.core.tests.internal.watson.TreeFlatteningTest.test0
org.eclipse.core.tests.resources.regression.PR_1GH2B0N_Test.test_1GH2B0N
org.eclipse.core.tests.resources.session.TestSave:test2
org.eclipse.core.tests.resources.session.Test1G1N9GZ:test2
org.eclipse.core.tests.resources.session.TestCloseNoSave:test2
org.eclipse.core.tests.resources.session.TestMultiSnap:test2
org.eclipse.core.tests.resources.session.TestSaveCreateProject:test2
org.eclipse.core.tests.resources.session.TestSaveSnap:test2
org.eclipse.core.tests.resources.session.TestSnapSaveSnap:test2
org.eclipse.core.tests.resources.session.TestClosedProjectLocation.test1
org.eclipse.core.tests.resources.session.TestClosedProjectLocation:test2
org.eclipse.core.tests.resources.session.FindDeletedMembersTest:test4
org.eclipse.core.tests.resources.session.FindDeletedMembersTest:test6
org.eclipse.core.tests.resources.session.TestBug12575:test1
org.eclipse.core.tests.resources.session.TestBug12575:test3
org.eclipse.core.tests.resources.session.TestBug113943.test1
org.eclipse.core.tests.resources.session.TestBug113943:test2
org.eclipse.core.tests.resources.usecase.SnapshotTest:test2
org.eclipse.core.tests.resources.usecase.SnapshotTest:test3
org.eclipse.core.tests.resources.usecase.SnapshotTest:test5
---------------------

I suggest adding these tests to exclude list because they are slightly incorrect and can lead to unexpected failures in normal curcumstances.

I did not check this problem on Windows; but I'm going to do so.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5324) [buildtest][eut] Several coreresources tests ignore java.io.tmpdir property

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554566 ] 

Vladimir Beliaev commented on HARMONY-5324:
-------------------------------------------

During a work on HARMONY-5303 (coreresources hang) I did not get any mess in /tmp directory after my runs which were done with java.io.tmpdir redefined.

Also I've double checked org.eclipse.core.tests.resources_3.3.0.v20070510 sources, just one class directly accesses tmp directory like:

      ./org/eclipse/core/tests/resources/IPathVariableTest.java:              IPath pathTwo = new Path("/tmp/backup");

still this class tests does not create or do anyything else with these tmp directories. Instread they test so called IPathVariableManager which is not supposed to work with real file system (if I get it correctly), so the values like "/tmp/backup" are just fine.

I vote to close this bug as INVALID.

Thanks
Vladimir Beliaev

> [buildtest][eut] Several coreresources tests ignore java.io.tmpdir property
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-5324
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5324
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: Linux
>            Reporter: Ilya Berezhniuk
>            Priority: Minor
>
> The tests listed below (EUT 3.3 coreresources suite) ignore java.io.tmpdir property passed to tested VM.
> On Linux these tests create files/dirs in /tmp dir. As /tmp has sticky bit, all other users trying to run EUT on the same host get failures because they cannot access/remove these files/dirs created by another user.
> The tests are the following:
> ---------------------
> org.eclipse.core.tests.internal.watson.TreeFlatteningTest.test0
> org.eclipse.core.tests.resources.regression.PR_1GH2B0N_Test.test_1GH2B0N
> org.eclipse.core.tests.resources.session.TestSave:test2
> org.eclipse.core.tests.resources.session.Test1G1N9GZ:test2
> org.eclipse.core.tests.resources.session.TestCloseNoSave:test2
> org.eclipse.core.tests.resources.session.TestMultiSnap:test2
> org.eclipse.core.tests.resources.session.TestSaveCreateProject:test2
> org.eclipse.core.tests.resources.session.TestSaveSnap:test2
> org.eclipse.core.tests.resources.session.TestSnapSaveSnap:test2
> org.eclipse.core.tests.resources.session.TestClosedProjectLocation.test1
> org.eclipse.core.tests.resources.session.TestClosedProjectLocation:test2
> org.eclipse.core.tests.resources.session.FindDeletedMembersTest:test4
> org.eclipse.core.tests.resources.session.FindDeletedMembersTest:test6
> org.eclipse.core.tests.resources.session.TestBug12575:test1
> org.eclipse.core.tests.resources.session.TestBug12575:test3
> org.eclipse.core.tests.resources.session.TestBug113943.test1
> org.eclipse.core.tests.resources.session.TestBug113943:test2
> org.eclipse.core.tests.resources.usecase.SnapshotTest:test2
> org.eclipse.core.tests.resources.usecase.SnapshotTest:test3
> org.eclipse.core.tests.resources.usecase.SnapshotTest:test5
> ---------------------
> I suggest adding these tests to exclude list because they are slightly incorrect and can lead to unexpected failures in normal curcumstances.
> I did not check this problem on Windows; but I'm going to do so.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-5324) [buildtest][eut] Several coreresources tests ignore java.io.tmpdir property

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Berezhniuk closed HARMONY-5324.
------------------------------------

    Resolution: Invalid

I've got this problem while running EUT on the host where these temporary dirs in /tmp were already created by another user.

After updating build.xml I don't see these errors anymore.
Probably this was because of wrong my own settings for java.io.tmpdir.

Closing as invalid.

> [buildtest][eut] Several coreresources tests ignore java.io.tmpdir property
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-5324
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5324
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: Linux
>            Reporter: Ilya Berezhniuk
>            Priority: Minor
>
> The tests listed below (EUT 3.3 coreresources suite) ignore java.io.tmpdir property passed to tested VM.
> On Linux these tests create files/dirs in /tmp dir. As /tmp has sticky bit, all other users trying to run EUT on the same host get failures because they cannot access/remove these files/dirs created by another user.
> The tests are the following:
> ---------------------
> org.eclipse.core.tests.internal.watson.TreeFlatteningTest.test0
> org.eclipse.core.tests.resources.regression.PR_1GH2B0N_Test.test_1GH2B0N
> org.eclipse.core.tests.resources.session.TestSave:test2
> org.eclipse.core.tests.resources.session.Test1G1N9GZ:test2
> org.eclipse.core.tests.resources.session.TestCloseNoSave:test2
> org.eclipse.core.tests.resources.session.TestMultiSnap:test2
> org.eclipse.core.tests.resources.session.TestSaveCreateProject:test2
> org.eclipse.core.tests.resources.session.TestSaveSnap:test2
> org.eclipse.core.tests.resources.session.TestSnapSaveSnap:test2
> org.eclipse.core.tests.resources.session.TestClosedProjectLocation.test1
> org.eclipse.core.tests.resources.session.TestClosedProjectLocation:test2
> org.eclipse.core.tests.resources.session.FindDeletedMembersTest:test4
> org.eclipse.core.tests.resources.session.FindDeletedMembersTest:test6
> org.eclipse.core.tests.resources.session.TestBug12575:test1
> org.eclipse.core.tests.resources.session.TestBug12575:test3
> org.eclipse.core.tests.resources.session.TestBug113943.test1
> org.eclipse.core.tests.resources.session.TestBug113943:test2
> org.eclipse.core.tests.resources.usecase.SnapshotTest:test2
> org.eclipse.core.tests.resources.usecase.SnapshotTest:test3
> org.eclipse.core.tests.resources.usecase.SnapshotTest:test5
> ---------------------
> I suggest adding these tests to exclude list because they are slightly incorrect and can lead to unexpected failures in normal curcumstances.
> I did not check this problem on Windows; but I'm going to do so.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5324) [buildtest][eut] Several coreresources tests ignore java.io.tmpdir property

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553354 ] 

Vladimir Beliaev commented on HARMONY-5324:
-------------------------------------------

Thanks, Ilya.

These tests normally passed during CC run, so we can't put it to EFL just for fun...

If you know the exat name of directory which is created by coreresources on Linux (/tmp/dirs ?) then I can add a check to tests/eut/build.xml before this suite run that such a directory does not exist or try to remove it... 

Please also write if Windows is affacted. It would be right to show the issue in test sources (file name, line) and file the related bug to Eclipse.org bugzilla.

> [buildtest][eut] Several coreresources tests ignore java.io.tmpdir property
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-5324
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5324
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: Linux
>            Reporter: Ilya Berezhniuk
>            Priority: Minor
>
> The tests listed below (EUT 3.3 coreresources suite) ignore java.io.tmpdir property passed to tested VM.
> On Linux these tests create files/dirs in /tmp dir. As /tmp has sticky bit, all other users trying to run EUT on the same host get failures because they cannot access/remove these files/dirs created by another user.
> The tests are the following:
> ---------------------
> org.eclipse.core.tests.internal.watson.TreeFlatteningTest.test0
> org.eclipse.core.tests.resources.regression.PR_1GH2B0N_Test.test_1GH2B0N
> org.eclipse.core.tests.resources.session.TestSave:test2
> org.eclipse.core.tests.resources.session.Test1G1N9GZ:test2
> org.eclipse.core.tests.resources.session.TestCloseNoSave:test2
> org.eclipse.core.tests.resources.session.TestMultiSnap:test2
> org.eclipse.core.tests.resources.session.TestSaveCreateProject:test2
> org.eclipse.core.tests.resources.session.TestSaveSnap:test2
> org.eclipse.core.tests.resources.session.TestSnapSaveSnap:test2
> org.eclipse.core.tests.resources.session.TestClosedProjectLocation.test1
> org.eclipse.core.tests.resources.session.TestClosedProjectLocation:test2
> org.eclipse.core.tests.resources.session.FindDeletedMembersTest:test4
> org.eclipse.core.tests.resources.session.FindDeletedMembersTest:test6
> org.eclipse.core.tests.resources.session.TestBug12575:test1
> org.eclipse.core.tests.resources.session.TestBug12575:test3
> org.eclipse.core.tests.resources.session.TestBug113943.test1
> org.eclipse.core.tests.resources.session.TestBug113943:test2
> org.eclipse.core.tests.resources.usecase.SnapshotTest:test2
> org.eclipse.core.tests.resources.usecase.SnapshotTest:test3
> org.eclipse.core.tests.resources.usecase.SnapshotTest:test5
> ---------------------
> I suggest adding these tests to exclude list because they are slightly incorrect and can lead to unexpected failures in normal curcumstances.
> I did not check this problem on Windows; but I'm going to do so.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.