You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Glenn Weidner (JIRA)" <ji...@apache.org> on 2017/03/02 18:35:45 UTC

[jira] [Updated] (SYSTEMML-1141) Tests fail when performed within publicly-protected directory hierarchies

     [ https://issues.apache.org/jira/browse/SYSTEMML-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Glenn Weidner updated SYSTEMML-1141:
------------------------------------
    Fix Version/s:     (was: SystemML 1.0)
                   SystemML 0.12

> Tests fail when performed within publicly-protected directory hierarchies
> -------------------------------------------------------------------------
>
>                 Key: SYSTEMML-1141
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1141
>             Project: SystemML
>          Issue Type: Improvement
>          Components: Test
>         Environment: Unix-based environments
>            Reporter: Kevin Bates
>            Assignee: Kevin Bates
>            Priority: Minor
>             Fix For: SystemML 0.12
>
>
> Nearly 10% (536 of 5789) of the tests run via `mvn verify` fail when any of the parent directories are protected against searches by others (i.e., do not include at least read/execute for others bits).  This issue can be reproduced by changing permissions on a parent directory above target/testTemp such that public access is denied.  For example, given a directory hierarchy of /opt/repos/apache/incubator-systemml, `chmod o-rw /opt/repos` removes from others the ability to access anything under /opt/repos.  This will lead to the test's failure due to an IOException consisting of a stack caused by frame indicating the following:
> bq. Caused by: java.io.IOException: Resource file:/opt/repos/apache/incubator-systemml/target/testTemp/functions/recompile/CSVReadUnknownSizeTest/csv_read_unknown/scratch_space/_p1140_192.168.10.115/TmpOutput6/part-00000 is not publicly accessable and as such cannot be part of the public cache.
> (A simple command to reproduce this is `mvn test -e -Dtest=CSVReadUnknownSizeTest`.)
> In enterprise settings, where a different department is responsible for the security of resources, it would be helpful if the target/testTemp directory could be configurable via a runtime parameter.  This would allow enterprises to direct the tests to write to a truly temporary location where the restrictions against "others" is not a requirement.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)