Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] integration tests fail with PKIX path validation failed #1183

Closed
kaisecheng opened this issue Jun 25, 2024 · 0 comments · Fixed by #1182
Closed

[CI] integration tests fail with PKIX path validation failed #1183

kaisecheng opened this issue Jun 25, 2024 · 0 comments · Fixed by #1182
Assignees

Comments

@kaisecheng
Copy link
Contributor

https://app.travis-ci.com/github/logstash-plugins/logstash-output-elasticsearch/jobs/623296814

index_spec retry til timeout. Test certs are expired

logstash-1  | indexing
logstash-1  |   a secured indexer
logstash-1  |     with a password requiring escaping
logstash-1  | [2024-06-24T17:39:48,106][WARN ][deprecation.logstash.codecs.plain] Relying on default value of `pipeline.ecs_compatibility`, which may change in a future major release of Logstash. To avoid unexpected changes when upgrading Logstash, please explicitly declare your desired ECS Compatibility mode.
logstash-1  | [2024-06-24T17:39:48,223][WARN ][logstash.outputs.elasticsearch] You are using a deprecated config setting "http_compression" set in elasticsearch. Deprecated settings will continue to work, but are scheduled for removal from logstash in the future. Set 'compression_level' instead. If you have any questions about this, please visit the #logstash channel on freenode irc. {:name=>"http_compression", :plugin=><LogStash::Outputs::ElasticSearch hosts=>[//elasticsearch:9200], user=>"f@ncyuser", password=><password>, ssl_enabled=>true, ssl_certificate_authorities=>["spec/fixtures/test_certs/ca.crt"], index=>"2056320788", http_compression=>false, id=>"elasticsearch_e8281a05-b5d3-4a35-86d8-326b51401dc5", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_accd44a3-b7a3-4142-9cf5-296efab7bc42", enable_metric=>true, charset=>"UTF-8">, workers=>1, ssl_certificate_verification=>true, ssl_verification_mode=>"full", sniffing=>false, sniffing_delay=>5, timeout=>60, pool_max=>1000, pool_max_per_route=>100, resurrect_delay=>5, validate_after_inactivity=>10000, compression_level=>1, retry_initial_interval=>2, retry_max_interval=>64, dlq_on_failed_indexname_interpolation=>true, data_stream_type=>"logs", data_stream_dataset=>"generic", data_stream_namespace=>"default", data_stream_sync_fields=>true, data_stream_auto_routing=>true, manage_template=>true, template_overwrite=>false, template_api=>"auto", doc_as_upsert=>false, script_type=>"inline", script_lang=>"painless", script_var_name=>"event", scripted_upsert=>false, retry_on_conflict=>1, ilm_enabled=>"auto", ilm_pattern=>"{now/d}-000001", ilm_policy=>"logstash-policy">}
logstash-1  | [2024-06-24T17:39:48,244][WARN ][deprecation.logstash.outputs.elasticsearch] Relying on default value of `pipeline.ecs_compatibility`, which may change in a future major release of Logstash. To avoid unexpected changes when upgrading Logstash, please explicitly declare your desired ECS Compatibility mode.
logstash-1  | [2024-06-24T17:39:48,303][INFO ][logstash.outputs.elasticsearch] New Elasticsearch output {:class=>"LogStash::Outputs::ElasticSearch", :hosts=>["//elasticsearch:9200"]}
**************************************************************************************************************************************************************************************************************
logstash-1  | [2024-06-24T17:39:49,339][INFO ][logstash.outputs.elasticsearch] Failed to perform request {:message=>"PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed", :exception=>Manticore::ClientProtocolException, :cause=>javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed}
****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
logstash-1  | [2024-06-24T17:39:49,375][INFO ][logstash.outputs.elasticsearch] Not eligible for data streams because ecs_compatibility is not enabled. Elasticsearch data streams require that events adhere to the Elastic Common Schema. While `ecs_compatibility` can be set for this individual Elasticsearch output plugin, doing so will not fix schema conflicts caused by upstream plugins in your pipeline. To avoid mapping conflicts, you will need to use ECS-compatible field names and datatypes throughout your pipeline. Many plugins support an `ecs_compatibility` mode, and the `pipeline.ecs_compatibility` setting can be used to opt-in for all plugins in a pipeline. 
logstash-1  | [2024-06-24T17:39:49,384][INFO ][logstash.outputs.elasticsearch] Data streams auto configuration (`data_stream => auto` or unset) resolved to `false`
logstash-1  | [2024-06-24T17:39:54,567][INFO ][logstash.outputs.elasticsearch] Failed to perform request {:message=>"PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed", :exception=>Manticore::ClientProtocolException, :cause=>javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed}
****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
logstash-1  | [2024-06-24T17:39:59,644][INFO ][logstash.outputs.elasticsearch] Failed to perform request {:message=>"PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed", :exception=>Manticore::ClientProtocolException, :cause=>javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed}
****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
logstash-1  | [2024-06-24T17:40:04,711][INFO ][logstash.outputs.elasticsearch] Failed to perform request {:message=>"PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed", :exception=>Manticore::ClientProtocolException, :cause=>javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed}
****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
logstash-1  | [2024-06-24T17:40:09,761][INFO ][logstash.outputs.elasticsearch] Failed to perform request {:message=>"PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed", :exception=>Manticore::ClientProtocolException, :cause=>javax.net.ssl.SSLHandshakeException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed}
****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant