New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 764791 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner:
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Test problem: enterprise_RemoraRequisitionServer - FAIL - TestFail: Kiosk app failed to launch

Project Member Reported by mzhuo@chromium.org, Sep 13 2017

Issue description

[Remember: create bugs with your @chromium.org account so proper labels are included]

TEST: enterprise_RemoraRequisitionServer
SUITE: hotrod
CHROMEOS BUILD: R63-9937.0.0
STATUS: FAIL
REASON: enterprise_RemoraRequisition client test did not pass.

SUMMARY: Test problem: enterprise_RemoraRequisitionServer - FAIL - enterprise_RemoraRequisition client test

REF: https://wmatrix.googleplex.com/comments?test_ids=554018343

testcase link: https://wmatrix.googleplex.com/failures/unfiltered?platforms=panther&tests=enterprise_RemoraRequisitionServer
 

Comment 1 by mzhuo@chromium.org, Sep 13 2017

On 9/13 enterprise_RemoraRequisitionServer fails only on panther.

Test failure msg:
============================================================================
09/13 04:59:26.725 WARNI|              test:0612| The test failed with the following exception
Traceback (most recent call last):
  File "/usr/local/autotest/client/common_lib/test.py", line 606, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 806, in _call_test_function
    return func(*args, **dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 470, in execute
    dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 347, in _call_run_once_with_retry
    postprocess_profiled_run, args, dargs)
  File "/usr/local/autotest/client/common_lib/test.py", line 380, in _call_run_once
    self.run_once(*args, **dargs)
  File "/usr/local/autotest/server/site_tests/enterprise_RemoraRequisitionServer/enterprise_RemoraRequisitionServer.py", line 19, in run_once
    check_client_result=True)
  File "/usr/local/autotest/server/autotest.py", line 634, in run_test
    *args, **dargs)
  File "/usr/local/autotest/server/autotest.py", line 625, in run_timed_test
    self._check_client_test_result(host, test_name)
  File "/usr/local/autotest/server/autotest.py", line 603, in _check_client_test_result
    raise error.TestFail('%s client test did not pass.' % test_name)
TestFail: enterprise_RemoraRequisition client test did not pass.
Cc: ar...@chromium.org achuith@chromium.org dtosic@chromium.org tovep@chromium.org mzhuo@chromium.org
Components: UI>Shell>Kiosk
Labels: -Pri-3 OS-Chrome Pri-2
Owner: harpreet@chromium.org
Status: Assigned (was: Untriaged)
Summary: Test problem: enterprise_RemoraRequisitionServer - FAIL - TestFail: Kiosk app failed to launch (was: Test problem: enterprise_RemoraRequisitionServer - FAIL - enterprise_RemoraRequisition client test)
This has been failing again the last couple weeks. Pretty much 100% failure across all CFM boards on M63 and very flaky on M62. Looks like the cleanup done in https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/634208/3/client/site_tests/enterprise_RemoraRequisition/enterprise_RemoraRequisition.py needs to be reverted as the app fails to auto-launch (again) after enrollment. You need to restart the browser after enrollment so the app can autolaunch before proceeding with checking hangout extension context.



09/18 06:53:20.074 DEBUG|inspector_websocke:0103| sent [{
  "id": 53, 
  "method": "Runtime.evaluate", 
  "params": {
    "expression": "typeof Oobe.enterpriseEnrollmentDone == 'undefined'", 
    "returnByValue": true
  }
}]
09/18 06:53:20.076 DEBUG|inspector_websocke:0170| got [{
  "id": 53, 
  "result": {
    "result": {
      "type": "boolean", 
      "value": false
    }
  }
}]
09/18 06:53:20.077 DEBUG|inspector_websocke:0103| sent [{
  "id": 54, 
  "method": "Runtime.evaluate", 
  "params": {
    "expression": "Oobe.enterpriseEnrollmentDone(); 0;", 
    "returnByValue": true
  }
}]
09/18 06:53:20.080 DEBUG|inspector_websocke:0170| got [{
  "id": 54, 
  "result": {
    "result": {
      "description": "0", 
      "type": "number", 
      "value": 0
    }
  }
}]
09/18 06:53:49.532 ERROR|             utils:2730| Kiosk app failed to launch
09/18 06:53:49.559 DEBUG|    cros_interface:0367| ListProcesses(<predicate>)->[167 processes]
09/18 06:53:49.569 DEBUG|    cros_interface:0367| ListProcesses(<predicate>)->[167 processes]
09/18 06:53:49.569 INFO |           browser:0268| Closing browser (pid=4142) ...
09/18 06:53:49.570 INFO |    cros_interface:0550| (Re)starting the ui (logs the user out)
09/18 06:53:49.579 DEBUG|    cros_interface:0443| IsServiceRunning(ui)->True
09/18 06:53:49.579 DEBUG|    cros_interface:0058| sh -c restart ui 
09/18 06:53:50.968 DEBUG|    cros_interface:0067|  > stdout=[ui start/running, process 4839
], stderr=[]
09/18 06:53:50.970 DEBUG|    cros_interface:0058| sh -c cryptohome-path user 'test@test.test' 
09/18 06:53:50.979 DEBUG|    cros_interface:0067|  > stdout=[/home/user/fbd3a7d7077eee691702ae71a833b6202a5149a2
], stderr=[]
09/18 06:53:50.979 DEBUG|    cros_interface:0058| sh -c /bin/df --output=source,target /home/user/fbd3a7d7077eee691702ae71a833b6202a5149a2 
09/18 06:53:50.984 DEBUG|    cros_interface:0067|  > stdout=[], stderr=[df: /home/user/fbd3a7d7077eee691702ae71a833b6202a5149a2: No such file or directory
]
09/18 06:53:50.984 INFO |           browser:0283| Browser is closed.
09/18 06:53:50.984 DEBUG|              test:0389| Test failed due to Kiosk app failed to launch. Exception log follows the after_iteration_hooks.
09/18 06:53:50.985 DEBUG|              test:0392| starting after_iteration_hooks
09/18 06:53:50.985 DEBUG|             utils:0212| Running 'mkdir -p /usr/local/autotest/results/default/enterprise_RemoraRequisition/sysinfo/iteration.1/var/spool'
09/18 06:53:50.992 DEBUG|             utils:0212| Running 'rsync --no-perms --chmod=ugo+r -a --safe-links --exclude=/crash/**autoserv* --exclude=/crash/*.core /var/spool/crash /usr/local/autotest/results/default/enterprise_RemoraRequisition/sysinfo/iteration.1/var/spool'
09/18 06:53:51.006 DEBUG|             utils:0212| Running 'rm -rf /var/spool/crash/*'
09/18 06:53:51.201 DEBUG|             utils:0212| Running 'logger "autotest finished iteration /usr/local/autotest/results/default/enterprise_RemoraRequisition/sysinfo/iteration.1"'
09/18 06:53:51.205 DEBUG|              test:0395| after_iteration_hooks completed
09/18 06:53:51.205 WARNI|              test:0612| The test failed with the following exception
Traceback (most recent call last):
  File "/usr/local/autotest/common_lib/test.py", line 606, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/usr/local/autotest/common_lib/test.py", line 806, in _call_test_function
    return func(*args, **dargs)
  File "/usr/local/autotest/common_lib/test.py", line 470, in execute
    dargs)
  File "/usr/local/autotest/common_lib/test.py", line 347, in _call_run_once_with_retry
    postprocess_profiled_run, args, dargs)
  File "/usr/local/autotest/common_lib/test.py", line 380, in _call_run_once
    self.run_once(*args, **dargs)
  File "/usr/local/autotest/tests/enterprise_RemoraRequisition/enterprise_RemoraRequisition.py", line 28, in run_once
    self.cfm_facade.check_hangout_extension_context()
  File "/usr/local/autotest/cros/multimedia/cfm_facade_native.py", line 71, in check_hangout_extension_context
    self._resource._browser, self._EXT_ID)
  File "/usr/local/autotest/common_lib/cros/kiosk_utils.py", line 98, in wait_for_kiosk_ext
    sleep_interval=1)
  File "/usr/local/autotest/common_lib/utils.py", line 2731, in poll_for_condition
    raise exception
TestFail: Kiosk app failed to launch

Achuith, I am going to revert the change you made to enterprise_RemoraRequisition in crreve.com/c/634208 for now so the test can start working/passing. I'll re-assign this bug back to you for further analysis on why the app is not auto-launching again.
Mergedinto: 766777
Status: Duplicate (was: Assigned)

Sign in to add a comment