Closed brunopereira7 closed 4 months ago
@brunopereira7 .. the os detection can not decide which version the the right one.. (more than one match: [Ubuntu, Amazon]) .. so he use a fallback to an ubuntu version, which does not work on this linux version because libcrypto.so.1.1 is missing. If you know which linux distribution is used, you can override the os detection part (see https://github.com/flapdoodle-oss/de.flapdoodle.os?tab=readme-ov-file#run) .. if you then still get a "libcrypto.so.1.1" error message, use a newer mongodb (7.x.x)
@michaelmosmann Thanks for your comment. I will then override the os detection.
@brunopereira7 do you know which linux distribution is used? maybe there is a bug..
I believe this is a bug. We were using flapdoodle version 3.5.0 before and even though two distributions were detected [Ubuntu, Amazon], it was able to fallback to one of them arbitrarely, namely Linux X86_64 Ubuntu 22.04.
Now it seems that the LinuxPackageFinder only detects the common parameters (not sure about this?), i.e. OS and architecture: V7_0:Platform{operatingSystem=Linux, architecture=X86_64} and therefore fallbacks to Ubuntu 20.04 in the end.
In our case we could override the platform to use 22.04, but we unfortunately use multiple environments (one Ubuntu 22.04 and another 20.04). Do you have any advice on how to handle this situation? Would it be possible to choose one of the distributions available detected by PeculiarityInspector?
@ygoumaz i think this is a bug, the override should happen before any detection .. do you have any logging?
@ygoumaz there is a new release.. now the best match is used, so in this case ubuntu.. maybe this solves your issue..
Hi, first of all, thanks for all the work done here :)
I'm using it for the first time, and even if it's working well on my machine: operatingSystem=OS_X, architecture=X86_64, MAC M1
Versions: SpringBoot: 3.2.5 Java 21
When I execute the same unit tests on Github/GithubActions, they fail. I've tried different combinations of the Flapdoodle and Mongodb (5.0.5, 6.0.4, 7.X) versions without success. Do you have any clues/insights?
pom.xml
application-ut.yml
Execution Logs: