Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

flutter run fails after running the integration tests #2313

Open
jibel opened this issue Aug 25, 2023 · 0 comments
Open

flutter run fails after running the integration tests #2313

jibel opened this issue Aug 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jibel
Copy link
Contributor

jibel commented Aug 25, 2023

Test Case

  1. cd packages/ubuntu_desktop_installer/
  2. Run the installer in dry mode and verify that it works:

flutter run

  1. Run the integration tests:
    SUBIQUITY_REPLAY_TIMESCALE=100 flutter test integration_test/
  2. Run the installer again

flutter run

On the second run, it fails with:

flutter: DEBUG subiquity_client: GET http://localhost/refresh?wait=true
flutter: DEBUG refresh: RefreshState.error(error: checkRefresh() returned error 500
Traceback (most recent call last):
  File "/home/u/udi/ubuntu-desktop-installer/vendor/ubuntu-desktop-provision/packages/subiquity_client/subiquity/subiquity/common/api/server.py", line 163, in handler
    result = await implementation(**args)
  File "/home/u/udi/ubuntu-desktop-installer/vendor/ubuntu-desktop-provision/packages/subiquity_client/subiquity/subiquity/server/controllers/refresh.py", line 233, in GET
    await self.check_task.wait()
AttributeError: 'NoneType' object has no attribute 'wait'
)

It'll ruin again after the deletion of .subiquity

rm -Rf ../../vendor/ubuntu-desktop-provision/packages/subiquity_client/subiquity/.subiquity/

@jibel jibel added the bug Something isn't working label Aug 25, 2023
@jibel jibel changed the title flutter run after running the integration tests flutter run fails after running the integration tests Aug 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant