You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "michaeljmarshall (via GitHub)" <gi...@apache.org> on 2023/08/15 16:57:40 UTC

[GitHub] [pulsar] michaeljmarshall opened a new issue, #20997: Flaky-test: ElasticSearch8ClientSslTests.testSslBasic

michaeljmarshall opened a new issue, #20997:
URL: https://github.com/apache/pulsar/issues/20997

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Example failure
   
   https://github.com/apache/pulsar/actions/runs/5864096913/job/15906097733?pr=20990
   
   ### Exception stacktrace
   
   ```
     Error:  Failures: 
     Error:  org.apache.pulsar.io.elasticsearch.v8.ElasticSearch8ClientSslTests.testSslBasic
     [INFO]   Run 1: PASS
     Error:    Run 2: ElasticSearch8ClientSslTests>ElasticSearchClientSslTests.testSslBasic:74->ElasticSearchClientSslTests.testClientWithConfig:186 ยป ThreadTimeout Method org.apache.pulsar.io.elasticsearch.ElasticSearchClientSslTests.testSslBasic() didn't finish within the time-out 300000
   ```
   
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] michaeljmarshall closed issue #20997: Flaky-test: ElasticSearch8ClientSslTests.testSslBasic

Posted by "michaeljmarshall (via GitHub)" <gi...@apache.org>.
michaeljmarshall closed issue #20997: Flaky-test: ElasticSearch8ClientSslTests.testSslBasic
URL: https://github.com/apache/pulsar/issues/20997


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] michaeljmarshall commented on issue #20997: Flaky-test: ElasticSearch8ClientSslTests.testSslBasic

Posted by "michaeljmarshall (via GitHub)" <gi...@apache.org>.
michaeljmarshall commented on issue #20997:
URL: https://github.com/apache/pulsar/issues/20997#issuecomment-1679293063

   I also saw this here https://github.com/michaeljmarshall/pulsar/actions/runs/5869219096/job/15914141631?pr=54


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] michaeljmarshall commented on issue #20997: Flaky-test: ElasticSearch8ClientSslTests.testSslBasic

Posted by "michaeljmarshall (via GitHub)" <gi...@apache.org>.
michaeljmarshall commented on issue #20997:
URL: https://github.com/apache/pulsar/issues/20997#issuecomment-1679325377

   This test does not seem to pass locally for me, either.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] coderzc commented on issue #20997: Flaky-test: ElasticSearch8ClientSslTests.testSslBasic

Posted by "coderzc (via GitHub)" <gi...@apache.org>.
coderzc commented on issue #20997:
URL: https://github.com/apache/pulsar/issues/20997#issuecomment-1679334178

   +1 https://github.com/apache/pulsar/actions/runs/5863426881/job/15914977550?pr=20984


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] michaeljmarshall commented on issue #20997: Flaky-test: ElasticSearch8ClientSslTests.testSslBasic

Posted by "michaeljmarshall (via GitHub)" <gi...@apache.org>.
michaeljmarshall commented on issue #20997:
URL: https://github.com/apache/pulsar/issues/20997#issuecomment-1679576722

   The test is failing because of bad certs. I'll fix soon.
   
   ```
   openssl x509 -in pulsar-io/elastic-search/src/test/resources/ssl/elasticsearch.crt -text
   Certificate:
       Data:
           Version: 3 (0x2)
           Serial Number: 2607749767405854431 (0x24309698d5555edf)
           Signature Algorithm: sha256WithRSAEncryption
           Issuer: C = FR, O = Datastax, OU = Test, CN = rootca
           Validity
               Not Before: May 11 17:26:55 2021 GMT
               Not After : Aug 14 17:26:55 2023 GMT
           Subject: CN = elasticsearch
           Subject Public Key Info:
               Public Key Algorithm: rsaEncryption
                   Public-Key: (2048 bit)
                   Modulus:
                       00:86:53:27:8e:40:1d:46:50:fd:ad:9e:f2:32:34:
                       d9:2b:e1:8e:7d:78:cd:88:c6:4e:46:bb:48:45:29:
                       88:2e:e3:87:c3:d1:b1:12:d4:9a:59:71:6f:0c:f0:
                       f8:6b:e2:65:a0:86:0a:fc:dd:c2:57:92:ef:13:fd:
                       f3:70:1e:63:bf:af:d7:fd:33:80:6b:3f:9e:79:03:
                       8c:8f:d4:08:0e:3b:57:d6:26:b8:60:b3:9e:dc:5a:
                       95:7f:7b:c1:da:6f:69:68:83:3a:ba:0e:ec:80:35:
                       88:c5:89:a9:2f:71:d8:4d:f2:f8:07:bb:12:22:7b:
                       10:ce:91:2b:0c:32:07:d4:8a:ae:bc:2a:36:a4:74:
                       60:80:a3:db:02:02:7d:f2:93:9a:08:b8:2f:63:62:
                       51:2d:ee:28:8f:61:0c:07:47:d8:a4:4c:d1:46:0e:
                       e6:42:09:1a:97:7c:34:0b:24:a6:6a:d1:ef:1a:a0:
                       f0:d9:d8:21:1e:39:0d:74:d1:65:d6:19:e2:92:e1:
                       36:1d:1b:dc:c7:e3:26:03:90:03:48:17:d0:53:a2:
                       19:28:07:ad:a2:e4:0e:32:8d:c5:a2:6d:9e:4a:0a:
                       06:2e:24:fb:f9:d9:52:a0:10:1a:c5:49:e1:a0:3c:
                       47:23:a5:a4:35:d6:93:4a:3a:82:dc:09:45:ef:12:
                       06:cd
                   Exponent: 65537 (0x10001)
           X509v3 extensions:
               X509v3 Basic Constraints:
                   CA:FALSE
               X509v3 Key Usage: critical
                   Digital Signature, Key Encipherment
               X509v3 Extended Key Usage:
                   TLS Web Client Authentication, TLS Web Server Authentication
               X509v3 Subject Key Identifier:
                   0B:11:9B:CB:33:08:C0:2F:38:5F:9E:CA:F8:B5:F5:E9:F8:05:AE:F1
               X509v3 Authority Key Identifier:
                   F0:78:A4:39:6E:2A:E2:38:76:95:5B:2C:17:4F:22:AF:E3:9D:65:0C
               X509v3 Subject Alternative Name:
                   DNS:elasticsearch, DNS:localhost, IP Address:127.0.0.1
       Signature Algorithm: sha256WithRSAEncryption
       Signature Value:
           c7:26:22:47:b3:da:a0:f5:46:af:1b:e7:49:c4:0b:6a:95:e2:
           ce:6c:d7:a6:ed:ca:47:d3:a2:da:1f:4f:99:d8:11:31:9b:0f:
           c6:25:d0:2c:44:82:88:20:be:31:40:b9:9b:35:a6:39:be:99:
           93:8b:92:52:3c:d0:bf:67:1b:d2:d5:12:e5:6b:44:5b:26:fd:
           ec:75:f4:c4:84:f7:da:af:7e:d7:24:28:8a:07:dd:7b:c1:c9:
           38:ec:b7:4f:bb:71:54:77:06:cd:29:96:3f:b6:95:01:69:ab:
           11:43:b9:c9:76:72:60:27:06:fa:ce:4a:ff:89:f3:7d:35:50:
           da:f0:ba:4a:2b:7d:6a:80:0e:1b:13:b8:89:c3:41:d8:ff:82:
           e4:3d:d8:25:41:e6:e3:26:d1:07:14:2c:e2:e0:06:cf:ac:73:
           17:eb:17:71:9c:20:0c:1b:50:c6:95:d3:a3:11:bb:fb:91:35:
           40:0a:bd:56:09:16:57:bb:7b:f2:9c:9b:3e:ba:62:ca:5f:eb:
           70:79:bb:d3:b2:fe:9f:a5:49:c6:8f:ce:40:52:df:e9:f7:ad:
           6f:e8:16:e5:51:80:f7:b4:9c:42:2a:42:03:f4:ba:ec:f3:60:
           b5:b0:cc:46:a8:19:12:0e:ac:2d:35:e9:ec:6a:3d:5b:6b:4b:
           fd:1e:26:1e
   -----BEGIN CERTIFICATE-----
   MIIDgzCCAmugAwIBA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/4LkPdglQebjJtEHFCzi4AbPrHMX6xdxnCAM
   G1DGldOjEbv7kTVACr1WCRZXu3vynJs+umLKX+twebvTsv6fpUnGj85AUt/p961v
   6BblUYD3tJxCKkID9Lrs82C1sMxGqBkSDqwtNensaj1ba0v9HiYe
   -----END CERTIFICATE-----
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] michaeljmarshall commented on issue #20997: Flaky-test: ElasticSearch8ClientSslTests.testSslBasic

Posted by "michaeljmarshall (via GitHub)" <gi...@apache.org>.
michaeljmarshall commented on issue #20997:
URL: https://github.com/apache/pulsar/issues/20997#issuecomment-1679459575

   In looking at the logs for the test, this warning seems pretty relevant:
   
   > 2023-08-15T17:03:06,353+0000 WARN  [TestNG-method=testSslBasic-1] o.t.e.ElasticsearchContainer@135 - CA cert under /usr/share/elasticsearch/config/certs/http_ca.crt not found. {}


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] michaeljmarshall commented on issue #20997: Flaky-test: ElasticSearch8ClientSslTests.testSslBasic

Posted by "michaeljmarshall (via GitHub)" <gi...@apache.org>.
michaeljmarshall commented on issue #20997:
URL: https://github.com/apache/pulsar/issues/20997#issuecomment-1679461122

   Unsurprisingly, these errors follow:
   
   > 2023-08-15T16:58:15,251+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.RestClientFactory@50 - Found compatibilityMode set to 'AUTO', will try to auto detect the best client to use. {}
   2023-08-15T16:58:15,252+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.o.OpenSearchHighLevelRestClient@106 - ElasticSearch URL https://localhost:32848 {}
   2023-08-15T16:58:15,279+0000 WARN  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.o.OpenSearchHighLevelRestClient@119 - Node host=https://localhost:32848 failed {}
   2023-08-15T16:58:15,283+0000 WARN  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.RestClientFactory@62 - Got error while performing info request to detect Elastic version: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed {}
   2023-08-15T16:58:15,283+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.RandomExponentialRetry@74 - Executing 'client creation', attempt 7/-1, next retry in 3417 ms, caused by: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed {}
   2023-08-15T16:58:18,701+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.RestClientFactory@50 - Found compatibilityMode set to 'AUTO', will try to auto detect the best client to use. {}
   2023-08-15T16:58:18,702+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.o.OpenSearchHighLevelRestClient@106 - ElasticSearch URL https://localhost:32848 {}
   2023-08-15T16:58:18,741+0000 WARN  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.o.OpenSearchHighLevelRestClient@119 - Node host=https://localhost:32848 failed {}
   2023-08-15T16:58:18,747+0000 WARN  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.RestClientFactory@62 - Got error while performing info request to detect Elastic version: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed {}
   2023-08-15T16:58:18,748+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.RandomExponentialRetry@74 - Executing 'client creation', attempt 8/-1, next retry in 25554 ms, caused by: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed {}
   2023-08-15T16:58:44,302+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.RestClientFactory@50 - Found compatibilityMode set to 'AUTO', will try to auto detect the best client to use. {}
   2023-08-15T16:58:44,304+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.o.OpenSearchHighLevelRestClient@106 - ElasticSearch URL https://localhost:32848 {}
   2023-08-15T16:58:44,329+0000 WARN  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.o.OpenSearchHighLevelRestClient@119 - Node host=https://localhost:32848 failed {}
   2023-08-15T16:58:44,330+0000 WARN  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.RestClientFactory@62 - Got error while performing info request to detect Elastic version: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed {}
   2023-08-15T16:58:44,330+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.RandomExponentialRetry@74 - Executing 'client creation', attempt 9/-1, next retry in 35545 ms, caused by: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed {}
   2023-08-15T16:59:19,875+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.RestClientFactory@50 - Found compatibilityMode set to 'AUTO', will try to auto detect the best client to use. {}
   2023-08-15T16:59:19,877+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.o.OpenSearchHighLevelRestClient@106 - ElasticSearch URL https://localhost:32848 {}
   2023-08-15T16:59:19,896+0000 WARN  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.o.OpenSearchHighLevelRestClient@119 - Node host=https://localhost:32848 failed {}
   2023-08-15T16:59:19,897+0000 WARN  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.RestClientFactory@62 - Got error while performing info request to detect Elastic version: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed {}
   2023-08-15T16:59:19,897+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.RandomExponentialRetry@74 - Executing 'client creation', attempt 10/-1, next retry in 42225 ms, caused by: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed {}
   2023-08-15T17:00:02,123+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.RestClientFactory@50 - Found compatibilityMode set to 'AUTO', will try to auto detect the best client to use. {}
   2023-08-15T17:00:02,125+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.o.OpenSearchHighLevelRestClient@106 - ElasticSearch URL https://localhost:32848 {}
   2023-08-15T17:00:02,148+0000 WARN  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.o.OpenSearchHighLevelRestClient@119 - Node host=https://localhost:32848 failed {}
   2023-08-15T17:00:02,149+0000 WARN  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.RestClientFactory@62 - Got error while performing info request to detect Elastic version: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed {}
   2023-08-15T17:00:02,149+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.RandomExponentialRetry@74 - Executing 'client creation', attempt 11/-1, next retry in 14822 ms, caused by: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed {}
   2023-08-15T17:00:16,972+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.RestClientFactory@50 - Found compatibilityMode set to 'AUTO', will try to auto detect the best client to use. {}
   2023-08-15T17:00:16,974+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.o.OpenSearchHighLevelRestClient@106 - ElasticSearch URL https://localhost:32848 {}
   2023-08-15T17:00:16,988+0000 WARN  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.o.OpenSearchHighLevelRestClient@119 - Node host=https://localhost:32848 failed {}
   2023-08-15T17:00:16,993+0000 WARN  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.RestClientFactory@62 - Got error while performing info request to detect Elastic version: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed {}
   2023-08-15T17:00:16,994+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.RandomExponentialRetry@74 - Executing 'client creation', attempt 12/-1, next retry in 98061 ms, caused by: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed {}
   2023-08-15T17:01:55,055+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.RestClientFactory@50 - Found compatibilityMode set to 'AUTO', will try to auto detect the best client to use. {}
   2023-08-15T17:01:55,057+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.o.OpenSearchHighLevelRestClient@106 - ElasticSearch URL https://localhost:32848 {}
   2023-08-15T17:01:55,076+0000 WARN  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.o.OpenSearchHighLevelRestClient@119 - Node host=https://localhost:32848 failed {}
   2023-08-15T17:01:55,077+0000 WARN  [TestNG-method=testSslBasic-1] o.a.p.i.e.c.RestClientFactory@62 - Got error while performing info request to detect Elastic version: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed {}
   2023-08-15T17:01:55,077+0000 INFO  [TestNG-method=testSslBasic-1] o.a.p.i.e.RandomExponentialRetry@74 - Executing 'client creation', attempt 13/-1, next retry in 688728 ms, caused by: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed {}
   2023-08-15T17:02:45,220+0000 ERROR [TestNG-method=testSslBasic-1] o.a.p.i.e.ElasticSearchClient@343 - error in command client creation wth retry {}


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org