You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Kevin Bates (JIRA)" <ji...@apache.org> on 2016/12/06 16:05:58 UTC
[jira] [Created] (SYSTEMML-1141) Tests fail when performed within
publicly-protected directory hierarchies
Kevin Bates created SYSTEMML-1141:
-------------------------------------
Summary: 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
Priority: Minor
early 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:
```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.4#6332)