Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

home-assistant: 0.82.1 -> 0.83.0 #51224

Closed
wants to merge 1 commit into from

Conversation

dotlambda
Copy link
Member

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

cc @peterhoeg

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: home-assistant

Partial log (click to expand)

tests/components/test_init.py .................                          [ 88%]
tests/components/test_introduction.py .                                  [ 88%]
tests/components/test_logger.py ......                                   [ 90%]
tests/components/test_script.py .....                                    [ 92%]
tests/components/test_shell_command.py ........                          [ 94%]
tests/components/test_system_log.py ................                     [100%]

========================= 304 passed in 18.62 seconds ==========================
pytestcachePhase
/nix/store/lmjlcdki0j8b3kfqy4fd3y318hxnk3nk-homeassistant-0.83.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: home-assistant

Partial log (click to expand)

tests/components/test_init.py .................                          [ 88%]
tests/components/test_introduction.py .                                  [ 88%]
tests/components/test_logger.py ......                                   [ 90%]
tests/components/test_script.py .....                                    [ 92%]
tests/components/test_shell_command.py ........                          [ 94%]
tests/components/test_system_log.py ................                     [100%]

========================= 304 passed in 27.27 seconds ==========================
pytestcachePhase
/nix/store/n0cxnwwx657dbzdgj2aphxiblqbksddf-homeassistant-0.83.0

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: home-assistant

Partial log (click to expand)

tests/components/test_init.py .................                          [ 88%]
tests/components/test_introduction.py .                                  [ 88%]
tests/components/test_logger.py ......                                   [ 90%]
tests/components/test_script.py .....                                    [ 92%]
tests/components/test_shell_command.py ........                          [ 94%]
tests/components/test_system_log.py ................                     [100%]

========================= 304 passed in 14.05 seconds ==========================
pytestcachePhase
/nix/store/p1sqj9qs9ifiizr9p1832ma9x9wbjz4q-homeassistant-0.83.0

@peterhoeg
Copy link
Member

I'm being spammed with this message every second after the upgrade:

 2018-11-29 20:45:55 ERROR (MainThread) [aiohttp.server] Error handling request
 Traceback (most recent call last):
   File "/nix/store/bydjasqfss5fpjxy176gy4g1l13n77mv-python3.6-aiohttp-3.4.4/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 390, in start
     resp = await self._request_handler(request)
   File "/nix/store/bydjasqfss5fpjxy176gy4g1l13n77mv-python3.6-aiohttp-3.4.4/lib/python3.6/site-packages/aiohttp/web_app.py", line 366, in _handle
     resp = await handler(request)
   File "/nix/store/bydjasqfss5fpjxy176gy4g1l13n77mv-python3.6-aiohttp-3.4.4/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 106, in impl
     return await handler(request)
   File "/nix/store/agxkzg2cmfymlhf593z88s5h5naw1jjx-homeassistant-0.83.0/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 66, in staticresource_middleware
     return await handler(request)
   File "/nix/store/agxkzg2cmfymlhf593z88s5h5naw1jjx-homeassistant-0.83.0/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
     return await handler(request)
   File "/nix/store/agxkzg2cmfymlhf593z88s5h5naw1jjx-homeassistant-0.83.0/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware
     return await handler(request)
   File "/nix/store/agxkzg2cmfymlhf593z88s5h5naw1jjx-homeassistant-0.83.0/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 97, in auth_middleware
     return await handler(request)
   File "/nix/store/agxkzg2cmfymlhf593z88s5h5naw1jjx-homeassistant-0.83.0/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
     return await handler(request)
   File "/nix/store/agxkzg2cmfymlhf593z88s5h5naw1jjx-homeassistant-0.83.0/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware
     return await handler(request)
   File "/nix/store/agxkzg2cmfymlhf593z88s5h5naw1jjx-homeassistant-0.83.0/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 97, in auth_middleware
     return await handler(request)
   File "/nix/store/agxkzg2cmfymlhf593z88s5h5naw1jjx-homeassistant-0.83.0/lib/python3.6/site-packages/homeassistant/components/http/view.py", line 112, in handle
     result = handler(request, **request.match_info)
   File "/nix/store/agxkzg2cmfymlhf593z88s5h5naw1jjx-homeassistant-0.83.0/lib/python3.6/site-packages/homeassistant/components/api.py", line 191, in get
     user = request['hass_user']
   File "/nix/store/bydjasqfss5fpjxy176gy4g1l13n77mv-python3.6-aiohttp-3.4.4/lib/python3.6/site-packages/aiohttp/web_request.py", line 201, in __getitem__
     return self._state[key]
 KeyError: 'hass_user'

Downgrading makes things work again.

@dotlambda
Copy link
Member Author

I forgot to upgrade the frontend. That might be it but I will not be able to check until next week.

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: home-assistant

Partial log (click to expand)

tests/components/test_init.py .................                          [ 88%]
tests/components/test_introduction.py .                                  [ 88%]
tests/components/test_logger.py ......                                   [ 90%]
tests/components/test_script.py .....                                    [ 92%]
tests/components/test_shell_command.py ........                          [ 94%]
tests/components/test_system_log.py ................                     [100%]

========================= 304 passed in 13.98 seconds ==========================
pytestcachePhase
/nix/store/1swn2n6ddsnk3i0fr8wi6gvcmdyxbz3j-homeassistant-0.83.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: home-assistant

Partial log (click to expand)

tests/components/test_init.py .................                          [ 88%]
tests/components/test_introduction.py .                                  [ 88%]
tests/components/test_logger.py ......                                   [ 90%]
tests/components/test_script.py .....                                    [ 92%]
tests/components/test_shell_command.py ........                          [ 94%]
tests/components/test_system_log.py ................                     [100%]

========================= 304 passed in 16.46 seconds ==========================
pytestcachePhase
/nix/store/65y5phlksflmlk0rpkzaq472yib74zaq-homeassistant-0.83.0

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: home-assistant

Partial log (click to expand)

tests/components/test_init.py .................                          [ 88%]
tests/components/test_introduction.py .                                  [ 88%]
tests/components/test_logger.py ......                                   [ 90%]
tests/components/test_script.py .....                                    [ 92%]
tests/components/test_shell_command.py ........                          [ 94%]
tests/components/test_system_log.py ................                     [100%]

========================= 304 passed in 27.55 seconds ==========================
pytestcachePhase
/nix/store/az3afhnaahinpgvrbwc23kf2x4kf0m2l-homeassistant-0.83.0

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: home-assistant

Partial log (click to expand)

tests/components/test_init.py .................                          [ 88%]
tests/components/test_introduction.py .                                  [ 88%]
tests/components/test_logger.py ......                                   [ 90%]
tests/components/test_script.py .....                                    [ 92%]
tests/components/test_shell_command.py ........                          [ 94%]
tests/components/test_system_log.py ................                     [100%]

========================= 305 passed in 15.58 seconds ==========================
pytestcachePhase
/nix/store/1nf1zxyizyf04rs402kljqxxyms2mr5k-homeassistant-0.83.1

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: home-assistant

Partial log (click to expand)

tests/components/test_init.py .................                          [ 88%]
tests/components/test_introduction.py .                                  [ 88%]
tests/components/test_logger.py ......                                   [ 90%]
tests/components/test_script.py .....                                    [ 92%]
tests/components/test_shell_command.py ........                          [ 94%]
tests/components/test_system_log.py ................                     [100%]

========================= 305 passed in 14.18 seconds ==========================
pytestcachePhase
/nix/store/v89scfxk2l80y8rqa1j460hv5rvlab43-homeassistant-0.83.1

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: home-assistant

Partial log (click to expand)

tests/components/test_init.py .................                          [ 88%]
tests/components/test_introduction.py .                                  [ 88%]
tests/components/test_logger.py ......                                   [ 90%]
tests/components/test_script.py .....                                    [ 92%]
tests/components/test_shell_command.py ........                          [ 94%]
tests/components/test_system_log.py ................                     [100%]

========================= 305 passed in 25.97 seconds ==========================
pytestcachePhase
/nix/store/svw0kwwchi9ak7ljdmg6y94x5dgg20hr-homeassistant-0.83.1

@peterhoeg
Copy link
Member

Version 0.83 has a nasty bug that prevents downgrading to an earlier version. The fix is in 0.83.1 so I am closing this.

@peterhoeg peterhoeg closed this Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants