Commit graph

594 commits

Author SHA1 Message Date
Oleksandr Kolomiiets
083a2bfb1e
[8.x] Fix features for synthetic source test (#114070) (#114082)
* Fix features for synthetic source test (#114070)

* Unmute test
2024-10-04 09:38:51 +10:00
Mike Pellegrini
474a3c4a61
Mute MixedClusterClientYamlTestSuiteIT test {p0=indices.create/20_synthetic_source/object array in object with dynamic override} (#114044)
Mute this test failure that is blocking the ability to merge #114027 and
#113977
2024-10-04 03:12:26 +10:00
David Kyle
5d34bcc502
[8.16][ML] Move code specific to the Elasticsearch in cluster services to those services (#113943)
* [ML] Move code specific to the Elasticsearch in cluster services to those sevices (#113749)

Remove the platform arch argument from parseRequest and move code
used by internal services out of the transport action into the service.

# Conflicts:
#	muted-tests.yml

* Bugfix by moving onResponse call into the new action listener; also add new test to catch this bug (#113898)

---------

Co-authored-by: Max Hniebergall <137079448+maxhniebergall@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-10-04 02:06:24 +10:00
john-wagster
7991169133
muting test (#114011) 2024-10-03 06:26:51 -05:00
Mark Tozzi
4e56b958f7
[ESQL] Fix sorting on CSV test (#113689) (#113698)
Resolves #113632

Fixes a test that relied on order without sorting.
2024-09-28 02:21:38 +10:00
Nikolaj Volgushev
cb41144cc2
More unsupported locales in Kerberos tests (#113354) (#113485)
This PR adds two more locales to the unsupported set. I got a complete
list this time by running through all locales.

Relates: https://github.com/elastic/elasticsearch/pull/112582 Resolves:
https://github.com/elastic/elasticsearch/issues/112631 Resolves:
https://github.com/elastic/elasticsearch/issues/112632 Resolves:
https://github.com/elastic/elasticsearch/issues/112639
2024-09-25 03:21:48 +10:00
Oleksandr Kolomiiets
7f00de11be
Unmute logsdb data generation tests (#113306) (#113321)
(cherry picked from commit 413b23a9ea)

# Conflicts:
#	muted-tests.yml

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-09-23 13:53:37 -07:00
Keith Massey
3028046f6a
muting StandardVersusLogsIndexModeRandomDataChallengeRestIT.testMatchAllQuery 2024-09-20 10:20:35 -05:00
Keith Massey
e186e40bae
muting WindowsServiceTests.test33JavaChanged 2024-09-20 09:42:03 -05:00
Pooya Salehi
83915f890f
Unmute and fix PrevalidateShardPathIT#testCheckShards (#113107) (#113114)
It seems that the hectic retrying with a new cluster state update just makes things worse. The initial deletion after the relocation might take a bit, I assume also more visible in this test because we've made shard close async in #108145. After that we just check once and if the shard dir is there we keep pushing new cluster states and checking again and this keeps failing with the check mentioned here.

I've picked a simple solution since this is a test issue and just check a bit longer before triggering the new cluster state update. I've looked into a couple of other hooks (e.g. IndexFoldersDeletionListener#beforeIndexFoldersDeleted and org.elasticsearch.indices.cluster.IndicesClusterStateService#onClusterStateShardsClosed ) to see if we could rely on them rather than the assertBusy used here. None unfortunately seem to be cleanly allow getting rid of the assertBusy. IMO, since the shard store deletion is retried and guarantees to eventually work, to avoid flaky tests, we should still keep relying on the retries initiated by the cluster state update.

I'll keep the issue open for a while before removing the extra logging. Running it locally has not failed.

Relates #111134

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-09-20 01:00:24 +10:00
Keith Massey
f14ddc2868
muting WindowsServiceTests.test30StartStop 2024-09-19 09:49:40 -05:00
Kostas Krikellas
fec667fb6c
[8.x] Retrieve the source for objects and arrays within arrays in a separate parsing phase (#113169)
* Retrieve the source for objects and arrays within arrays in a separate parsing phase (#113027)

In synthetic source, storing array elements to `_ignored_source` may
hide other, regular elements from showing up during source synthesizing.
This is due to contents from `_ignored_source` taking precedence over
matching fields from regular source loading.

To avoid this, arrays are pre-emptively tracked and marked for source
storing, if any of their elements needs to store its source. A second
doc parsing phase is introduced that checks for fields missing values
and records their source, while skipping objects and arrays that don't
contain any such fields.

Fixes #112374

(cherry picked from commit 4ff4384550)

# Conflicts:
#	muted-tests.yml

* merge

* fix compilation error, jdk-21 function
2024-09-19 14:46:19 +03:00
Stanislav Malyshev
bfef855d49
Unmute CCS tests, they should work now (#112969) (#112981) 2024-09-17 15:57:06 +10:00
Yang Wang
cd41f54a75
[Test] Increase timeout of waiting for indexing operations (#112908) (#112978)
Larger number of indexing operations can take a while to complete on
slower machines for which we need to wait for longer.

Relates: #111957 Resolves: #112423
2024-09-17 11:31:02 +10:00
elasticsearchmachine
2d09423630 Mute org.elasticsearch.smoketest.DocsClientYamlTestSuiteIT test {yaml=reference/cluster/stats/line_1450} #112732 2024-09-11 22:47:17 +10:00
Christoph Büscher
b6b0d3df36
Fix failing LangMustacheClientYamlTestSuiteIT yamlRestTestV7CompatTest (#112683)
The error message changed slightly to include the failure location. While this
was added to the main test yml file, the yamlRestTestV7CompatTest resources seem
to get copied from v7 files and we then modify them if we expect any changes.

Closes #112580
2024-09-11 14:00:15 +02:00
elasticsearchmachine
d466ad1c3c Mute org.elasticsearch.xpack.ml.integration.MlJobIT testGetJob_GivenNoSuchJob #112730 2024-09-11 14:47:59 +10:00
elasticsearchmachine
d2617a1f6f Mute org.elasticsearch.xpack.ml.integration.MlJobIT testCreateJobInSharedIndexUpdatesMapping #112729 2024-09-11 14:47:46 +10:00
Nik Everett
51c2aa146d
ESQL: Don't emit empty pages from hashes (#112601)
This stops the `BlockHash`es from emitting empty pages when the batch
size and number of results from a page lines up. It doesn't hurt the
aggs, but it was making testing more complex than we'd like.

Closes #112443
Closes #112442
2024-09-10 16:30:48 -04:00
Luigi Dell'Aquila
f6ace50953
EQL: Mute bwc tests that have incompatibilities with Java 23 (#112699)
The switch to Java 23 removed support for COMPAT locale provider, so
running old versions (< 8.15.2) in a mixed cluster will result in
different results for date format (eg. month and day names are truncated
to three letters).

Fixes https://github.com/elastic/elasticsearch/issues/112617
2024-09-11 03:37:52 +10:00
Keith Massey
66303ab5e4
Fixing a simulate ingest yaml rest test (#112686) 2024-09-10 08:54:46 -05:00
Simon Cooper
5f6bcc8e44
Unmute locale-related test (#112670) 2024-09-10 13:29:41 +01:00
elasticsearchmachine
dcb7ed2c20 Mute org.elasticsearch.xpack.ml.integration.MlJobIT testDelete_multipleRequest #112701 2024-09-10 21:19:23 +10:00
Nick Tindall
02859bad33
Re-check node cache stats before failing (#112688)
Closes #112384
2024-09-10 17:29:25 +10:00
Keith Massey
f367d2799f
Unmuting simulate ingest yaml rest test (#112684) 2024-09-09 17:01:57 -05:00
Patrick Doyle
18b187cfb0
Unmute test for issue 109315 (#112671) 2024-09-09 16:20:38 -04:00
elasticsearchmachine
c946617df7 Mute org.elasticsearch.xpack.sql.qa.single_node.JdbcSqlSpecIT test {case-functions.testUcaseInline3} #112643 2024-09-10 03:15:25 +10:00
elasticsearchmachine
f1a62a0142 Mute org.elasticsearch.xpack.sql.qa.single_node.JdbcSqlSpecIT test {case-functions.testUpperCasingTheSecondLetterFromTheRightFromFirstName} #112640 2024-09-10 03:15:13 +10:00
elasticsearchmachine
eeaf32b70d Mute org.elasticsearch.xpack.sql.qa.single_node.JdbcSqlSpecIT test {case-functions.testUcaseInline1} #112641 2024-09-10 03:15:00 +10:00
elasticsearchmachine
fe203ed6a3 Mute org.elasticsearch.xpack.sql.qa.single_node.JdbcSqlSpecIT test {case-functions.testSelectInsertWithLcaseAndLengthWithOrderBy} #112642 2024-09-10 03:14:42 +10:00
elasticsearchmachine
383b4e5041 Mute org.elasticsearch.packaging.test.PackagesSecurityAutoConfigurationTests test20SecurityNotAutoConfiguredOnReInstallation #112635 2024-09-10 02:21:21 +10:00
elasticsearchmachine
1d248d5077 Mute org.elasticsearch.xpack.security.authc.kerberos.KerberosTicketValidatorTests testKerbTicketGeneratedForDifferentServerFailsValidation #112639 2024-09-10 00:11:11 +10:00
elasticsearchmachine
d9073e4f64 Mute org.elasticsearch.xpack.security.authc.kerberos.KerberosTicketValidatorTests testValidKebrerosTicket #112632 2024-09-10 00:11:01 +10:00
elasticsearchmachine
a11ba81010 Mute org.elasticsearch.xpack.security.authc.kerberos.KerberosTicketValidatorTests testWhenKeyTabWithInvalidContentFailsValidation #112631 2024-09-10 00:10:43 +10:00
Luigi Dell'Aquila
903b6ddca8
ES|QL: Fix function metadata tests (#112662)
Just a race condition while merging two PRs (#112055 and #112350). 

Fixes #112659 Fixes #112660 Fixes #112661
2024-09-09 23:43:58 +10:00
elasticsearchmachine
6dcca8c415 Mute org.elasticsearch.xpack.esql.qa.mixed.MixedClusterEsqlSpecIT test {meta.CountFunctions ASYNC} #112661 2024-09-09 22:34:13 +10:00
elasticsearchmachine
7493de684d Mute org.elasticsearch.xpack.esql.qa.mixed.MixedClusterEsqlSpecIT test {meta.CountFunctions SYNC} #112660 2024-09-09 22:33:59 +10:00
elasticsearchmachine
67fdb84420 Mute org.elasticsearch.xpack.esql.ccq.MultiClusterSpecIT test {meta.CountFunctions} #112659 2024-09-09 22:33:43 +10:00
elasticsearchmachine
b28183e9c3 Mute org.elasticsearch.xpack.eql.EqlClientYamlIT org.elasticsearch.xpack.eql.EqlClientYamlIT #112617 2024-09-09 22:19:06 +10:00
elasticsearchmachine
5e8fd548b9 Mute org.elasticsearch.xpack.ml.integration.MlJobIT testPutJob_GivenFarequoteConfig #112382 2024-09-09 09:15:53 +10:00
elasticsearchmachine
0594d58b6a Mute org.elasticsearch.compute.aggregation.blockhash.BlockHashTests testBytesRefLongHashHugeCombinatorialExplosion {forcePackedHash=true} #112443 2024-09-08 23:22:19 +10:00
elasticsearchmachine
be1d6bd1a8 Mute org.elasticsearch.compute.aggregation.blockhash.BlockHashTests testBytesRefLongHashHugeCombinatorialExplosion {forcePackedHash=false} #112442 2024-09-08 23:22:09 +10:00
Niels Bauman
64694e30ca
Add allowed warning for index template creation (#112600)
Follow-up of #111161

Fixes #112597
2024-09-07 19:08:34 +10:00
elasticsearchmachine
daf35f349a Mute org.elasticsearch.test.rest.ClientYamlTestSuiteIT test {yaml=simulate.ingest/10_basic/Test mapping validation from templates} #112633 2024-09-07 14:29:29 +10:00
elasticsearchmachine
fca54f9cca Mute org.elasticsearch.xpack.esql.EsqlAsyncSecurityIT testIndexPatternErrorMessageComparison_ESQL_SearchDSL #112630 2024-09-07 14:26:07 +10:00
elasticsearchmachine
cce0f5e642 Mute org.elasticsearch.xpack.test.rest.XPackRestIT test {p0=terms_enum/10_basic/Test search after on unconfigured constant keyword field} #112624 2024-09-07 07:19:18 +10:00
Panagiotis Bailis
6ff02460e1
Fixing randomization issue for RankDocsSortBuilderTests (#112598)
Closes https://github.com/elastic/elasticsearch/issues/112312.

YetAnotherRandomizationIssue :) 

Under some weird seeds we could end up with 0-length `RankDoc` arrays
for both the original and the mutated `RankDocsSortBuilder` instances.
In this PR we just ensure that a 0-length mutation will not be possible.
2024-09-07 01:36:52 +10:00
elasticsearchmachine
0fa6a57535 Mute org.elasticsearch.search.basic.SearchWhileRelocatingIT testSearchAndRelocateConcurrentlyRandomReplicas #112515 2024-09-07 00:46:24 +10:00
elasticsearchmachine
73e7b737ac Mute org.elasticsearch.xpack.security.CoreWithSecurityClientYamlTestSuiteIT test {yaml=simulate.ingest/10_basic/Test mapping validation from templates} #112597 2024-09-06 23:27:23 +10:00
Craig Taverner
0ba03756aa
Prevent scaledFloat test from using too small scale factors (#112583)
Scale factors less than about 5.6e-309 will result in NaN (due to 1/scaleFactor being infinity).
We could fix this better, by detecting that the scaled result of 0 can never be scaled back to any original value other than 0 itself (due to irretrievable loss of precision).
That would require making a simple conditional check in about three places in the ScaledFloatFieldMapper class where the scaling-back is done.

But as a quick fix, we just avoid this case in the tests for now.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2024-09-06 14:53:51 +02:00