Sandro Jäckel
815514f447
home-assistant: fix github tag of iaqualink-py
3 years ago
Martin Weinelt
cfce515802
home-assistant: pin iaqualink at 0.3.4
...
This was required due to breaking API changes in iaqualink>=0.4.0 and
can be safely removed after https://github.com/home-assistant/core/pull/48137
has been merged and released.
3 years ago
Fabian Affolter
46fe40324a
home-assistant: enable iaqualink tests
3 years ago
Fabian Affolter
b9375be57e
home-assistant: enable notion tests
3 years ago
Fabian Affolter
8ba0c68815
home-assistant: enable simplisafe tests
3 years ago
Martin Weinelt
c3cdba7942
home-assistant: 2021.3.3 -> 2021.3.4
...
https://github.com/home-assistant/core/releases/tag/2021.3.4
3 years ago
Martin Weinelt
7b82fbf63b
home-assistant: 2021.3.2 -> 2021.3.3
3 years ago
Martin Weinelt
4bd09f9889
home-assistant: apply patch to fix stream component tests
...
and reenable the two tests on aarch64.
3 years ago
Martin Weinelt
6ed2bd9937
home-assistant: disable tests getting stuck on aarch64
3 years ago
Martin Weinelt
9ad62a752e
home-assistant: 2021.3.0 -> 2021.3.2
3 years ago
Martin Weinelt
11d964f666
home-assistant: 2021.2.3 -> 2021.3.0
3 years ago
Martin Weinelt
598bc98ba1
home-assistant: rerun tests failing with RuntimeError
...
The flakyness in home-assistant stems from premature event loop closing,
due to race conditions throughout the test suite.
> RuntimeError: Event loop is closed
They also happen during upstreams testsuite runs, but they silently
ignore them, so I don't expect a fix for them in the near future.
Alleviate our pains by rerunning tests that fail in this particular way.
3 years ago
Martin Weinelt
4e65797018
home-assistant: enable a lot more component tests
...
We can now track a list of components, that should be integrated into
our testsuite run. Their dependencies will automatically be included
into the checkInputs by reusing the dependency lookup infrastructure we
already have, which is what makes this feasible.
3 years ago
Graham Bennett
cb55068397
home-assistant: add ring-doorbell dependency
...
For the ring integration. This is currently pinned back to 0.6.2 to avoid an
upstream bug in 0.7.0.
3 years ago
Fabian Affolter
98cd269c3f
home-assistant: allow later httpx releases
3 years ago
Fabian Affolter
e8811bc519
home-assistant: allow later awesomeversion releases
3 years ago
Martin Weinelt
df1b15ce54
home-assistant: reduce to two xdist job runners
...
This more closely replicates home-assistants upstream test environment
which runs on GitHub Actions, which according to its specifications¹
provides a 2-core CPU and `-n auto` would scale with the locally
available thread count.
This is another possible reason for the amount of race conditions
(`RuntimeError: Event loop is closed`) we were seeing, since moving to
parallel testing using xdist.
Reenable a few tests, that are likely to be caused by those race
conditions.
[1] https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners
3 years ago
Martin Weinelt
1d811faf54
home-assistant: 2021.2.2 -> 2021.2.3
3 years ago
Martin Weinelt
aa0af354b2
home-assistant: disable test_scan_match_st
3 years ago
Martin Weinelt
1c99286e1a
home-assistant: 2021.2.1 -> 2021.2.2
3 years ago
Martin Weinelt
0b94f35b97
home-assistant: disable test_error_posted_as_event
...
The test is still flaky after the latest testing changes.
3 years ago
Martin Weinelt
5bdc1c54ba
home-assistant: improve reliability of tests by grouping tests by file
3 years ago
Martin Weinelt
5684b8de37
home-assistant: 2021.2.0 -> 2021.2.1
3 years ago
Martin Weinelt
1054c03d96
home-assistant: improve checkInputs package selection ( #111921 )
...
and migrate unnecessary packages out of propagatedBuildInputs. This
shrinks the whole package by ~65%.
/nix/store/wdhqcxhp45p287zknw3r0cv7pxgp6r14-homeassistant-2021.2.0 696.7M
/nix/store/1v20wdqfn4v1nf3v2jmlkx89q18n8fzx-homeassistant-2021.2.0 250.8M
3 years ago
Martin Weinelt
da13b4418f
home-assistant: disable test_config_path
...
It's prone to race conditions.
3 years ago
Martin Weinelt
d153c3fd33
home-assistant: 2021.1.5 -> 2021.2.0
3 years ago
Robert Schütz
c65a1caf2f
home-assistant: unpin PyYAML
...
Also remove a substitution that no longer applies.
3 years ago
Martin Weinelt
4702290465
home-assistant: 2021.1.4 -> 2021.1.5
3 years ago
Martin Weinelt
db4cdb0b9b
home-assistant: 2021.1.3 -> 2021.1.4
3 years ago
Martin Weinelt
7314c0eee7
home-assistant: 2021.1.2 -> 2021.1.3
3 years ago
Martin Weinelt
c5a3874a4c
home-assistant: 2021.1.1 -> 2021.1.2
3 years ago
Martin Weinelt
28991cd201
home-assistant: 2021.1.0 -> 2021.1.1
4 years ago
Martin Weinelt
8cb55de7dc
home-assistant: don't strip
...
Neither the home-assistant nor the frontend contain strippable binaries,
but the stripping process will still iterate over 6600+ files and notice
that they're not in a strippable format.
On my 6C/12T desktop CPU this takes slightly over two minutes.
4 years ago
Martin Weinelt
7adf998341
home-assistant: 2020.12.2 -> 2021.1.0
4 years ago
Martin Weinelt
f399effc58
homeassistant: 2020.12.1 -> 2020.12.2
4 years ago
Martin Weinelt
7f2c1c3cc8
homeassistant: 2020.12.0 -> 2020.12.1
4 years ago
Martin Weinelt
1a0c4f1167
homeassistant: 0.118.5 -> 2020.12.0
4 years ago
Martin Weinelt
422ae014bb
home-assistant: disable test_media_view
...
DEBUG:homeassistant.components.http.auth:Authenticated 127.0.0.1 for /media/local/test.mp3 using bearer token
DEBUG:homeassistant.components.http.view:Serving /media/local/test.mp3 to 127.0.0.1 (auth: True)
ERROR:aiohttp.server:Unhandled exception
Traceback (most recent call last):
File "/nix/store/8y4x6km9q2ik0hcgh0klx6rl46pcw6qf-python3.8-aiohttp-3.7.3/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 485, in start
resp, reset = await task
File "/nix/store/8y4x6km9q2ik0hcgh0klx6rl46pcw6qf-python3.8-aiohttp-3.7.3/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 440, in _handle_request
reset = await self.finish_response(request, resp, start_time)
File "/nix/store/8y4x6km9q2ik0hcgh0klx6rl46pcw6qf-python3.8-aiohttp-3.7.3/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 591, in finish_response
await prepare_meth(request)
File "/nix/store/8y4x6km9q2ik0hcgh0klx6rl46pcw6qf-python3.8-aiohttp-3.7.3/lib/python3.8/site-packages/aiohttp/web_fileresponse.py", line 241, in prepare
return await self._sendfile(request, fobj, offset, count)
File "/nix/store/8y4x6km9q2ik0hcgh0klx6rl46pcw6qf-python3.8-aiohttp-3.7.3/lib/python3.8/site-packages/aiohttp/web_fileresponse.py", line 96, in _sendfile
await loop.sendfile(transport, fobj, offset, count)
File "/nix/store/i9lzacdfrwlj1ayw551c016s0fq71p7j-python3-3.8.6/lib/python3.8/asyncio/base_events.py", line 1120, in sendfile
return await self._sendfile_native(transport, file,
File "/nix/store/i9lzacdfrwlj1ayw551c016s0fq71p7j-python3-3.8.6/lib/python3.8/asyncio/selector_events.py", line 578, in _sendfile_native
return await self.sock_sendfile(transp._sock, file, offset, count,
File "/nix/store/i9lzacdfrwlj1ayw551c016s0fq71p7j-python3-3.8.6/lib/python3.8/asyncio/base_events.py", line 836, in sock_sendfile
self._check_sendfile_params(sock, file, offset, count)
File "/nix/store/i9lzacdfrwlj1ayw551c016s0fq71p7j-python3-3.8.6/lib/python3.8/asyncio/base_events.py", line 889, in _check_sendfile_params
raise ValueError(
ValueError: count must be a positive integer (got 0)
4 years ago
Martin Weinelt
80596e106d
home-assistant: relax dependencies
4 years ago
Martin Weinelt
94f9ab741c
homeassistant: 0.118.4 -> 0.118.5
4 years ago
Martin Weinelt
1927e40d50
homeassistant: 0.118.3 -> 0.118.4
4 years ago
Martin Weinelt
b485298c25
homeassistant: 0.118.1 -> 0.118.3
4 years ago
Martin Weinelt
4b51d8ae6c
homeassistant: 0.118.0 -> 0.118.1
4 years ago
Martin Weinelt
9e8e0c78d7
homeassistant: 0.117.6 -> 0.118.0
4 years ago
Pierre Bourdon
f86a943450
home-assistant: loosen aiohttp version pin to unbreak build
...
nixpkgs's aiohttp is currently 3.6.3, which is API compatible with 3.6.2
required by home-assistant.
4 years ago
Martin Weinelt
4c4538cd63
homeassistant: 0.117.5 -> 0.117.6
4 years ago
Martin Weinelt
be5ef7d85d
homeassistant: 0.117.4 -> 0.117.5
4 years ago
Martin Weinelt
8071b8ba82
homeassistant: 0.117.3 -> 0.117.4
4 years ago
Martin Weinelt
0c4e33e4aa
homeassistant: 0.117.2 -> 0.117.3
4 years ago
Martin Weinelt
13ba2bc228
homeassistant: 0.117.1 -> 0.117.2
4 years ago