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

DISABLED test_quantization_doc_fx (__main__.TestQuantizationDocs) #125670

Closed
pytorch-bot bot opened this issue May 7, 2024 · 3 comments
Closed

DISABLED test_quantization_doc_fx (__main__.TestQuantizationDocs) #125670

pytorch-bot bot opened this issue May 7, 2024 · 3 comments
Assignees
Labels
detect-test-pollution-nack detect-test-pollution didn't work to identify what the problem was module: flaky-tests Problem is a flaky test in CI oncall: quantization Quantization support in PyTorch skipped Denotes a (flaky) test currently skipped in CI.

Comments

@pytorch-bot
Copy link

pytorch-bot bot commented May 7, 2024

Platforms: linux

This test was disabled because it is failing in CI. See recent examples and the most recent trunk workflow logs.

Over the past 3 hours, it has been determined flaky in 3 workflow(s) with 9 failures and 3 successes.

Debugging instructions (after clicking on the recent samples link):
DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:

  1. Click on the workflow logs linked above
  2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
  3. Grep for test_quantization_doc_fx
  4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.
Sample error message
Traceback (most recent call last):
  File "/var/lib/jenkins/workspace/test/quantization/core/test_docs.py", line 132, in test_quantization_doc_fx
    code = self._get_code(path_from_pytorch, unique_identifier)
  File "/var/lib/jenkins/workspace/test/quantization/core/test_docs.py", line 59, in _get_code
    content = file.readlines()
  File "/opt/conda/envs/py_3.10/lib/python3.10/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 4371: ordinal not in range(128)

Test file path: test_quantization.py

cc @jerryzh168 @jianyuh @raghuramank100 @jamesr66a @vkuzo @jgong5 @Xia-Weiwen @leslie-fang-intel @clee2000

@pytorch-bot pytorch-bot bot added module: flaky-tests Problem is a flaky test in CI oncall: quantization Quantization support in PyTorch skipped Denotes a (flaky) test currently skipped in CI. labels May 7, 2024
Copy link
Author

pytorch-bot bot commented May 7, 2024

Hello there! From the DISABLED prefix in this issue title, it looks like you are attempting to disable a test in PyTorch CI. The information I have parsed is below:
  • Test name: test_quantization_doc_fx (__main__.TestQuantizationDocs)
  • Platforms for which to skip the test: linux
  • Disabled by pytorch-bot[bot]

Within ~15 minutes, test_quantization_doc_fx (__main__.TestQuantizationDocs) will be disabled in PyTorch CI for these platforms: linux. Please verify that your test name looks correct, e.g., test_cuda_assert_async (__main__.TestCuda).

To modify the platforms list, please include a line in the issue body, like below. The default action will disable the test for all platforms if no platforms list is specified.

Platforms: case-insensitive, list, of, platforms

We currently support the following platforms: asan, dynamo, inductor, linux, mac, macos, rocm, slow, win, windows.

1 similar comment
Copy link
Author

pytorch-bot bot commented May 7, 2024

Hello there! From the DISABLED prefix in this issue title, it looks like you are attempting to disable a test in PyTorch CI. The information I have parsed is below:
  • Test name: test_quantization_doc_fx (__main__.TestQuantizationDocs)
  • Platforms for which to skip the test: linux
  • Disabled by pytorch-bot[bot]

Within ~15 minutes, test_quantization_doc_fx (__main__.TestQuantizationDocs) will be disabled in PyTorch CI for these platforms: linux. Please verify that your test name looks correct, e.g., test_cuda_assert_async (__main__.TestCuda).

To modify the platforms list, please include a line in the issue body, like below. The default action will disable the test for all platforms if no platforms list is specified.

Platforms: case-insensitive, list, of, platforms

We currently support the following platforms: asan, dynamo, inductor, linux, mac, macos, rocm, slow, win, windows.

@ezyang ezyang added the detect-test-pollution-nack detect-test-pollution didn't work to identify what the problem was label May 15, 2024
Copy link
Author

pytorch-bot bot commented May 30, 2024

Resolving the issue because the test is not flaky anymore after 4190 reruns without any failures and the issue hasn't been updated in 14 days. Please reopen the issue to re-disable the test if you think this is a false positive

@pytorch-bot pytorch-bot bot closed this as completed May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
detect-test-pollution-nack detect-test-pollution didn't work to identify what the problem was module: flaky-tests Problem is a flaky test in CI oncall: quantization Quantization support in PyTorch skipped Denotes a (flaky) test currently skipped in CI.
Projects
None yet
Development

No branches or pull requests

2 participants