Commit Graph

175 Commits

Author SHA1 Message Date
Martin Weinelt
4bd09f9889
home-assistant: apply patch to fix stream component tests
and reenable the two tests on aarch64.
2021-03-08 20:34:02 +01:00
Martin Weinelt
6ed2bd9937
home-assistant: disable tests getting stuck on aarch64 2021-03-06 18:25:08 +01:00
Martin Weinelt
9ad62a752e
home-assistant: 2021.3.0 -> 2021.3.2 2021-03-06 06:36:45 +01:00
Martin Weinelt
11d964f666
home-assistant: 2021.2.3 -> 2021.3.0 2021-03-06 03:02:05 +01:00
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.
2021-03-06 02:28:00 +01:00
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.
2021-03-06 02:28:00 +01:00
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.
2021-03-01 18:51:33 +00:00
Fabian Affolter
98cd269c3f home-assistant: allow later httpx releases 2021-02-28 23:44:02 +01:00
Fabian Affolter
e8811bc519 home-assistant: allow later awesomeversion releases 2021-02-25 09:33:40 +01:00
github-actions[bot]
344456f66a
Merge master into staging-next 2021-02-12 00:36:19 +00:00
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
2021-02-11 18:12:23 +01:00
Martin Weinelt
1d811faf54
home-assistant: 2021.2.2 -> 2021.2.3 2021-02-11 15:31:50 +01:00
github-actions[bot]
30dddce5e8
Merge master into staging-next 2021-02-09 06:16:02 +00:00
Martin Weinelt
aa0af354b2 home-assistant: disable test_scan_match_st 2021-02-09 03:11:30 +01:00
Martin Weinelt
1c99286e1a home-assistant: 2021.2.1 -> 2021.2.2 2021-02-09 03:11:29 +01:00
github-actions[bot]
1c86cb40e9
Merge master into staging-next 2021-02-08 00:36:16 +00:00
Martin Weinelt
0b94f35b97
home-assistant: disable test_error_posted_as_event
The test is still flaky after the latest testing changes.
2021-02-07 22:57:41 +01:00
github-actions[bot]
86e1706582
Merge master into staging-next 2021-02-06 06:16:20 +00:00
Martin Weinelt
5bdc1c54ba
home-assistant: improve reliability of tests by grouping tests by file 2021-02-06 04:49:57 +01:00
Martin Weinelt
5684b8de37
home-assistant: 2021.2.0 -> 2021.2.1 2021-02-05 17:23:09 +01:00
Jan Tojnar
da66296930
Merge branch 'staging-next' into staging
libkeyfinder no longer uses Qt so dontWrapQtApps is moot.
2021-02-04 19:34:26 +01:00
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
2021-02-04 17:36:21 +01:00
Jan Tojnar
91109ce94a
Merge branch 'staging-next' into staging 2021-02-04 15:02:14 +01:00
Martin Weinelt
da13b4418f
home-assistant: disable test_config_path
It's prone to race conditions.
2021-02-04 13:24:17 +01:00
Martin Weinelt
d153c3fd33
home-assistant: 2021.1.5 -> 2021.2.0 2021-02-04 02:09:56 +01:00
Robert Schütz
c65a1caf2f home-assistant: unpin PyYAML
Also remove a substitution that no longer applies.
2021-01-29 10:18:54 +01:00
Martin Weinelt
4702290465 home-assistant: 2021.1.4 -> 2021.1.5 2021-01-24 03:42:19 +01:00
Martin Weinelt
db4cdb0b9b
home-assistant: 2021.1.3 -> 2021.1.4 2021-01-17 10:43:13 +01:00
Martin Weinelt
7314c0eee7
home-assistant: 2021.1.2 -> 2021.1.3 2021-01-15 18:14:15 +01:00
Martin Weinelt
c5a3874a4c
home-assistant: 2021.1.1 -> 2021.1.2 2021-01-14 23:53:44 +01:00
Martin Weinelt
28991cd201 home-assistant: 2021.1.0 -> 2021.1.1 2021-01-11 00:11:37 +01:00
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.
2021-01-07 13:33:10 +01:00
Martin Weinelt
7adf998341
home-assistant: 2020.12.2 -> 2021.1.0 2021-01-07 13:33:10 +01:00
Martin Weinelt
f399effc58 homeassistant: 2020.12.1 -> 2020.12.2 2020-12-30 11:01:55 -08:00
Martin Weinelt
7f2c1c3cc8 homeassistant: 2020.12.0 -> 2020.12.1 2020-12-16 22:52:32 +01:00
Martin Weinelt
1a0c4f1167 homeassistant: 0.118.5 -> 2020.12.0 2020-12-13 23:37:54 +01:00
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)
2020-12-11 14:32:39 +01:00
Martin Weinelt
80596e106d
home-assistant: relax dependencies 2020-12-11 14:30:12 +01:00
Martin Weinelt
94f9ab741c homeassistant: 0.118.4 -> 0.118.5 2020-12-05 14:37:14 +01:00
Martin Weinelt
1927e40d50 homeassistant: 0.118.3 -> 0.118.4 2020-11-26 14:22:13 -08:00
Martin Weinelt
b485298c25
homeassistant: 0.118.1 -> 0.118.3 2020-11-23 16:02:52 +01:00
Martin Weinelt
4b51d8ae6c homeassistant: 0.118.0 -> 0.118.1 2020-11-19 21:31:27 +01:00
Martin Weinelt
9e8e0c78d7 homeassistant: 0.117.6 -> 0.118.0 2020-11-18 22:27:01 -08:00
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.
2020-11-17 02:14:08 +01:00
Martin Weinelt
4c4538cd63 homeassistant: 0.117.5 -> 0.117.6 2020-11-11 14:54:46 -08:00
Martin Weinelt
be5ef7d85d homeassistant: 0.117.4 -> 0.117.5 2020-11-05 16:56:00 +01:00
Martin Weinelt
8071b8ba82 homeassistant: 0.117.3 -> 0.117.4 2020-11-04 23:22:56 -08:00
Martin Weinelt
0c4e33e4aa homeassistant: 0.117.2 -> 0.117.3 2020-11-04 23:22:56 -08:00
Martin Weinelt
13ba2bc228 homeassistant: 0.117.1 -> 0.117.2 2020-11-01 22:58:43 +01:00
Martin Weinelt
4e6820a230 homeassistant: 0.117.0 -> 0.117.1 2020-10-30 14:23:06 +01:00