question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`test_cmd_install` test cases failing on macOS in CI

See original GitHub issue

Bug 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

cc @carmocca @akihironitta @borda

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ethanwharriscommented, Dec 8, 2022

I think this was due to some issue on the platform that is now resolved, probably safe to close it 😃

1reaction
tchatoncommented, Dec 7, 2022

I am not 100 % but I think it could be rate limiting from the platform side.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found