New issue
Advanced search Search tips

Issue 875710 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 873822
Owner: ----
Closed: Aug 23
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: ----



Sign in to add a comment

bob-paladin: login_RetrieveActiveSessions: fails with "Can't create session"

Project Member Reported by sheriff-...@appspot.gserviceaccount.com, Aug 20

Issue description

Filed by sheriff-o-matic@appspot.gserviceaccount.com on behalf of tfiga@google.com

bob-paladin:3837 failed
https://luci-milo.appspot.com/buildbot/chromeos/bob-paladin/3837

Failed in build 3836 too:
https://luci-milo.appspot.com/buildbot/chromeos/bob-paladin/3836

08/19 17:53:38.199 DEBUG|          autotest:1281| AUTOTEST_STATUS::	START	login_RetrieveActiveSessions	login_RetrieveActiveSessions	timestamp=1534726417	localtime=Aug 19 17:53:37	
08/19 17:53:38.199 INFO |        server_job:0216| 	START	login_RetrieveActiveSessions	login_RetrieveActiveSessions	timestamp=1534726417	localtime=Aug 19 17:53:37	
08/19 17:55:52.552 DEBUG|          autotest:1281| AUTOTEST_STATUS::		FAIL	login_RetrieveActiveSessions	login_RetrieveActiveSessions	timestamp=1534726552	localtime=Aug 19 17:55:52	Unhandled DBusException: org.chromium.SessionManagerInterface.NoUserNssDb: Can't create session.
08/19 17:55:52.553 INFO |        server_job:0216| 		FAIL	login_RetrieveActiveSessions	login_RetrieveActiveSessions	timestamp=1534726552	localtime=Aug 19 17:55:52	Unhandled DBusException: org.chromium.SessionManagerInterface.NoUserNssDb: Can't create session.
08/19 17:55:52.553 DEBUG|          autotest:1281| AUTOTEST_STATUS::  Traceback (most recent call last):
08/19 17:55:52.553 DEBUG|          autotest:1281| AUTOTEST_STATUS::    File "/usr/local/autotest/common_lib/test.py", line 800, in _call_test_function
08/19 17:55:52.553 DEBUG|          autotest:1281| AUTOTEST_STATUS::      return func(*args, **dargs)
08/19 17:55:52.553 DEBUG|          autotest:1281| AUTOTEST_STATUS::    File "/usr/local/autotest/common_lib/test.py", line 464, in execute
08/19 17:55:52.553 DEBUG|          autotest:1281| AUTOTEST_STATUS::      postprocess_profiled_run, args, dargs)
08/19 17:55:52.553 DEBUG|          autotest:1281| AUTOTEST_STATUS::    File "/usr/local/autotest/common_lib/test.py", line 371, in _call_run_once
08/19 17:55:52.553 DEBUG|          autotest:1281| AUTOTEST_STATUS::      self.run_once(*args, **dargs)
08/19 17:55:52.553 DEBUG|          autotest:1281| AUTOTEST_STATUS::    File "/usr/local/autotest/tests/login_RetrieveActiveSessions/login_RetrieveActiveSessions.py", line 34, in run_once
08/19 17:55:52.553 DEBUG|          autotest:1281| AUTOTEST_STATUS::      sm.StartSession(users[0], '')
08/19 17:55:52.553 DEBUG|          autotest:1281| AUTOTEST_STATUS::    File "/usr/local/lib/python2.7/site-packages/dbus/proxies.py", line 70, in __call__
08/19 17:55:52.553 DEBUG|          autotest:1281| AUTOTEST_STATUS::      return self._proxy_method(*args, **keywords)
08/19 17:55:52.553 DEBUG|          autotest:1281| AUTOTEST_STATUS::    File "/usr/local/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
08/19 17:55:52.554 DEBUG|          autotest:1281| AUTOTEST_STATUS::      **keywords)
08/19 17:55:52.554 DEBUG|          autotest:1281| AUTOTEST_STATUS::    File "/usr/local/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
08/19 17:55:52.554 DEBUG|          autotest:1281| AUTOTEST_STATUS::      message, timeout)
08/19 17:55:52.554 DEBUG|          autotest:1281| AUTOTEST_STATUS::  DBusException: org.chromium.SessionManagerInterface.NoUserNssDb: Can't create session.
08/19 17:55:52.566 DEBUG|          autotest:1281| AUTOTEST_STATUS::	END FAIL	login_RetrieveActiveSessions	login_RetrieveActiveSessions	timestamp=1534726552	localtime=Aug 19 17:55:52	
08/19 17:55:52.566 INFO |        server_job:0216| 	END FAIL	login_RetrieveActiveSessions	login_RetrieveActiveSessions	timestamp=1534726552	localtime=Aug 19 17:55:52	

Builders failed on: 
- bob-paladin: 
  https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8937728334391163840

 
Cc: akhouderchah@chromium.org bleung@chromium.org
Happened again here: 

https://luci-milo.appspot.com/buildbot/chromeos/bob-paladin/3840#
Cc: derat@chromium.org
UnhandledTestFail: Unhandled DBusException: org.chromium.SessionManagerInterface.NoUserNssDb: Can't create session.

So, it seems like there's something wrong in session_maanger.
https://chromium.git.corp.google.com/chromiumos/platform2/+/dd0fe897461589844c9313444c6ee8d74a5fdf6f/login_manager/session_manager_impl.cc#1463

So, to investigate it more, I think the log for the session_amanger is needed.
but chromeos6-row4-rack13-host5/login_RetrieveActiveSessions/sysinfo/var/log/messages looks missing...?

Cc: mnissler@chromium.org
Components: OS>Systems
Labels: OS-Chrome
I think that bob-paladin has been having a bunch of disk-space-related failures. Any chance that this is related to that?
Out of disk explains the situation, I think.
The D-Bus operation does FS operations (create a dir, write files etc) which could fail with full-disk.
I think that  issue 873822  is the root cause of the disk-space issue.
Mergedinto: 873822
Status: Duplicate (was: Available)

Sign in to add a comment