de.flapdoodle.embed.mongo: Error creating bean with name 'embeddedMongoServer' - EOF on Debian 9
Hi,
I’m using de.flapdoodle.embed:de.flapdoodle.embed.mongo:3.4.5
with springBoot=2.6.6
and springCloud=2021.0.1
. The whole configuration is in application.properties
with entry spring.mongodb.embedded.version: 5.0.0
.
Locally on Mac Intel the tests are working fine, both with spring.mongodb.embedded.version: 5.0.0
and 5.0.6
.
In CI environment, tests are failing, on both ring.mongodb.embedded.version
, with the following reason:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'embeddedMongoServer' defined in class path resource [org/springframework/boot/autoconfigure/mongo/embedded/EmbeddedMongoAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Could not start process: <EOF>
CI environment:
+ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
+ uname -a
Linux ip-xxxxxx #1 SMP Wed Mar 2 18:38:38 UTC 2022 x86_64 GNU/Linux
~/.embedmongo
directory:
~/.embedmongo/linux$ ls -alth
total 82M
drwxr-xr-x 2 centos 991 55 Apr 22 10:01 .
drwxr-xr-x 4 centos 991 36 Apr 22 10:01 ..
-rw-r--r-- 1 centos 991 82M Apr 22 10:01 mongodb-linux-x86_64-ubuntu2004-5.0.0.tgz
Could you please have a look on this?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 27 (13 by maintainers)
Commits related to this issue
- make the test work: https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/395#issuecomment-1638331115 — committed to ValentinBossi/embeddedMongoDb by ValentinBossi a year ago
@ValentinBossi both…
@ValentinBossi thanks… maybe we should move this to an extra issue… i will have a look at it…