flapdoodle-oss / de.flapdoodle.embed.mongo

...will provide a platform neutral way for running mongodb in unittests.
Apache License 2.0
908 stars 160 forks source link

Debian testing (bookworm) is missing #437

Closed Marthym closed 1 year ago

Marthym commented 1 year ago

Hi, thanks for your work. is there any chance to have support for debian testing ?

Same package than DEBIAN_11.

Thank you

michaelmosmann commented 1 year ago

@Marthym can do.. :)

michaelmosmann commented 1 year ago

@Marthym as a shortcut you can use a system property to "fake" your debian version to debian 11. see https://github.com/flapdoodle-oss/de.flapdoodle.os#run

michaelmosmann commented 1 year ago

@Marthym is there a line VERSION_ID=12 in /etc/os-release ?

Marthym commented 1 year ago

This is the file

PRETTY_NAME="Debian GNU/Linux bookworm/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
michaelmosmann commented 1 year ago

@Marthym ok.. can do this.. :) guess after testing there will be a VERSION_ID=12 .. so i check for this or VERSION_CODENAME=bookwork

Marthym commented 1 year ago

sounds good :) thanks

michaelmosmann commented 1 year ago

@Marthym there is a new release.. please try:)

Marthym commented 1 year ago

@michaelmosmann Tested with 4.3.1

Caused by: java.lang.IllegalArgumentException: could not resolve package for V6_0:Platform{operatingSystem=Linux, architecture=X86_64, distribution=Debian}
--------------
(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 (6.0.1-6.0.3 or 5.0.12-5.0.14 or 5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.16-4.4.18 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.22-4.2.23 or 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 cpuType=ARM) and (6.0.1-6.0.3)
    url=/osx/mongodb-macos-arm64-{version}.tgz (TGZ)
  (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 (6.0.1-6.0.3 or 5.0.12-5.0.14 or 5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.16-4.4.18 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.22-4.2.23 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_16_04, Ubuntu_16_10, Ubuntu_18_04, Ubuntu_18_10, Ubuntu_19_04, Ubuntu_19_10, Ubuntu_20_04, Ubuntu_20_10, Ubuntu_21_04, Ubuntu_21_10, Ubuntu_22_04, Ubuntu_22_10))
    (os=Linux and bitSize=B64 and cpuType=ARM and (version is any of Ubuntu_20_04, Ubuntu_20_10, Ubuntu_21_04, Ubuntu_21_10, Ubuntu_22_04, Ubuntu_22_10)) and (6.0.1-6.0.3 or 5.0.12-5.0.14 or 5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.16-4.4.18 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 cpuType=X86 and (version is any of Ubuntu_20_04, Ubuntu_20_10, Ubuntu_21_04, Ubuntu_21_10, Ubuntu_22_04, Ubuntu_22_10)) and (6.0.1-6.0.3 or 5.0.12-5.0.14 or 5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.16-4.4.18 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 cpuType=ARM and (version is any of Ubuntu_18_04, Ubuntu_18_10, Ubuntu_19_04, Ubuntu_19_10, Ubuntu_20_04, Ubuntu_20_10)) and (6.0.1-6.0.3 or 5.0.12-5.0.14 or 5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.16-4.4.18 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.22-4.2.23 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 cpuType=X86 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_04, Ubuntu_21_10, Ubuntu_22_04, Ubuntu_22_10)) and (6.0.1-6.0.3 or 5.0.12-5.0.14 or 5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.16-4.4.18 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.22-4.2.23 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 bitSize=B64 and cpuType=ARM and (version is any of Ubuntu_16_04, Ubuntu_16_10)) 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)
      url=/linux/mongodb-linux-arm64-ubuntu1604-{version}.tgz (TGZ)
    (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of Ubuntu_16_04, Ubuntu_16_10)) and (4.4.16-4.4.18 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.22-4.2.23 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.7-3.2.22)
      url=/linux/mongodb-linux-x86_64-ubuntu1604-{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, LINUX_MINT_21_0))
    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 and Ubuntu_22_04 for LINUX_MINT_21_0
  (os=Linux and (version is any of DEBIAN_12, DEBIAN_11, DEBIAN_10, DEBIAN_9))
    (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of DEBIAN_11, DEBIAN_12)) and (6.0.1-6.0.3 or 5.0.12-5.0.14)
      url=/linux/mongodb-linux-x86_64-debian11-{version}.tgz (TGZ)
    (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of DEBIAN_10, DEBIAN_11, DEBIAN_12)) and (6.0.1-6.0.3 or 5.0.12-5.0.14 or 5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.16-4.4.18 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.22-4.2.23 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 bitSize=B64 and cpuType=X86 and (version is any of DEBIAN_9)) and (5.0.12-5.0.14 or 5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.16-4.4.18 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.22-4.2.23 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 (version is any of CentOS_6, CentOS_7, CentOS_8, CentOS_9, Redhat_6, Redhat_7, Redhat_8, Redhat_9, Oracle_6, Oracle_7, Oracle_8, Oracle_9))
    (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of CentOS_6, Redhat_6, Oracle_6)) and (4.4.16-4.4.18 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.22-4.2.23 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 cpuType=X86 and (version is any of CentOS_7, Redhat_7, Oracle_7)) and (6.0.1-6.0.3 or 5.0.12-5.0.14 or 5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.16-4.4.18 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.22-4.2.23 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 cpuType=X86 and (version is any of CentOS_8, Redhat_8, Oracle_8, CentOS_9, Redhat_9, Oracle_9)) and (6.0.1-6.0.3 or 5.0.12-5.0.14 or 5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.16-4.4.18 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.22-4.2.23 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 cpuType=ARM and (version is any of CentOS_8, Redhat_8, Oracle_8, CentOS_9, Redhat_9, Oracle_9)) and (6.0.1-6.0.3 or 5.0.12-5.0.14 or 5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.16-4.4.18 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 cpuType=ARM and (version is any of AmazonLinux2)) and (6.0.1-6.0.3 or 5.0.12-5.0.14 or 5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.16-4.4.18 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.4-4.4.9 or 4.2.22-4.2.23 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 cpuType=X86 and (version is any of AmazonLinux2)) and (6.0.1-6.0.3 or 5.0.12-5.0.14 or 5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.16-4.4.18 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.22-4.2.23 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 cpuType=X86 and (version is any of AmazonLinux)) and (5.0.12-5.0.14 or 5.0.5-5.0.6 or 5.0.0-5.0.2 or 4.4.16-4.4.18 or 4.4.13-4.4.13 or 4.4.11-4.4.11 or 4.4.0-4.4.9 or 4.2.22-4.2.23 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.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 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.22 or 3.0.0-3.0.15 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

Sorry

michaelmosmann commented 1 year ago

@Marthym hmm.. does not detect Debian 12/Testing. Can you enable logging for 'de.flapdoodle.os.common.attributes' maybe this gives some hint..

Marthym commented 1 year ago

@Marthym hmm.. does not detect Debian 12/Testing. Can you enable logging for 'de.flapdoodle.os.common.attributes' maybe this gives some hint..

@michaelmosmann nope sorry no more logs in TRACE

michaelmosmann commented 1 year ago

@Marthym hmm.. I will have a look when I am at home..

Marthym commented 1 year ago

It's better with explain enable

[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.name}: Optional[SystemPropertyResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=Linux}: Optional[PatternMatcher]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[Linux] matches MatchPattern{pattern=Linux}: true
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.name}: Optional[SystemPropertyResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=Windows.*}: Optional[PatternMatcher]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[Linux] matches MatchPattern{pattern=Windows.*}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.name}: Optional[SystemPropertyResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=Mac OS X}: Optional[PatternMatcher]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[Linux] matches MatchPattern{pattern=Mac OS X}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.name}: Optional[SystemPropertyResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=.*SunOS.*}: Optional[PatternMatcher]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[Linux] matches MatchPattern{pattern=.*SunOS.*}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.name}: Optional[SystemPropertyResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=FreeBSD}: Optional[PatternMatcher]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[Linux] matches MatchPattern{pattern=FreeBSD}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.arch}: Optional[SystemPropertyResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=^(x8664|amd64|ia32e|em64t|x64|x86_64)$}: Optional[PatternMatcher]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[amd64] matches MatchPattern{pattern=^(x8664|amd64|ia32e|em64t|x64|x86_64)$}: true
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.arch}: Optional[SystemPropertyResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=^(x8632|x86|i[3-6]86|ia32|x32)$}: Optional[PatternMatcher]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[amd64] matches MatchPattern{pattern=^(x8632|x86|i[3-6]86|ia32|x32)$}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.arch}: Optional[SystemPropertyResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=^aarch64$}: Optional[PatternMatcher]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[amd64] matches MatchPattern{pattern=^aarch64$}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.arch}: Optional[SystemPropertyResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=^(arm|arm32)$}: Optional[PatternMatcher]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[amd64] matches MatchPattern{pattern=^(arm|arm32)$}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=UTF-8}: Optional[MappedTextFileResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=NAME, valuePattern=.*Ubuntu.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@4082ba93]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={PRETTY_NAME=Debian GNU/Linux bookworm/sid, NAME=Debian GNU/Linux, VERSION_CODENAME=bookworm, ID=debian, HOME_URL=https://www.debian.org/, SUPPORT_URL=https://www.debian.org/support, BUG_REPORT_URL=https://bugs.debian.org/}}] matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*Ubuntu.*}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/centos-release, converter=OsReleaseFileConverter, charset=UTF-8}: Optional[MappedTextFileResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=NAME, valuePattern=.*CentOS.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@4082ba93]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional.empty matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*CentOS.*}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=UTF-8}: Optional[MappedTextFileResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=NAME, valuePattern=.*CentOS.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@4082ba93]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={PRETTY_NAME=Debian GNU/Linux bookworm/sid, NAME=Debian GNU/Linux, VERSION_CODENAME=bookworm, ID=debian, HOME_URL=https://www.debian.org/, SUPPORT_URL=https://www.debian.org/support, BUG_REPORT_URL=https://bugs.debian.org/}}] matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*CentOS.*}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=UTF-8}: Optional[MappedTextFileResolver]
[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@4082ba93]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={PRETTY_NAME=Debian GNU/Linux bookworm/sid, NAME=Debian GNU/Linux, VERSION_CODENAME=bookworm, ID=debian, HOME_URL=https://www.debian.org/, SUPPORT_URL=https://www.debian.org/support, BUG_REPORT_URL=https://bugs.debian.org/}}] matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*Red Hat.*}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=UTF-8}: Optional[MappedTextFileResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=NAME, valuePattern=.*Oracle.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@4082ba93]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={PRETTY_NAME=Debian GNU/Linux bookworm/sid, NAME=Debian GNU/Linux, VERSION_CODENAME=bookworm, ID=debian, HOME_URL=https://www.debian.org/, SUPPORT_URL=https://www.debian.org/support, BUG_REPORT_URL=https://bugs.debian.org/}}] matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*Oracle.*}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=UTF-8}: Optional[MappedTextFileResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=NAME, valuePattern=.*openSUSE.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@4082ba93]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={PRETTY_NAME=Debian GNU/Linux bookworm/sid, NAME=Debian GNU/Linux, VERSION_CODENAME=bookworm, ID=debian, HOME_URL=https://www.debian.org/, SUPPORT_URL=https://www.debian.org/support, BUG_REPORT_URL=https://bugs.debian.org/}}] matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*openSUSE.*}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=UTF-8}: Optional[MappedTextFileResolver]
[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@4082ba93]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={PRETTY_NAME=Debian GNU/Linux bookworm/sid, NAME=Debian GNU/Linux, VERSION_CODENAME=bookworm, ID=debian, HOME_URL=https://www.debian.org/, SUPPORT_URL=https://www.debian.org/support, BUG_REPORT_URL=https://bugs.debian.org/}}] matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*Linux Mint.*}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=UTF-8}: Optional[MappedTextFileResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=NAME, valuePattern=.*Debian.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@4082ba93]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={PRETTY_NAME=Debian GNU/Linux bookworm/sid, NAME=Debian GNU/Linux, VERSION_CODENAME=bookworm, ID=debian, HOME_URL=https://www.debian.org/, SUPPORT_URL=https://www.debian.org/support, BUG_REPORT_URL=https://bugs.debian.org/}}] matches OsReleaseFileMapEntry{key=NAME, valuePattern=.*Debian.*}: true
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute SystemProperty{name=os.version}: Optional[SystemPropertyResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute MatchPattern{pattern=.*amzn.*}: Optional[PatternMatcher]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[6.0.0-5-amd64] matches MatchPattern{pattern=.*amzn.*}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=UTF-8}: Optional[MappedTextFileResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q12\E.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@4082ba93]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={PRETTY_NAME=Debian GNU/Linux bookworm/sid, NAME=Debian GNU/Linux, VERSION_CODENAME=bookworm, ID=debian, HOME_URL=https://www.debian.org/, SUPPORT_URL=https://www.debian.org/support, BUG_REPORT_URL=https://bugs.debian.org/}}] matches OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q12\E.*}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=UTF-8}: Optional[MappedTextFileResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=VERSION_CODENAME, valuePattern=\Qbookwork\E}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@4082ba93]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={PRETTY_NAME=Debian GNU/Linux bookworm/sid, NAME=Debian GNU/Linux, VERSION_CODENAME=bookworm, ID=debian, HOME_URL=https://www.debian.org/, SUPPORT_URL=https://www.debian.org/support, BUG_REPORT_URL=https://bugs.debian.org/}}] matches OsReleaseFileMapEntry{key=VERSION_CODENAME, valuePattern=\Qbookwork\E}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=UTF-8}: Optional[MappedTextFileResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q11\E.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@4082ba93]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={PRETTY_NAME=Debian GNU/Linux bookworm/sid, NAME=Debian GNU/Linux, VERSION_CODENAME=bookworm, ID=debian, HOME_URL=https://www.debian.org/, SUPPORT_URL=https://www.debian.org/support, BUG_REPORT_URL=https://bugs.debian.org/}}] matches OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q11\E.*}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=UTF-8}: Optional[MappedTextFileResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q10\E.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@4082ba93]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={PRETTY_NAME=Debian GNU/Linux bookworm/sid, NAME=Debian GNU/Linux, VERSION_CODENAME=bookworm, ID=debian, HOME_URL=https://www.debian.org/, SUPPORT_URL=https://www.debian.org/support, BUG_REPORT_URL=https://bugs.debian.org/}}] matches OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q10\E.*}: false
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$AttributeExtractorLookupWrapper - extractor for attribute MappedTextFile{name=/etc/os-release, converter=OsReleaseFileConverter, charset=UTF-8}: Optional[MappedTextFileResolver]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherLookupWrapper - matcher for attribute OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q9\E.*}: Optional[de.flapdoodle.os.common.matcher.OsReleaseFileEntryMatcher@4082ba93]
[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={PRETTY_NAME=Debian GNU/Linux bookworm/sid, NAME=Debian GNU/Linux, VERSION_CODENAME=bookworm, ID=debian, HOME_URL=https://www.debian.org/, SUPPORT_URL=https://www.debian.org/support, BUG_REPORT_URL=https://bugs.debian.org/}}] matches OsReleaseFileMapEntry{key=VERSION_ID, valuePattern=\Q9\E.*}: false
[main] INFO de.flapdoodle.os.Platform - Platform.detect() -> Platform{operatingSystem=Linux, architecture=X86_64, distribution=Debian}
michaelmosmann commented 1 year ago

@Marthym ah.. it does not match:

[main] INFO de.flapdoodle.os.common.attributes.LoggingWrapper$MatcherWrapper - value Optional[OsReleaseFile{attributes={PRETTY_NAME=Debian GNU/Linux bookworm/sid, NAME=Debian GNU/Linux, VERSION_CODENAME=bookworm, ID=debian, HOME_URL=https://www.debian.org/, SUPPORT_URL=https://www.debian.org/support, BUG_REPORT_URL=https://bugs.debian.org/}}] matches OsReleaseFileMapEntry{key=VERSION_CODENAME, valuePattern=\Qbookwork\E}: false

.. will fix this.

michaelmosmann commented 1 year ago

@Marthym .. typo.. i tried to match 'bookwork' not 'bookworm' .. damn.. new release ahead.. will be there tomorrow .. :)

michaelmosmann commented 1 year ago

@Marthym .. there is a new release :)

Marthym commented 1 year ago

It's OK in 4.3.3 :+1:

Thanks for all the job

michaelmosmann commented 1 year ago

@Marthym so i close this issue.. reopen if needed:)