`test_cmd_install` test cases failing on macOS in CI
See original GitHub issueBug description
These app tests are failing in master and blocking my PR. https://github.com/Lightning-AI/lightning/actions/runs/3636672987/jobs/6136867843
Error messages and logs
=========================== short test summary info ============================
FAILED tests_app/cli/test_cmd_install.py::test_valid_org_app_name - assert "app: 'fakeuser/ALKKLJAUHREKJ21234KLAKJDLF' is not available on ⚡ Lightning AI ⚡" in ''
+ where '' = <Result JSONDecodeError('Expecting value: line 1 column 1 (char 0)')>.output
FAILED tests_app/cli/test_cmd_install.py::test_valid_org_component_name - assert "component: 'fakeuser/ALKKLJAUHREKJ21234KLAKJDLF' is not available on ⚡ Lightning AI ⚡" in ''
+ where '' = <Result JSONDecodeError('Expecting value: line 1 column 1 (char 0)')>.output
FAILED tests_app/cli/test_cmd_install.py::test_prompt_actions - AssertionError: assert 'Installation aborted!' in ''
+ where '' = <Result JSONDecodeError('Expecting value: line 1 column 1 (char 0)')>.output
FAILED tests_app/cli/test_cmd_install.py::test_version_arg_component - assert "component: 'Version NOT-EXIST for lightning/lit-slack-messenger' is not" in 'Expecting value: line 1 column 1 (char 0)'
+ where 'Expecting value: line 1 column 1 (char 0)' = str(JSONDecodeError('Expecting value: line 1 column 1 (char 0)'))
+ where JSONDecodeError('Expecting value: line 1 column 1 (char 0)') = <Result JSONDecodeError('Expecting value: line 1 column 1 (char 0)')>.exception
FAILED tests_app/cli/test_cmd_install.py::test_version_arg_app - assert "app: 'Version NOT-EXIST for lightning/invideo' is not" in 'Expecting value: line 1 column 1 (char 0)'
+ where 'Expecting value: line 1 column 1 (char 0)' = str(JSONDecodeError('Expecting value: line 1 column 1 (char 0)'))
+ where JSONDecodeError('Expecting value: line 1 column 1 (char 0)') = <Result JSONDecodeError('Expecting value: line 1 column 1 (char 0)')>.exception
FAILED tests_app/cli/test_cmd_install.py::test_proper_url_parsing - requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
===== 6 failed, 582 passed, 52 skipped, 1978 warnings in 382.68s (0:06:22) =====
Error: Process completed with exit code 1.
Environment
https://github.com/Lightning-AI/lightning/actions/runs/3638338139/jobs/6140786023
More info
No response
Issue Analytics
- State:
- Created 9 months ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Unit test failures on Apple M1 · Issue #32298 - GitHub
Steps to reproduce $ spack unit-test Error message Experienced several unit test failures when running locally: ERROR ...
Read more >Unit test not working on Xcode 14 … | Apple Developer Forums
Hello, When I lunch any Unit Test with Xcode 14 RC and iPhone 13 iOS 16 I get this error, any ideas?? Details....
Read more >Unit test reports - GitLab Docs
It is very common that a CI/CD pipeline contains a test job that verifies your code. If the tests fail, the pipeline fails...
Read more >Run macOS Test Cases on the Jenkins Pipeline
Hi I have an macOS Application which needs to be configured for CI/CD purpose on the Jenkins. I need to run the test...
Read more >Testing iOS Applications on macOS - CircleCI
CircleCI offers support for building, testing and deploying iOS projects in macOS virtual machines. Each image provided has a set of common tools...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think this was due to some issue on the platform that is now resolved, probably safe to close it 😃
I am not 100 % but I think it could be rate limiting from the platform side.