db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DERBY-6067) JaCoCo fails with missing permissions when writing results
Date Mon, 18 Feb 2013 22:23:12 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580708#comment-13580708
] 

Kristian Waagan edited comment on DERBY-6067 at 2/18/13 10:21 PM:
------------------------------------------------------------------

Committed patch 1b to trunk with revision 1447388.

Test run (executing) at https://builds.apache.org/job/Derby-trunk-JaCoCo/15/
                
      was (Author: kristwaa):
    Committed patch 1b to trunk with revision 1447388.

Test run (executing) at https://builds.apache.org/view/A-F/view/Derby/job/Derby-trunk-JaCoCo/13/
                  
> JaCoCo fails with missing permissions when writing results
> ----------------------------------------------------------
>
>                 Key: DERBY-6067
>                 URL: https://issues.apache.org/jira/browse/DERBY-6067
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.10.0.0
>         Environment: most platforms (hopefully more details later)
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>             Fix For: 10.10.0.0
>
>         Attachments: derby-6067-1a-fix_privileges.diff, derby-6067-1b-fix_privileges.diff
>
>
> The JaCoCo targets fail on most platforms due to missing permissions, i.e. "ant jacoco-junit":
> junit-pptesting:
>     [junit] Running org.apache.derby.PackagePrivateTestSuite
>     [junit] Tests run: 67, Failures: 0, Errors: 0, Time elapsed: 22,858 sec
>     [junit] java.security.AccessControlException: access denied ("java.io.FilePermission"
"trunk\junit_20130211_1216\jacoco.exec" "write")
>     [junit]     at java.security.AccessControlContext.checkPermission(AccessControlContext.java:366)
>     [junit]     at java.security.AccessController.checkPermission(AccessController.java:555)
>     [junit]     at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
>     [junit]     at java.lang.SecurityManager.checkWrite(SecurityManager.java:979)
>     [junit]     at java.io.FileOutputStream.<init>(FileOutputStream.java:203)
>     [junit]     at org.jacoco.agent.rt.internal_5d10cad.output.FileOutput.openFile(FileOutput.java:67)
>     [junit]     at org.jacoco.agent.rt.internal_5d10cad.output.FileOutput.writeExecutionData(FileOutput.java:53)
>     [junit]     at org.jacoco.agent.rt.internal_5d10cad.Agent.shutdown(Agent.java:143)
>     [junit]     at org.jacoco.agent.rt.internal_5d10cad.Agent$1.run(Agent.java:60)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message