Description
Reproducible locally, though seemingly a higher hit rate on CI.
initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2 13:09:10.018 [main] ERROR de.flapdoodle.embed.process.runtime.AbstractProcess - failed to call start() java.io.IOException: Cannot run program "/tmp/extract-2e34a337-c203-4b20-800a-2b345930fbcdextractmongod": error=13, Permission denied at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) ~[?:1.8.0_171] at de.flapdoodle.embed.process.runtime.ProcessControl.start(ProcessControl.java:205) ~[de.flapdoodle.embed.process-2.0.2.jar:?] at de.flapdoodle.embed.process.runtime.AbstractProcess.<init>(AbstractProcess.java:99) [de.flapdoodle.embed.process-2.0.2.jar:?] at de.flapdoodle.embed.mongo.AbstractMongoProcess.<init>(AbstractMongoProcess.java:53) [de.flapdoodle.embed.mongo-2.0.3.jar:?] at de.flapdoodle.embed.mongo.MongodProcess.<init>(MongodProcess.java:50) [de.flapdoodle.embed.mongo-2.0.3.jar:?] at de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:44) [de.flapdoodle.embed.mongo-2.0.3.jar:?] at de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:34) [de.flapdoodle.embed.mongo-2.0.3.jar:?] at de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:108) [de.flapdoodle.embed.process-2.0.2.jar:?] at org.apache.logging.log4j.mongodb2.MongoDbTestRule$1.evaluate(MongoDbTestRule.java:131) [test-classes/:?] at org.apache.logging.log4j.test.AvailablePortSystemPropertyTestRule$1.evaluate(AvailablePortSystemPropertyTestRule.java:51) [test-classes/:?] at org.junit.rules.RunRules.evaluate(RunRules.java:20) [junit-4.12.jar:4.12] at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12] at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365) [surefire-junit4-2.21.0.jar:2.21.0] at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273) [surefire-junit4-2.21.0.jar:2.21.0] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238) [surefire-junit4-2.21.0.jar:2.21.0] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159) [surefire-junit4-2.21.0.jar:2.21.0] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:379) [surefire-booter-2.21.0.jar:2.21.0] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:340) [surefire-booter-2.21.0.jar:2.21.0] at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125) [surefire-booter-2.21.0.jar:2.21.0] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:413) [surefire-booter-2.21.0.jar:2.21.0] Caused by: java.io.IOException: error=13, Permission denied at java.lang.UNIXProcess.forkAndExec(Native Method) ~[?:1.8.0_171] at java.lang.UNIXProcess.<init>(UNIXProcess.java:247) ~[?:1.8.0_171] at java.lang.ProcessImpl.start(ProcessImpl.java:134) ~[?:1.8.0_171] at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ~[?:1.8.0_171] ... 19 more [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.061 s <<< FAILURE! - in org.apache.logging.log4j.mongodb2.MongoDbTest [ERROR] org.apache.logging.log4j.mongodb2.MongoDbTest Time elapsed: 12.059 s <<< ERROR! java.io.IOException: Cannot run program "/tmp/extract-2e34a337-c203-4b20-800a-2b345930fbcdextractmongod": error=13, Permission denied Caused by: java.io.IOException: error=13, Permission denied