You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/08 07:11:39 UTC
[GitHub] [pulsar] RobertIndie opened a new issue, #16467: Flaky-test: schema_test.SchemaTest.test_field_type_check
RobertIndie opened a new issue, #16467:
URL: https://github.com/apache/pulsar/issues/16467
<!---
Instructions for reporting a flaky test using this issue template:
1. Replace test_class in title and body with the short test class name WITHOUT the package name.
2. Replace test_method in title and body with the test method that failed. Multiple methods are flaky, remove the content that refers to the test method.
3. Replace "url here" with a url to an example failure. In the Github Actions workflow run logs, you can right click on the line number to copy a link to the line. Example of such url is https://github.com/apache/pulsar/pull/8892/checks?check_run_id=1531075794#step:9:377 . The logs are available for a limited amount of time (usually for a few weeks).
4. Replace "relevant parts of the exception stacktrace here" with the a few lines of the stack trace that shows at least the exception message and the line of test code where the stacktrace occurred.
5. Replace "full exception stacktrace here" with the full exception stacktrace from logs. This section will be hidden by default.
6. Remove all unused fields / content to unclutter the reported issue. Remove this comment too.
-->
schema_test.SchemaTest.test_field_type_check is flaky. It fails sporadically.
[example failure](https://github.com/apache/pulsar/runs/7245006983?check_suite_focus=true#step:11:1715)
```
ERROR: test_field_type_check (schema_test.SchemaTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/schema_test.py", line 288, in test_field_type_check
self._expectTypeError(lambda: E9(a=[1, 2, 3]))
File "/tmp/schema_test.py", line 202, in _expectTypeError
func()
File "/tmp/schema_test.py", line 288, in <lambda>
self._expectTypeError(lambda: E9(a=[1, 2, 3]))
File "/usr/local/lib/python3.8/dist-packages/pulsar/schema/definition.py", line 94, in __init__
self.__setattr__(k, kwargs[k])
File "/usr/local/lib/python3.8/dist-packages/pulsar/schema/definition.py", line 164, in __setattr__
value = field.validate_type(key, value)
File "/usr/local/lib/python3.8/dist-packages/pulsar/schema/definition.py", line 450, in validate_type
self.array_type.type().__name__)
AttributeError: 'str' object has no attribute '__name__'
```
<!-- optionally provide the full stacktrace ->
<details>
<summary>Full exception stacktrace</summary>
<code><pre>
full exception stacktrace here
</pre></code>
</details>
--
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] github-actions[bot] commented on issue #16467: Flaky-test: schema_test.SchemaTest.test_field_type_check
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16467:
URL: https://github.com/apache/pulsar/issues/16467#issuecomment-1207575303
The issue had no activity for 30 days, mark with Stale label.
--
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] tisonkun commented on issue #16467: Flaky-test: schema_test.SchemaTest.test_field_type_check
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on issue #16467:
URL: https://github.com/apache/pulsar/issues/16467#issuecomment-1614365087
Closed as stale. Python client has been moved out.
--
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] tisonkun closed issue #16467: Flaky-test: schema_test.SchemaTest.test_field_type_check
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun closed issue #16467: Flaky-test: schema_test.SchemaTest.test_field_type_check
URL: https://github.com/apache/pulsar/issues/16467
--
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