client fails to report an error when 'run_as' is set to a nonexistent user.

Bug #1071020 reported by Joe Talbott
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UTAH
Fix Released
Low
Javier Collado

Bug Description

The client should record an error for a testcase which requests a nonexistent user in the 'run_as' field.

This was discovered because the client tests are run on Jenkins from the checked out branch and not via the installed package which meant the utah user is not available.

The testcases were marked as failures and stderr indicated what the problem was.

=====================================
- cmd_type: testcase_test
  command: python test_two.py
  extra_info:
    action: |
      1. Action 1
      2. Action 2
    dependencies: n/a
    description: A second sample test case.
    expected_results: |
      1. Expected result 1
      2. Expected result 2
  returncode: 1
  start_time: '2012-10-24 14:01:20.492239'
  stderr: |
    sudo: unknown user: utah
    sudo: unable to initialize policy plugin
  stdout: ''
  testcase: test_two
  testsuite: /var/lib/utah/testsuites/examples
  time_delta: '0:00:00.008365'
  user: utah
=====================================

Related branches

Changed in utah:
status: New → Triaged
importance: Undecided → Low
assignee: nobody → Javier Collado (javier.collado)
Changed in utah:
status: Triaged → In Progress
Changed in utah:
status: In Progress → Fix Committed
Changed in utah:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.