elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.63k stars 8.22k forks source link

Failing test: Jest Integration Tests.src/core/server/integration_tests/saved_objects/serverless/migrations - Migration actions - serverless environment updateMappings rejects if ES throws an error #176847

Closed kibanamachine closed 5 days ago

kibanamachine commented 9 months ago

A test failed on a tracked branch

Error: Command failed with exit code 125: docker run --rm --detach --interactive --tty --net elastic --env path.repo=/objectstore --env cluster.initial_master_nodes=es01,es02,es03 --env stateless.enabled=true --env stateless.object_store.type=fs --env stateless.object_store.bucket=stateless -p 127.0.0.1:9300:9300 --env discovery.seed_hosts=es02,es03 --env node.roles=["master","remote_cluster_client","ingest","index"] --env ES_JAVA_OPTS=-Xms1g -Xmx1g --env ES_LOG_STYLE=file --env cluster.name=stateless --env ingest.geoip.downloader.enabled=false --env xpack.ml.enabled=true --env xpack.security.enabled=false --env xpack.security.authc.realms.jwt.jwt1.allowed_audiences=elasticsearch --env xpack.security.authc.realms.jwt.jwt1.allowed_issuer=https://kibana.elastic.co/jwt/ --env xpack.security.authc.realms.jwt.jwt1.claims.principal=sub --env xpack.security.authc.realms.jwt.jwt1.client_authentication.type=shared_secret --env xpack.security.authc.realms.jwt.jwt1.order=-98 --env xpack.security.authc.realms.jwt.jwt1.pkc_jwkset_path=/usr/share/elasticsearch/config/secrets/jwks.json --env xpack.security.operator_privileges.enabled=true --env xpack.security.transport.ssl.enabled=true --env xpack.security.transport.ssl.keystore.path=/usr/share/elasticsearch/config/certs/elasticsearch.p12 --env xpack.security.transport.ssl.verification_mode=certificate --env xpack.searchable.snapshot.shared_cache.size=16MB --env xpack.searchable.snapshot.shared_cache.region_size=256K -p 127.0.0.1:9220:9220 --env http.port=9220 --volume /var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/.es/es_test_serverless:/objectstore:z --volume /var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/kbn-dev-utils/certs/elasticsearch.p12:/usr/share/elasticsearch/config/certs/elasticsearch.p12 --volume /var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/kbn-es/src/serverless_resources/operator_users.yml:/usr/share/elasticsearch/config/operator_users.yml --volume /var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/kbn-es/src/serverless_resources/role_mapping.yml:/usr/share/elasticsearch/config/role_mapping.yml --volume /var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/kbn-es/src/serverless_resources/service_tokens:/usr/share/elasticsearch/config/service_tokens --volume /var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/kbn-es/src/serverless_resources/users:/usr/share/elasticsearch/config/users --volume /var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/kbn-es/src/serverless_resources/users_roles:/usr/share/elasticsearch/config/users_roles --volume /var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/kbn-es/src/serverless_resources/project_roles/es/roles.yml:/usr/share/elasticsearch/config/roles.yml --volume /var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/kbn-es/src/serverless_resources/secrets.json:/usr/share/elasticsearch/config/secrets/secrets.json:z --volume /var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/kbn-es/src/serverless_resources/jwks.json:/usr/share/elasticsearch/config/secrets/jwks.json:z --name es01 --env node.name=es01 docker.elastic.co/kibana-ci/elasticsearch-serverless:latest-verified
docker: Error response from daemon: driver failed programming external connectivity on endpoint es01 (572adbf870a8771970f81ef601de669858d68ac00f841ea542288ffeeba6b418): Error starting userland proxy: listen tcp4 127.0.0.1:9300: bind: address already in use.
9c314b5bcc65a2adf76fa7a9a78c7c223a85a1ef997e329e67b7b2bab543cd53
    at makeError (/var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/node_modules/execa/index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at runServerlessEsNode (/var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/kbn-es/src/utils/docker.ts:685:22)
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/kbn-es/src/utils/docker.ts:720:7
    at async Promise.all (index 0)
    at runServerlessCluster (/var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/kbn-es/src/utils/docker.ts:718:21)
    at Cluster.runServerless (/var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/kbn-es/src/cluster.ts:549:28)
    at Object.start (/var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/core/test-helpers/core-test-helpers-kbn-server/src/create_serverless_root.ts:83:7)
    at startES (/var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/packages/core/test-helpers/core-test-helpers-kbn-server/src/create_serverless_root.ts:51:35)
    at startEs (/var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/src/core/server/integration_tests/saved_objects/serverless/migrations/actions.test.ts:19:28)
    at Object.<anonymous> (/var/lib/buildkite-agent/builds/kb-n2-4-spot-fbd1c843ff7274cb/elastic/kibana-on-merge/kibana/src/core/server/integration_tests/saved_objects/migrations/group3/actions/actions_test_suite.ts:76:54)

First failure: CI Build - main

elasticmachine commented 9 months ago

Pinging @elastic/kibana-core (Team:Core)

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

TinaHeiligers commented 3 months ago

Docker issue.

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 3 months ago

New failure: kibana-on-merge - main

kibanamachine commented 2 months ago

New failure: kibana-on-merge - 8.15

kibanamachine commented 2 months ago

New failure: kibana-on-merge - 8.15

kibanamachine commented 2 months ago

New failure: kibana-elasticsearch-snapshot-verify - 8.14

kibanamachine commented 2 months ago

New failure: kibana-elasticsearch-snapshot-verify - 8.14

kibanamachine commented 2 months ago

New failure: kibana-elasticsearch-snapshot-verify - 8.14

kibanamachine commented 2 months ago

New failure: kibana-elasticsearch-snapshot-verify - 8.14

kibanamachine commented 2 months ago

New failure: kibana-elasticsearch-snapshot-verify - 8.14

kibanamachine commented 2 months ago

New failure: kibana-elasticsearch-snapshot-verify - 8.14

kibanamachine commented 2 months ago

New failure: kibana-on-merge - 8.14

kibanamachine commented 2 months ago

New failure: kibana-on-merge - 8.14

kibanamachine commented 6 days ago

New failure: kibana-on-merge - main