Not able to run in Linux amd64 3.10.0-957.27.2.el7.x86_64
See original GitHub issueI have a spring boot project with one dao module containing unit tests using de.flapdoodle.embeded.mongo the dao module itself is not a spring boot application but it is just a maven module so the unit tests are not using the spring boot @DataMongoTest but are simple @SpringJUnitConfig test using a config similar to the config explained here https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/blob/master/README.md
with spring boot 2.6.2 we had de.flapdoodle.embeded.mongo:3.0.0 and the Unit tests was working fine after upgrading spring boot to 2.7.0 … de.flapdoodle.embeded.mongo is upgraded to 3.4.5 … the unit tests are working in the local environnement (windows) but not in the build environnement (Linux amd64 3.10.0-957.27.2.el7.x86_64)
same probleme with de.flapdoodle.embeded.mongo:3.4.6
here is all the interresting logs with the exception stacktrace, os infos and de.flapdoodle.os.explain and de.flapdoodle.os.common.attribute logs
12:21:18.563 [main] INFO com.xxx.yyy.data.repository.ContactMongoTemplateRepositoryImplTest - os.name = Linux
12:21:18.564 [main] INFO com.xxx.yyy.data.repository.ContactMongoTemplateRepositoryImplTest - os.arch = amd64
12:21:18.564 [main] INFO com.xxx.yyy.data.repository.ContactMongoTemplateRepositoryImplTest - os.version = 3.10.0-957.27.2.el7.x86_64
..
12:21:18.659 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.name}: Optional[SystemPropertyResolver]
12:21:18.663 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=Linux}: Optional[PatternMatcher]
12:21:18.665 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[Linux] matches MatchPattern{pattern=Linux}: true
12:21:18.665 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.name}: Optional[SystemPropertyResolver]
12:21:18.665 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=Windows.*}: Optional[PatternMatcher]
12:21:18.665 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[Linux] matches MatchPattern{pattern=Windows.*}: false
12:21:18.665 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.name}: Optional[SystemPropertyResolver]
12:21:18.665 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=Mac OS X}: Optional[PatternMatcher]
12:21:18.665 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[Linux] matches MatchPattern{pattern=Mac OS X}: false
12:21:18.665 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.name}: Optional[SystemPropertyResolver]
12:21:18.666 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=.*SunOS.*}: Optional[PatternMatcher]
12:21:18.666 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[Linux] matches MatchPattern{pattern=.*SunOS.*}: false
12:21:18.666 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.name}: Optional[SystemPropertyResolver]
12:21:18.666 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=FreeBSD}: Optional[PatternMatcher]
12:21:18.666 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[Linux] matches MatchPattern{pattern=FreeBSD}: false
12:21:18.666 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.arch}: Optional[SystemPropertyResolver]
12:21:18.666 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=^(x8664|amd64|ia32e|em64t|x64|x86_64)$}: Optional[PatternMatcher]
12:21:18.666 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[amd64] matches MatchPattern{pattern=^(x8664|amd64|ia32e|em64t|x64|x86_64)$}: true
12:21:18.666 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.arch}: Optional[SystemPropertyResolver]
12:21:18.666 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=^(x8632|x86|i[3-6]86|ia32|x32)$}: Optional[PatternMatcher]
12:21:18.666 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[amd64] matches MatchPattern{pattern=^(x8632|x86|i[3-6]86|ia32|x32)$}: false
12:21:18.667 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.arch}: Optional[SystemPropertyResolver]
12:21:18.667 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=^aarch64$}: Optional[PatternMatcher]
12:21:18.667 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[amd64] matches MatchPattern{pattern=^aarch64$}: false
12:21:18.667 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.arch}: Optional[SystemPropertyResolver]
12:21:18.667 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=^(arm|arm32)$}: Optional[PatternMatcher]
12:21:18.667 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[amd64] matches MatchPattern{pattern=^(arm|arm32)$}: false
12:21:18.667 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.668 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=NAME, valuePattern=.*Ubuntu.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.668 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*Ubuntu.*}: true
12:21:18.668 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/centos-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.668 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=NAME, valuePattern=.*CentOS.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.668 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional.empty matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*CentOS.*}: false
12:21:18.668 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.669 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=NAME, valuePattern=.*CentOS.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.669 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*CentOS.*}: false
12:21:18.669 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.669 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=NAME, valuePattern=.*Red Hat.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.669 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*Red Hat.*}: false
12:21:18.670 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.670 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=NAME, valuePattern=.*Oracle.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.670 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*Oracle.*}: false
12:21:18.670 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.671 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=NAME, valuePattern=.*openSUSE.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.671 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*openSUSE.*}: false
12:21:18.671 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.671 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=NAME, valuePattern=.*Linux Mint.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.671 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*Linux Mint.*}: false
12:21:18.671 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.672 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=NAME, valuePattern=.*Debian.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.672 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*Debian.*}: false
12:21:18.672 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.version}: Optional[SystemPropertyResolver]
12:21:18.673 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=.*amzn.*}: Optional[PatternMatcher]
12:21:18.673 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[3.10.0-957.27.2.el7.x86_64] matches MatchPattern{pattern=.*amzn.*}: false
12:21:18.673 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.673 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q18.04\E.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.673 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q18.04\E.*}: false
12:21:18.674 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.674 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q18.10\E.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.674 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q18.10\E.*}: false
12:21:18.674 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.675 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q19.04\E.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.675 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q19.04\E.*}: false
12:21:18.675 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.675 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q19.10\E.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.675 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q19.10\E.*}: false
12:21:18.675 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.676 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q20.04\E.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.676 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q20.04\E.*}: false
12:21:18.676 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.676 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q20.10\E.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.676 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q20.10\E.*}: false
12:21:18.677 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.677 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q21.10\E.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.677 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q21.10\E.*}: false
12:21:18.677 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=US-ASCII}: Optional[MappedTextFileResolver]
12:21:18.678 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q22.04\E.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@180d918a]
12:21:18.678 [main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={NAME=Ubuntu, VERSION=16.04.3 LTS (Xenial Xerus), ID=ubuntu, ID_LIKE=debian, PRETTY_NAME=Ubuntu 16.04.3 LTS, VERSION_ID=16.04, HOME_URL=http://www.ubuntu.com/, SUPPORT_URL=http://help.ubuntu.com/, BUG_REPORT_URL=http://bugs.launchpad.net/ubuntu/, VERSION_CODENAME=xenial, UBUNTU_CODENAME=xenial}}] matches OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q22.04\E.*}: false
12:21:18.678 [main] INFO de.flapdoodle.os.Platform - Platform.detect() -> Platform{operatingSystem=Linux, architecture=X86_64, distribution=Ubuntu}
12:21:18.681 [main] WARN org.springframework.context.support.GenericApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mongoDbFactory' defined in com.xxx.yyy.data.repository.EmbeddedMongoTestConfiguration: Unsatisfied dependency expressed through method 'mongoDbFactory' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'reactiveMongoClient' defined in com.xxx.yyy.data.repository.EmbeddedMongoTestConfiguration: Unsatisfied dependency expressed through method 'reactiveMongoClient' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mongodProcess' defined in com.xxx.yyy.data.repository.EmbeddedMongoTestConfiguration: Unsatisfied dependency expressed through method 'mongodProcess' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongodExecutable' defined in com.xxx.yyy.data.repository.EmbeddedMongoTestConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [de.flapdoodle.embed.mongo.MongodExecutable]: Factory method 'mongodExecutable' threw exception; nested exception is java.lang.IllegalArgumentException: could not resolve package for PRODUCTION:Platform{operatingSystem=Linux, architecture=X86_64, distribution=Ubuntu}
--------------
(os=Windows)
(os=Windows and bitSize=B64) and (3.4.9-3.4.24 or 3.4.0-3.4.7 or 3.2.0-3.2.22 or 3.0.0-3.0.15 or 2.6.0-2.6.12)
url=/win32/mongodb-win32-x86_64-{version}.zip (ZIP)
(os=Windows and bitSize=B64) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9)
url=/windows/mongodb-windows-x86_64-{version}.zip (ZIP)
(os=Windows and bitSize=B64) and (4.2.18-4.2.19 or 4.2.5-4.2.16 or 4.2.0-4.2.3)
url=/win32/mongodb-win32-x86_64-2012plus-{version}.zip (ZIP)
(os=Windows and bitSize=B64) and (4.0.0-4.0.28 or 3.6.0-3.6.23 or 3.4.9-3.4.24 or 3.4.0-3.4.7 or 3.2.0-3.2.22 or 3.0.0-3.0.15)
url=/win32/mongodb-win32-x86_64-2008plus-ssl-{version}.zip (ZIP)
(os=Windows and bitSize=B64) and (3.4.9-3.4.24 or 3.4.0-3.4.7 or 3.2.0-3.2.22 or 3.0.0-3.0.15 or 2.6.0-2.6.12)
url=/win32/mongodb-win32-x86_64-2008plus-{version}.zip (ZIP)
(os=Windows and bitSize=B64) and (3.3.1-3.3.1 or 3.5.5-3.5.5)
url=/win32/mongodb-win32-x86_64-{version}.zip (ZIP)
(os=Windows and bitSize=B32) and (3.2.0-3.2.22 or 3.0.0-3.0.15 or 2.6.0-2.6.12)
url=/win32/mongodb-win32-i386-{version}.zip (ZIP)
(os=Windows and bitSize=B32) and (3.3.1-3.3.1 or 3.5.5-3.5.5)
url=/win32/mongodb-win32-i386-{version}.zip (ZIP)
(os=Windows)
fail
(os=OS_X)
(os=OS_X and bitSize=B64) and (4.0.0-4.0.28 or 3.6.0-3.6.23 or 3.4.9-3.4.24 or 3.4.0-3.4.7 or 3.2.0-3.2.22 or 3.0.4-3.0.15)
url=/osx/mongodb-osx-ssl-x86_64-{version}.tgz (TGZ)
(os=OS_X and bitSize=B64) and (3.5.5-3.5.5 or 3.4.9-3.4.24 or 3.4.0-3.4.7 or 3.3.1-3.3.1 or 3.2.0-3.2.22 or 3.0.0-3.0.15 or 2.6.0-2.6.12)
url=/osx/mongodb-osx-x86_64-{version}.tgz (TGZ)
(os=OS_X and bitSize=B64) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.18-4.2.19 or 4.2.5-4.2.16 or 4.2.0-4.2.3)
url=/osx/mongodb-macos-x86_64-{version}.tgz (TGZ)
(os=OS_X)
fail
(os=Linux)
(os=Linux and (version is any of Ubuntu_18_04, Ubuntu_18_10, Ubuntu_19_04, Ubuntu_19_10, Ubuntu_20_04, Ubuntu_20_10, Ubuntu_21_10, Ubuntu_22_04))
(os=Linux and bitSize=B64 and (version is any of Ubuntu_20_04, Ubuntu_20_10, Ubuntu_21_10, Ubuntu_22_04)) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9)
url=/linux/mongodb-linux-aarch64-ubuntu2004-{version}.tgz (TGZ)
(os=Linux and bitSize=B64 and (version is any of Ubuntu_20_04, Ubuntu_20_10, Ubuntu_21_10, Ubuntu_22_04)) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9)
url=/linux/mongodb-linux-x86_64-ubuntu2004-{version}.tgz (TGZ)
(os=Linux and bitSize=B64 and (version is any of Ubuntu_18_04, Ubuntu_18_10, Ubuntu_19_04, Ubuntu_19_10, Ubuntu_20_04, Ubuntu_20_10)) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.18-4.2.19 or 4.2.5-4.2.16 or 4.2.0-4.2.3)
url=/linux/mongodb-linux-aarch64-ubuntu1804-{version}.tgz (TGZ)
(os=Linux and bitSize=B64 and (version is any of Ubuntu_18_04, Ubuntu_18_10, Ubuntu_19_04, Ubuntu_19_10, Ubuntu_20_04, Ubuntu_20_10, Ubuntu_21_10, Ubuntu_22_04)) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.18-4.2.19 or 4.2.5-4.2.16 or 4.2.0-4.2.3 or 4.0.1-4.0.28 or 3.6.20-3.6.23)
url=/linux/mongodb-linux-x86_64-ubuntu1804-{version}.tgz (TGZ)
(os=Linux and (version is any of LINUX_MINT_19_0, LINUX_MINT_19_1, LINUX_MINT_19_2, LINUX_MINT_19_3, LINUX_MINT_20_0, LINUX_MINT_20_1, LINUX_MINT_20_2, LINUX_MINT_20_3))
use Ubuntu_18_04 for LINUX_MINT_19_0, LINUX_MINT_19_1, LINUX_MINT_19_2, LINUX_MINT_19_3 and Ubuntu_20_04 for LINUX_MINT_20_0, LINUX_MINT_20_1, LINUX_MINT_20_2, LINUX_MINT_20_3
(os=Linux and (version is any of DEBIAN_11, DEBIAN_10, DEBIAN_9))
(os=Linux and bitSize=B64 and (version is any of DEBIAN_9)) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.11-4.4.11 or 4.4.13-4.4.13 or 4.4.0-4.4.9 or 4.2.18-4.2.19 or 4.2.5-4.2.16 or 4.2.0-4.2.3 or 4.0.0-4.0.28 or 3.6.5-3.6.23)
url=/linux/mongodb-linux-x86_64-debian92-{version}.tgz (TGZ)
(os=Linux and bitSize=B64 and (version is any of DEBIAN_10, DEBIAN_11)) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.18-4.2.19 or 4.2.5-4.2.16 or 4.2.1-4.2.3)
url=/linux/mongodb-linux-x86_64-debian10-{version}.tgz (TGZ)
(os=Linux and (version is any of CentOS_6, CentOS_7, CentOS_8, Redhat_6, Redhat_7, Redhat_8, Oracle_6, Oracle_7, Oracle_8))
(os=Linux and bitSize=B64 and (version is any of CentOS_6, Redhat_6, Oracle_6)) and (4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.18-4.2.19 or 4.2.5-4.2.16 or 4.2.0-4.2.3 or 4.0.0-4.0.28 or 3.6.0-3.6.23 or 3.4.9-3.4.24 or 3.4.0-3.4.7 or 3.2.0-3.2.22 or 3.0.0-3.0.15)
url=/linux/mongodb-linux-x86_64-rhel62-{version}.tgz (TGZ)
(os=Linux and bitSize=B64 and (version is any of CentOS_7, Redhat_7, Oracle_7)) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.18-4.2.19 or 4.2.5-4.2.16 or 4.2.0-4.2.3 or 4.0.0-4.0.28 or 3.6.0-3.6.23 or 3.4.9-3.4.24 or 3.4.0-3.4.7 or 3.2.0-3.2.22 or 3.0.0-3.0.15)
url=/linux/mongodb-linux-x86_64-rhel70-{version}.tgz (TGZ)
(os=Linux and bitSize=B64 and (version is any of CentOS_8, Redhat_8, Oracle_8)) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.18-4.2.19 or 4.2.5-4.2.16 or 4.2.1-4.2.3 or 4.0.14-4.0.28 or 3.6.17-3.6.23 or 3.4.24-3.4.24)
url=/linux/mongodb-linux-x86_64-rhel80-{version}.tgz (TGZ)
(os=Linux and bitSize=B64 and (version is any of CentOS_8, Redhat_8, Oracle_8)) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.4-4.4.9)
url=/linux/mongodb-linux-aarch64-rhel82-{version}.tgz (TGZ)
(os=Linux and (version is any of AmazonLinux, AmazonLinux2))
(os=Linux and bitSize=B64 and (version is any of AmazonLinux2)) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.4-4.4.9 or 4.2.18-4.2.19 or 4.2.13-4.2.16)
url=/linux/mongodb-linux-aarch64-amazon2-{version}.tgz (TGZ)
(os=Linux and bitSize=B64 and (version is any of AmazonLinux2)) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.18-4.2.19 or 4.2.5-4.2.16 or 4.2.0-4.2.3 or 4.0.0-4.0.28 or 3.6.22-3.6.23)
url=/linux/mongodb-linux-x86_64-amazon2-{version}.tgz (TGZ)
(os=Linux and bitSize=B64 and (version is any of AmazonLinux)) and (5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.18-4.2.19 or 4.2.5-4.2.16 or 4.2.0-4.2.3 or 4.0.0-4.0.28 or 3.6.0-3.6.23 or 3.4.9-3.4.24 or 3.4.0-3.4.7 or 3.2.0-3.2.22 or 3.0.0-3.0.15)
url=/linux/mongodb-linux-x86_64-amazon-{version}.tgz (TGZ)
(os=Linux and bitSize=B64) and (4.0.0-4.0.28 or 3.6.0-3.6.22 or 3.4.9-3.4.23 or 3.4.0-3.4.7 or 3.2.0-3.2.21 or 3.0.0-3.0.14 or 2.6.0-2.6.12)
url=/linux/mongodb-linux-x86_64-{version}.tgz (TGZ)
(os=Linux and bitSize=B32) and (3.2.0-3.2.21 or 3.0.0-3.0.14 or 2.6.0-2.6.12)
url=/linux/mongodb-linux-i686-{version}.tgz (TGZ)
(os=Linux and bitSize=B64) and (3.3.1-3.3.1 or 3.5.5-3.5.5)
url=/linux/mongodb-linux-x86_64-{version}.tgz (TGZ)
(os=Linux and bitSize=B32) and (3.3.1-3.3.1 or 3.5.5-3.5.5)
url=/linux/mongodb-linux-i686-{version}.tgz (TGZ)
(os=Linux)
fallback to Ubuntu_20_04
(os=Solaris)
(os=Solaris and bitSize=B64) and (3.4.0-3.4.5 or 3.2.0-3.2.14 or 3.0.0-3.0.15 or 2.6.0-2.6.12)
url=/sunos5/mongodb-sunos5-x86_64-{version}.tgz (TGZ)
(os=Solaris and bitSize=B64) and (3.3.1-3.3.1 or 3.5.5-3.5.5)
url=/sunos5/mongodb-sunos5-x86_64-{version}.tgz (TGZ)
(os=Solaris)
fail
12:21:18.692 [main] ERROR org.springframework.test.context.TestContextManager - Caught exception while allowing TestExecutionListener [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@609ad016] to prepare test instance [com.xxx.yyy.data.repository.ContactMongoTemplateRepositoryImplTest@55f23335]
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132)
at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124)
at org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener.postProcessFields(MockitoTestExecutionListener.java:110)
at org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener.injectFields(MockitoTestExecutionListener.java:94)
at org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener.prepareTestInstance(MockitoTestExecutionListener.java:61)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:248)
at org.springframework.test.context.junit.jupiter.SpringExtension.postProcessTestInstance(SpringExtension.java:138)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$8(ClassBasedTestDescriptor.java:363)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.executeAndMaskThrowable(ClassBasedTestDescriptor.java:368)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeTestInstancePostProcessors$9(ClassBasedTestDescriptor.java:363)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:310)
at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
at java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestInstancePostProcessors(ClassBasedTestDescriptor.java:362)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$instantiateAndPostProcessTestInstance$6(ClassBasedTestDescriptor.java:283)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:282)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:272)
at java.base/java.util.Optional.orElseGet(Optional.java:364)
at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:271)
at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:102)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:101)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:66)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$2(NodeTestTask.java:123)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:123)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:90)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:53)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mongoDbFactory' defined in com.xxx.yyy.data.repository.EmbeddedMongoTestConfiguration: Unsatisfied dependency expressed through method 'mongoDbFactory' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'reactiveMongoClient' defined in com.xxx.yyy.data.repository.EmbeddedMongoTestConfiguration: Unsatisfied dependency expressed through method 'reactiveMongoClient' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mongodProcess' defined in com.xxx.yyy.data.repository.EmbeddedMongoTestConfiguration: Unsatisfied dependency expressed through method 'mongodProcess' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongodExecutable' defined in com.xxx.yyy.data.repository.EmbeddedMongoTestConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [de.flapdoodle.embed.mongo.MongodExecutable]: Factory method 'mongodExecutable' threw exception; nested exception is java.lang.IllegalArgumentException: could not resolve package for PRODUCTION:Platform{operatingSystem=Linux, architecture=X86_64, distribution=Ubuntu}
Issue Analytics
- State:
- Created a year ago
- Comments:21 (12 by maintainers)
Top GitHub Comments
@michaelmosmann I found the problem and in fact Flapdoodle is probably working fine. I was trying to test with MongoDB version 3.4.24 on AmazonLinux2, but such a version does not exist… After downgrading to 3.4.23 it works fine using the system properties. I didn’t test without the system properties.
Thanks for your help !
@Cimballi the problem: the only way to detect that this runs on aws is to take a look at the hostname … so maybe more than one version matches…
but you can enforce a system (on your aws machine)… see https://github.com/flapdoodle-oss/de.flapdoodle.os#run