Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13853

camel-test AvailablePortFinder fails on WSL for Windows 10

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0.RC1, 3.0.0
    • tests
    • None
    • WSL: OpenJDK 1.8.0_212 and OpenJDK 11.0.4

    • Unknown

    Description

      On WSL with Ubuntu 16.04.6 LTS method getNextAvailable iterates all ports and then crashes JVM (logs in attachments).

      This can be reproduced by running AvailablePortFinderTest on one of these platforms.

      We can take a look to other implementations, if they performs better and are usable on all supported OS.

      //Edit: Removed W10 from environments, as I cannot reproduce it again. On WSL it is reproducible always.

       

      Attachments

        1. console.log
          8 kB
          Jan Bednar
        2. hs_err_pid9023.log
          51 kB
          Jan Bednar
        3. replay_pid9023.log
          155 kB
          Jan Bednar

        Issue Links

          Activity

            People

              bedla Jan Bednar
              bedla Jan Bednar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m