### CI Link

https://gradle-enterprise.elastic.co/s/a5eowub2bcp5u/console-log?task=:x-pack:plugin:ml:test

### Repro line

./gradlew ':x-pack:plugin:ml:test' --tests "org.elasticsearch.xpack.ml.aggs.frequentitemsets.FrequentItemSetsAggregatorTests.testMixedSingleValues" -Dtests.seed=56BB3CB0A16A5D88 -Dtests.locale=lv-LV -Dtests.timezone=Asia/Calcutta -Druntime.java=17

### Does it reproduce?

Yes

### Applicable branches

main

### Failure history

https://ci-stats.elastic.co/s/jenkins/goto/c28e5460-8139-11ed-8c75-17c4c1b8664c

### Failure excerpt

```
  2> java.lang.IllegalArgumentException: 'host-2' is not an IP string literal.
        at __randomizedtesting.SeedInfo.seed([56BB3CB0A16A5D88:911A158370D678DC]:0)
        at org.elasticsearch.common.network.InetAddresses.forString(InetAddresses.java:343)
        at org.elasticsearch.search.DocValueFormat$IpDocValueFormat.parseBytesRef(DocValueFormat.java:483)
        at org.elasticsearch.search.aggregations.bucket.terms.IncludeExclude.parseForDocValues(IncludeExclude.java:557)
        at org.elasticsearch.search.aggregations.bucket.terms.IncludeExclude$SetAndRegexStringFilter.<init>(IncludeExclude.java:221)
        at org.elasticsearch.search.aggregations.bucket.terms.IncludeExclude.convertToStringFilter(IncludeExclude.java:548)
        at org.elasticsearch.xpack.ml.aggs.frequentitemsets.mr.ItemSetMapReduceValueSource$KeywordValueSource.<init>(ItemSetMapReduceValueSource.java:150)
        at org.elasticsearch.xpack.ml.aggs.frequentitemsets.mr.ItemSetMapReduceAggregator.<init>(ItemSetMapReduceAggregator.java:84)
        at org.elasticsearch.xpack.ml.aggs.frequentitemsets.FrequentItemSetsAggregatorFactory$1.<init>(FrequentItemSetsAggregatorFactory.java:125)
        at org.elasticsearch.xpack.ml.aggs.frequentitemsets.FrequentItemSetsAggregatorFactory.createInternal(FrequentItemSetsAggregatorFactory.java:122)
        at org.elasticsearch.search.aggregations.AggregatorFactory.create(AggregatorFactory.java:81)
        at org.elasticsearch.search.aggregations.AggregatorTestCase.createAggregator(AggregatorTestCase.java:255)
        at org.elasticsearch.search.aggregations.AggregatorTestCase.searchAndReduce(AggregatorTestCase.java:555)
        at org.elasticsearch.search.aggregations.AggregatorTestCase.runWithCrankyCircuitBreaker(AggregatorTestCase.java:476)
        at org.elasticsearch.search.aggregations.AggregatorTestCase.searchAndReduce(AggregatorTestCase.java:459)
        at org.elasticsearch.search.aggregations.AggregatorTestCase.testCase(AggregatorTestCase.java:652)
        at org.elasticsearch.xpack.ml.aggs.frequentitemsets.FrequentItemSetsAggregatorTests.testMixedSingleValues(FrequentItemSetsAggregatorTests.java:339)
```
x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/aggs/frequentitemsets/FrequentItemSetsAggregatorTests.java
.collect(Collectors.toList());
        
        List<FrequentItemSet> filteredExpected = new ArrayList<>();
        Set<Integer> valuesSeen = new HashSet<>();
        for (FrequentItemSet fi : filteredExpectedWithDups) {
            if (valuesSeen.add(
                fi.getFields().entrySet().stream().mapToInt(v -> Objects.hash(v.getKey(), v.getValue())).reduce(13, (t, s) -> 41 * t + s)
            )) {
                filteredExpected.add(fi);
            }
        }
        
        int additionalSetsThatShareTheSameDocCount = 0;
        if (size < filteredExpected.size()) {
            int sizeAtCut = filteredExpected.get(size - 1).getFields().size();
            int startCutPosition = size;
            while (startCutPosition < filteredExpected.size() && filteredExpected.get(startCutPosition).getFields().size() == sizeAtCut) {
                ++startCutPosition;
                ++additionalSetsThatShareTheSameDocCount;
            }
            filteredExpected = filteredExpected.subList(0, startCutPosition);
        }
        String setsAssertMessage = "expected: ["
            + Strings.collectionToDelimitedString(filteredExpected, ", ")
            + "] got ["
            + Strings.arrayToDelimitedString(actual, ", ")
            + "] parameters: minumum_support: "
            + minSupport
            + " minimum_set_size: "
            + minimumSetSize