Open jdewinne opened 6 years ago
Something has changed in XLD engine since 8.x ... I'm investigating ...
It seems that the security policy file is not correct for this case. I think that was tightened/added in 8.0.0
cat xl-deploy.policy
grant {
permission java.security.AllPermission;
};
That's weird. That should indeed mean that all permissions are granted. Though the stacktrace claims otherwise.
is it because I'm using foreach() with parallelStream() ? https://github.com/xebialabs-community/xld-deployed-artifact-steps-plugin/blob/df331296bd3cc3c88e873eb69cdc4e0b2b3a3a3f/src/main/java/com/xebialabs/overtherepy/DirectoryChangeSet.java#L65
I have no idea, have you tried without parallel?
@hierynomus without parallelStream (parallelStream=false) it works .. any ideas why does it fail when I use parallel Streams ?
No, I actually have no idea... Might be something deep in the JVM then...
@jdewinne this commit exposes the options in the file.LargeFolder plugin : https://github.com/xebialabs-community/xld-deployed-artifact-steps-plugin/commit/036f089a2fba04a81dad9514fbdabdeac61da9f4
@bmoussaud you want me to report this with the XLD core team, so they can have a look at it why parallelStream
isn't working?
@jdewinne +1
XLD version: 8.0.0 (also reproducible on 8.1.0) How to reproduce:
file.LargeFolder
onto an overthere.Hostfile.LargeFolder
again onto the overthere.HostLog output: