flapdoodle-oss / de.flapdoodle.embed.mongo

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

Embedded Mongo does not work on Mac M3 Pro : java.lang.IllegalArgumentException: could not resolve package for V6_0/V7_0_RC #505

Closed nimishainjava closed 5 months ago

nimishainjava commented 8 months ago

Hello,

I am not able to resolve the below error:

Caused by: java.lang.IllegalArgumentException: could not resolve package for V6_0:Platform{operatingSystem=Linux, architecture=ARM_64, distribution=Debian, version=DEBIAN_11}

Please do let me know if I am missing anything.

        Caused by:
        java.lang.IllegalArgumentException: could not resolve package for V6_0:Platform{operatingSystem=Linux, architecture=ARM_64, distribution=Debian, version=DEBIAN_11}
        --------------
        (os=Windows)
        'WindowsPackageFinder'
          (os=Windows and bitSize=B64 and cpuType=X86) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1 or 5.0.20-rc1 or 4.4.27-rc0 or 4.4.24-rc0)
            url=/windows/mongodb-windows-x86_64-{version}.zip (ZIP(DEV))
          (os=Windows and bitSize=B64 and cpuType=X86) and (7.0.0-7.0.4 or 6.0.0-6.0.12 or 5.0.0-5.0.23 or 4.4.0-4.4.26)
            url=/windows/mongodb-windows-x86_64-{version}.zip (ZIP)
          (os=Windows and bitSize=B64 and cpuType=X86) and (4.2.5-4.2.25 or 4.2.0-4.2.3)
            url=/win32/mongodb-win32-x86_64-2012plus-{version}.zip (ZIP)
          (os=Windows and bitSize=B64 and cpuType=X86) 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 cpuType=X86) 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 cpuType=X86) 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=B32 and cpuType=X86) and (3.5.5 or 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=/win32/mongodb-win32-i386-{version}.zip (ZIP)
        (os=OS_X)
        'OSXPackageFinder'
          (os=OS_X and bitSize=B64 and cpuType=ARM) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1)
            url=/osx/mongodb-macos-arm64-{version}.tgz (TGZ(DEV))
          (os=OS_X and bitSize=B64 and cpuType=ARM) and (7.0.0-7.0.4 or 6.0.0-6.0.12)
            url=/osx/mongodb-macos-arm64-{version}.tgz (TGZ)
          (os=OS_X and bitSize=B64) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1 or 5.0.20-rc1 or 4.4.27-rc0 or 4.4.24-rc0)
            url=/osx/mongodb-macos-x86_64-{version}.tgz (TGZ(DEV))
          (os=OS_X and bitSize=B64) and (7.0.0-7.0.4 or 6.0.0-6.0.12 or 5.0.0-5.0.23 or 4.4.0-4.4.26 or 4.2.5-4.2.25 or 4.2.0-4.2.3)
            url=/osx/mongodb-macos-x86_64-{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.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=/osx/mongodb-osx-x86_64-{version}.tgz (TGZ)
        (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, Ubuntu_23_04, Ubuntu_23_10))
          'UbuntuPackageFinder'
            (os=Linux and bitSize=B64 and cpuType=ARM and (version is any of Ubuntu_22_04)) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1)
              url=/linux/mongodb-linux-aarch64-ubuntu2204-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=ARM and (version is any of Ubuntu_22_04)) and (7.0.0-7.0.4 or 6.0.4-6.0.12)
              url=/linux/mongodb-linux-aarch64-ubuntu2204-{version}.tgz (TGZ)
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of Ubuntu_22_04)) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1)
              url=/linux/mongodb-linux-x86_64-ubuntu2204-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of Ubuntu_22_04)) and (7.0.0-7.0.4 or 6.0.4-6.0.12)
              url=/linux/mongodb-linux-x86_64-ubuntu2204-{version}.tgz (TGZ)
            (os=Linux and bitSize=B64 and cpuType=ARM and (version is any of Ubuntu_20_04)) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1 or 5.0.20-rc1 or 4.4.27-rc0 or 4.4.24-rc0)
              url=/linux/mongodb-linux-aarch64-ubuntu2004-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=ARM and (version is any of Ubuntu_20_04)) and (7.0.0-7.0.4 or 6.0.0-6.0.12 or 5.0.0-5.0.23 or 4.4.0-4.4.26)
              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)) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1 or 5.0.20-rc1 or 4.4.27-rc0 or 4.4.24-rc0)
              url=/linux/mongodb-linux-x86_64-ubuntu2004-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of Ubuntu_20_04)) and (7.0.0-7.0.4 or 6.0.0-6.0.12 or 5.0.0-5.0.23 or 4.4.0-4.4.26)
              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)) and (7.0.0-rc2 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1 or 5.0.20-rc1 or 4.4.27-rc0 or 4.4.24-rc0)
              url=/linux/mongodb-linux-aarch64-ubuntu1804-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=ARM and (version is any of Ubuntu_18_04)) and (6.0.0-6.0.12 or 5.0.0-5.0.23 or 4.4.0-4.4.26 or 4.2.5-4.2.25 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)) and (7.0.0-rc2 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1 or 5.0.20-rc1 or 4.4.27-rc0 or 4.4.24-rc0)
              url=/linux/mongodb-linux-x86_64-ubuntu1804-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of Ubuntu_18_04)) and (6.0.0-6.0.12 or 5.0.0-5.0.23 or 4.4.0-4.4.26 or 4.2.5-4.2.25 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)) 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)) and (4.4.27-rc0 or 4.4.24-rc0)
              url=/linux/mongodb-linux-x86_64-ubuntu1604-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of Ubuntu_16_04)) and (4.4.0-4.4.26 or 4.2.5-4.2.25 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 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, Ubuntu_23_04, Ubuntu_23_10))
          'UbuntuVersionDowngradePackageFinder'
            use 'UbuntuPackageFinder' with Ubuntu_23_10, Ubuntu_23_04, Ubuntu_22_10, Ubuntu_22_04, Ubuntu_21_10, Ubuntu_21_04, Ubuntu_20_10, Ubuntu_20_04, Ubuntu_19_10, Ubuntu_19_04, Ubuntu_18_10, Ubuntu_18_04, Ubuntu_16_10, Ubuntu_16_04 until package found.
          (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, LINUX_MINT_21_1, LINUX_MINT_21_2, LINUX_MINT_21_3))
            use 'UbuntuVersionDowngradePackageFinder' with 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, LINUX_MINT_21_1, LINUX_MINT_21_2, LINUX_MINT_21_3
          (os=Linux and (version is any of POP_OS_22_4))
            use 'UbuntuVersionDowngradePackageFinder' with Ubuntu_22_04 for POP_OS_22_4
          (os=Linux and (version is any of DEBIAN_12, DEBIAN_13))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of DEBIAN_12, DEBIAN_13)) and (7.2.0-rc3)
              url=/linux/mongodb-linux-x86_64-debian12-{version}.tgz (TGZ(DEV))
          (os=Linux and (version is any of DEBIAN_12, DEBIAN_13))
            use 'UbuntuVersionDowngradePackageFinder' with Ubuntu_22_04 for DEBIAN_12, DEBIAN_13
          (os=Linux and (version is any of DEBIAN_9, DEBIAN_10, DEBIAN_11, DEBIAN_12, DEBIAN_13))
          'DebianPackageFinder'
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of DEBIAN_12)) and (7.2.0-rc3)
              url=/linux/mongodb-linux-x86_64-debian12-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of DEBIAN_11)) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1 or 5.0.20-rc1)
              url=/linux/mongodb-linux-x86_64-debian11-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of DEBIAN_11)) and (7.0.0-7.0.4 or 6.0.0-6.0.12 or 5.0.8-5.0.23)
              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)) and (7.0.0-rc2 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1 or 5.0.20-rc1 or 4.4.27-rc0 or 4.4.24-rc0)
              url=/linux/mongodb-linux-x86_64-debian10-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of DEBIAN_10)) and (6.0.0-6.0.12 or 5.0.0-5.0.23 or 4.4.0-4.4.26 or 4.2.5-4.2.25 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.20-rc1 or 4.4.27-rc0 or 4.4.24-rc0)
              url=/linux/mongodb-linux-x86_64-debian92-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of DEBIAN_9)) and (5.0.0-5.0.23 or 4.4.0-4.4.26 or 4.2.5-4.2.25 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 DEBIAN_9, DEBIAN_10, DEBIAN_11, DEBIAN_12, DEBIAN_13))
          'DebianVersionDowngradePackageFinder'
            use 'DebianPackageFinder' with DEBIAN_13, DEBIAN_12, DEBIAN_11, DEBIAN_10, DEBIAN_9 until package found.
          (os=Linux and (version is any of Redhat_6, Redhat_7, Redhat_8, Redhat_9))
          'RedhatPackageFinder'
            (os=Linux and bitSize=B64 and cpuType=ARM and (version is any of Redhat_9)) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 6.0.9-rc1)
              url=/linux/mongodb-linux-aarch64-rhel90-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=ARM and (version is any of Redhat_9)) and (7.0.0-7.0.4 or 6.0.7-6.0.12)
              url=/linux/mongodb-linux-aarch64-rhel90-{version}.tgz (TGZ)
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of Redhat_9)) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1)
              url=/linux/mongodb-linux-x86_64-rhel90-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of Redhat_9)) and (7.0.0-7.0.4 or 6.0.4-6.0.12)
              url=/linux/mongodb-linux-x86_64-rhel90-{version}.tgz (TGZ)
            (os=Linux and bitSize=B64 and cpuType=ARM and (version is any of Redhat_8)) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1 or 5.0.20-rc1 or 4.4.27-rc0 or 4.4.24-rc0)
              url=/linux/mongodb-linux-aarch64-rhel82-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=ARM and (version is any of Redhat_8)) and (7.0.0-7.0.4 or 6.0.0-6.0.12 or 5.0.0-5.0.23 or 4.4.4-4.4.26)
              url=/linux/mongodb-linux-aarch64-rhel82-{version}.tgz (TGZ)
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of Redhat_8)) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1 or 5.0.20-rc1 or 4.4.27-rc0 or 4.4.24-rc0)
              url=/linux/mongodb-linux-x86_64-rhel80-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of Redhat_8)) and (7.0.0-7.0.4 or 6.0.0-6.0.12 or 5.0.0-5.0.23 or 4.4.0-4.4.26 or 4.2.5-4.2.25 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)
              url=/linux/mongodb-linux-x86_64-rhel80-{version}.tgz (TGZ)
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of Redhat_7)) and (7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1 or 5.0.20-rc1 or 4.4.27-rc0 or 4.4.24-rc0)
              url=/linux/mongodb-linux-x86_64-rhel70-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of Redhat_7)) and (7.0.0-7.0.4 or 6.0.0-6.0.12 or 5.0.0-5.0.23 or 4.4.0-4.4.26 or 4.2.5-4.2.25 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 Redhat_6)) and (4.4.27-rc0 or 4.4.24-rc0)
              url=/linux/mongodb-linux-x86_64-rhel62-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of Redhat_6)) and (4.4.0-4.4.26 or 4.2.5-4.2.25 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 (version is any of Redhat_6, Redhat_7, Redhat_8, Redhat_9))
          'RedhatVersionDowngradePackageFinder'
            use 'RedhatPackageFinder' with Redhat_9, Redhat_8, Redhat_7, Redhat_6 until package found.
          (os=Linux and (version is any of Fedora_38, Fedora_39, Fedora_40, Fedora_41))
            use 'RedhatVersionDowngradePackageFinder' with Redhat_9 for Fedora_38, Fedora_39, Fedora_40, Fedora_41
          (os=Linux and (version is any of Oracle_6, Oracle_7, Oracle_8, Oracle_9))
            use 'RedhatVersionDowngradePackageFinder' with Redhat_6 for Oracle_6 and Redhat_7 for Oracle_7 and Redhat_8 for Oracle_8 and Redhat_9 for Oracle_9
          (os=Linux and (version is any of CentOS_6, CentOS_7, CentOS_8, CentOS_9))
            use 'RedhatVersionDowngradePackageFinder' with Redhat_6 for CentOS_6 and Redhat_7 for CentOS_7 and Redhat_8 for CentOS_8 and Redhat_9 for CentOS_9
          (os=Linux and (version is any of AmazonLinux, AmazonLinux2, AmazonLinux2023))
          'AmazonPackageFinder'
            (os=Linux and bitSize=B64 and cpuType=ARM and (version is any of AmazonLinux2023)) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10)
              url=/linux/mongodb-linux-aarch64-amazon2023-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=ARM and (version is any of AmazonLinux2023)) and (7.0.0-7.0.4)
              url=/linux/mongodb-linux-aarch64-amazon2023-{version}.tgz (TGZ)
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of AmazonLinux2023)) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10)
              url=/linux/mongodb-linux-x86_64-amazon2023-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of AmazonLinux2023)) and (7.0.0-7.0.4)
              url=/linux/mongodb-linux-x86_64-amazon2023-{version}.tgz (TGZ)
            (os=Linux and bitSize=B64 and cpuType=ARM and (version is any of AmazonLinux2)) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1 or 5.0.20-rc1 or 4.4.27-rc0 or 4.4.24-rc0)
              url=/linux/mongodb-linux-aarch64-amazon2-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=ARM and (version is any of AmazonLinux2)) and (7.0.0-7.0.4 or 6.0.0-6.0.12 or 5.0.0-5.0.23 or 4.4.4-4.4.26 or 4.2.13-4.2.25)
              url=/linux/mongodb-linux-aarch64-amazon2-{version}.tgz (TGZ)
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of AmazonLinux2)) and (7.2.0-rc3 or 7.1.0-7.1.1 or 7.0.3-rc1 or 7.0.0-rc8 or 7.0.0-rc2 or 7.0.0-rc10 or 7.0.0-rc1 or 6.3.1-6.3.2 or 6.0.9-rc1 or 5.0.20-rc1 or 4.4.27-rc0 or 4.4.24-rc0)
              url=/linux/mongodb-linux-x86_64-amazon2-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of AmazonLinux2)) and (7.0.0-7.0.4 or 6.0.0-6.0.12 or 5.0.0-5.0.23 or 4.4.0-4.4.26 or 4.2.5-4.2.25 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.20-rc1 or 4.4.27-rc0 or 4.4.24-rc0)
              url=/linux/mongodb-linux-x86_64-amazon-{version}.tgz (TGZ(DEV))
            (os=Linux and bitSize=B64 and cpuType=X86 and (version is any of AmazonLinux)) and (5.0.0-5.0.23 or 4.4.0-4.4.26 or 4.2.5-4.2.25 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)
          'LinuxLegacyPackageFinder'
            (os=Linux and bitSize=B64 and cpuType=X86) and (4.0.0-4.0.28 or 3.6.0-3.6.23 or 3.5.5 or 3.4.9-3.4.24 or 3.4.0-3.4.7 or 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=/linux/mongodb-linux-x86_64-{version}.tgz (TGZ)
            (os=Linux and bitSize=B32 and cpuType=X86) and (3.5.5 or 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=/linux/mongodb-linux-i686-{version}.tgz (TGZ)
          (os=Linux)
            fallback to Ubuntu_20_04 using 'UbuntuVersionDowngradePackageFinder'
        (os=Solaris)
        'SolarisPackageFinder'
          (os=Solaris and bitSize=B64 and cpuType=X86) and (3.5.5 or 3.4.0-3.4.5 or 3.3.1 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)
            at de.flapdoodle.embed.mongo.packageresolver.PlatformPackageResolver.lambda$packageFor$0(PlatformPackageResolver.java:63)
            at java.base/java.util.Optional.orElseThrow(Optional.java:403)
            at de.flapdoodle.embed.mongo.packageresolver.PlatformPackageResolver.packageFor(PlatformPackageResolver.java:57)
            at de.flapdoodle.embed.mongo.transitions.PackageOfCommandDistribution.packageOf(PackageOfCommandDistribution.java:53)
            at de.flapdoodle.embed.mongo.transitions.PackageOfCommandDistribution.result(PackageOfCommandDistribution.java:93)
            at de.flapdoodle.reverse.TransitionWalker.resolve(TransitionWalker.java:58)
            at de.flapdoodle.reverse.TransitionWalker.resolve(TransitionWalker.java:46)
            at de.flapdoodle.reverse.TransitionWalker.initState(TransitionWalker.java:180)
            ... 4 more
nimishainjava commented 8 months ago
~ % gcc --version
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: arm64-apple-darwin23.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

~ % uname -mrs
Darwin 23.2.0 arm64

~ % system_profiler SPSoftwareDataType
Software:

    System Software Overview:

      System Version: macOS 14.2.1 (23C71)
      Kernel Version: Darwin 23.2.0
      Boot Volume: Macintosh HD
      Boot Mode: Normal
      Computer Name: <redacted>
      User Name: <<redacted>
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled
      Time since boot: 1 hour, 42 minutes
michaelmosmann commented 8 months ago

@nimishainjava hmm.. try V6_0_12 .. V6_0 should work, but i guess its a bug.

nimishainjava commented 8 months ago

The version used in my project was 4.7.0 So, i bumped it to the latest i.e. 4.12.0, in which v6_0 points to V6_0_12 internally. But still the same issue persists.

michaelmosmann commented 8 months ago

@nimishainjava ah.. sorry.. one minute please

michaelmosmann commented 8 months ago

@nimishainjava there is no package of mongodb for debian11 on arm, only for x86

michaelmosmann commented 8 months ago

@nimishainjava i guess you are using docker with an arm debian image.. you may choose an x86 version instead to run mongodb on debian.. or chose one of ubuntu, centos or amazon .. see supported list here: https://www.mongodb.com/try/download/community

michaelmosmann commented 8 months ago

@nimishainjava .. did this solve your issue?

nimishainjava commented 8 months ago

@michaelmosmann no the issue is still the same. I have tried using the following mongo images: 1) using platform amd64 and creating the relevant archive path at osxmongodb-macos-x86-64-6-0-6-tgz (did not work- still the same error) using flapdoodle version 4.7.0

  mongo:
    image: mongo:6.0.6
    platform: linux/amd64

2) using arm64v8 image as well and creating the relevant archive path at osxmongodb-macos-arm64-6-0-12-tgz using flapdoodle version 4.12.0

  mongo:
    image: arm64v8/mongo:6.0.12
   platform: linux/64/v8

(does not work and gives the same error)

Am I proceeding in the right direction?

michaelmosmann commented 8 months ago

@nimishainjava this is really some kind of strange..

ok.. what you may try: log into this docker images, download a matching mongodb version for this image from mongodb server (use the tgz archive version, no dep package or else), extract the archive, execute the binary.. i would expect, that this will get you some log messages directly from the binary.. or not (which i hope will not happen). This way we removed a lot of things which can go wrong.

With this we may find a mongodb version that's work and may find why its not working if my library tries to start this process..

nimishainjava commented 8 months ago

this is the output of logs that I get when i try to run the binary file:

/Users/ngp1041/Downloads/mongodb-macos-aarch64-6.0.12/bin/mongod ; exit;        
ngp1041@WHWMQXQ5L6 ~ % /Users/ngp1041/Downloads/mongodb-macos-aarch64-6.0.12/bin/mongod ; exit;
{"t":{"$date":"2024-01-17T15:17:48.817+05:30"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"thread2","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
{"t":{"$date":"2024-01-17T15:17:48.821+05:30"},"s":"I",  "c":"NETWORK",  "id":4915701, "ctx":"thread2","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":17},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":17},"outgoing":{"minWireVersion":6,"maxWireVersion":17},"isInternalClient":true}}}
{"t":{"$date":"2024-01-17T15:17:48.822+05:30"},"s":"I",  "c":"NETWORK",  "id":4648602, "ctx":"thread2","msg":"Implicit TCP FastOpen in use."}
{"t":{"$date":"2024-01-17T15:17:48.823+05:30"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"thread2","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}}
{"t":{"$date":"2024-01-17T15:17:48.823+05:30"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"thread2","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}}
{"t":{"$date":"2024-01-17T15:17:48.823+05:30"},"s":"I",  "c":"REPL",     "id":5123008, "ctx":"thread2","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"ShardSplitDonorService","namespace":"config.tenantSplitDonors"}}
{"t":{"$date":"2024-01-17T15:17:48.823+05:30"},"s":"I",  "c":"CONTROL",  "id":5945603, "ctx":"thread2","msg":"Multi threading initialized"}
{"t":{"$date":"2024-01-17T15:17:48.823+05:30"},"s":"I",  "c":"CONTROL",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":93975,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"WHWMQXQ5L6"}}
{"t":{"$date":"2024-01-17T15:17:48.823+05:30"},"s":"I",  "c":"CONTROL",  "id":23352,   "ctx":"initandlisten","msg":"Unable to resolve sysctl {sysctlName} (number) ","attr":{"sysctlName":"hw.cpufrequency"}}
{"t":{"$date":"2024-01-17T15:17:48.823+05:30"},"s":"I",  "c":"CONTROL",  "id":23351,   "ctx":"initandlisten","msg":"{sysctlName} unavailable","attr":{"sysctlName":"machdep.cpu.features"}}
{"t":{"$date":"2024-01-17T15:17:48.823+05:30"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"6.0.12","gitVersion":"21e6e8e11a45dfbdb7ca6cf95fa8c5f859e2b118","modules":[],"allocator":"system","environment":{"distarch":"aarch64","target_arch":"aarch64"}}}}
{"t":{"$date":"2024-01-17T15:17:48.823+05:30"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Mac OS X","version":"23.2.0"}}}
{"t":{"$date":"2024-01-17T15:17:48.823+05:30"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{}}}
{"t":{"$date":"2024-01-17T15:17:48.824+05:30"},"s":"I",  "c":"NETWORK",  "id":5693100, "ctx":"initandlisten","msg":"Asio socket.set_option failed with std::system_error","attr":{"note":"acceptor TCP fast open","option":{"level":6,"name":261,"data":"00 04 00 00"},"error":{"what":"set_option: Invalid argument","message":"Invalid argument","category":"asio.system","value":22}}}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"E",  "c":"CONTROL",  "id":20557,   "ctx":"initandlisten","msg":"DBException in initAndListen, terminating","attr":{"error":"NonExistentPath: Data directory /data/db not found. Create the missing directory or specify another path using (1) the --dbpath command line option, or (2) by adding the 'storage.dbPath' option in the configuration file."}}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"REPL",     "id":4784900, "ctx":"initandlisten","msg":"Stepping down the ReplicationCoordinator for shutdown","attr":{"waitTimeMillis":15000}}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"REPL",     "id":4794602, "ctx":"initandlisten","msg":"Attempting to enter quiesce mode"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"-",        "id":6371601, "ctx":"initandlisten","msg":"Shutting down the FLE Crud thread pool"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"COMMAND",  "id":4784901, "ctx":"initandlisten","msg":"Shutting down the MirrorMaestro"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"SHARDING", "id":4784902, "ctx":"initandlisten","msg":"Shutting down the WaitForMajorityService"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"NETWORK",  "id":20562,   "ctx":"initandlisten","msg":"Shutdown: going to close listening sockets"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"NETWORK",  "id":4784905, "ctx":"initandlisten","msg":"Shutting down the global connection pool"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"CONTROL",  "id":4784906, "ctx":"initandlisten","msg":"Shutting down the FlowControlTicketholder"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"-",        "id":20520,   "ctx":"initandlisten","msg":"Stopping further Flow Control ticket acquisitions."}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"NETWORK",  "id":4784918, "ctx":"initandlisten","msg":"Shutting down the ReplicaSetMonitor"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"SHARDING", "id":4784921, "ctx":"initandlisten","msg":"Shutting down the MigrationUtilExecutor"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"ASIO",     "id":22582,   "ctx":"MigrationUtil-TaskExecutor","msg":"Killing all outstanding egress activity."}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"COMMAND",  "id":4784923, "ctx":"initandlisten","msg":"Shutting down the ServiceEntryPoint"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"CONTROL",  "id":4784928, "ctx":"initandlisten","msg":"Shutting down the TTL monitor"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"CONTROL",  "id":6278511, "ctx":"initandlisten","msg":"Shutting down the Change Stream Expired Pre-images Remover"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"CONTROL",  "id":4784929, "ctx":"initandlisten","msg":"Acquiring the global lock for shutdown"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"-",        "id":4784931, "ctx":"initandlisten","msg":"Dropping the scope cache for shutdown"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"CONTROL",  "id":20565,   "ctx":"initandlisten","msg":"Now exiting"}
{"t":{"$date":"2024-01-17T15:17:48.825+05:30"},"s":"I",  "c":"CONTROL",  "id":23138,   "ctx":"initandlisten","msg":"Shutting down","attr":{"exitCode":100}}

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
Deleting expired sessions...none found.
michaelmosmann commented 8 months ago

@nimishainjava but you did not run this inside your docker image (you should download the debian version inside your docker image)?

Maybe we should recheck what we are at. So i guess you are working in an macos machine and running your test inside a docker image. Your docker image is based on debian 11.

Is this correct?

michaelmosmann commented 5 months ago

@nimishainjava i will close this issue.. reopen if needed..