Sample of how to trigger the issue:
(pulp-smash3) [ichimonji10@beech:pulp-smash]$ git diff
diff --git a/pulp_smash/tests/rpm/api_v2/test_orphan_remove.py b/pulp_smash/tests/rpm/api_v2/test_orphan_remove.py
index af75b80..65d3b52 100644
--- a/pulp_smash/tests/rpm/api_v2/test_orphan_remove.py
+++ b/pulp_smash/tests/rpm/api_v2/test_orphan_remove.py
@@ -136,8 +136,8 @@ class OrphansTestCase(utils.BaseAPITestCase):
This test exercises `Pulp #1923 <https://pulp.plan.io/issues/1923>`_.
"""
- if selectors.bug_is_untestable(1923, self.cfg.version):
- self.skipTest('https://pulp.plan.io/issues/1923')
+ # if selectors.bug_is_untestable(1923, self.cfg.version):
+ # self.skipTest('https://pulp.plan.io/issues/1923')
client = api.Client(self.cfg, api.json_handler)
orphans_pre = client.get(ORPHANS_PATH)
orphan = random.choice(client.get(urljoin(ORPHANS_PATH, 'erratum/')))
(pulp-smash3) [ichimonji10@beech:pulp-smash]$ python -m unittest2 pulp_smash.tests.rpm.api_v2.test_orphan_remove
...E..
======================================================================
ERROR: test_02_delete_by_type_and_id (pulp_smash.tests.rpm.api_v2.test_orphan_remove.OrphansTestCase)
Delete an orphan by its ID and type.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/ichimonji10/code/pulp-smash/pulp_smash/tests/rpm/api_v2/test_orphan_remove.py", line 146, in test_02_delete_by_type_and_id
'unit_id': orphan['_id'],
File "/home/ichimonji10/code/pulp-smash/pulp_smash/api.py", line 281, in post
return self.request('POST', url, json=json, **kwargs)
File "/home/ichimonji10/code/pulp-smash/pulp_smash/api.py", line 319, in request
requests.request(method, **request_kwargs),
File "/home/ichimonji10/code/pulp-smash/pulp_smash/api.py", line 120, in json_handler
_handle_202(server_config, response)
File "/home/ichimonji10/code/pulp-smash/pulp_smash/api.py", line 86, in _handle_202
_check_tasks(tasks)
File "/home/ichimonji10/code/pulp-smash/pulp_smash/api.py", line 76, in _check_tasks
raise exceptions.TaskReportError(msg)
pulp_smash.exceptions.TaskReportError: Task report /pulp/api/v2/tasks/20e6758b-b869-47c8-a10a-7fc284f40f4e/ contains a error: {'data': {'property_names': ['content_type_id', 'unit_id'], 'properties': "['content_type_id', 'unit_id']"}, 'code': 'PLP0015', 'sub_errors': [], 'description': "Invalid properties: ['content_type_id', 'unit_id']"}
Full task report: {'progress_report': {}, '_id': {'$oid': '573f2e04e64aa79aacd7647a'}, 'tags': ['pulp:action:delete_orphans', 'pulp:content_unit:orphans'], 'id': '573f2e04e64aa79aacd7647a', 'worker_name': 'celery', 'queue': 'celery.dq', 'task_type': 'pulp.server.managers.content.orphan.delete_orphans_by_id', 'traceback': 'Traceback (most recent call last):\n File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task\n R = retval = fun(*args, **kwargs)\n File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 473, in __call__\n return super(Task, self).__call__(*args, **kwargs)\n File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 103, in __call__\n return super(PulpTask, self).__call__(*args, **kwargs)\n File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__\n return self.run(*args, **kwargs)\n File "/usr/lib/python2.7/site-packages/pulp/server/managers/content/orphan.py", line 191, in delete_orphans_by_id\n raise pulp_exceptions.InvalidValue([\'content_type_id\', \'unit_id\'])\nInvalidValue: Invalid properties: [\'content_type_id\', \'unit_id\']\n', '_ns': 'task_status', 'spawned_tasks': [], 'finish_time': '2016-05-20T15:32:20Z', 'exception': None, '_href': '/pulp/api/v2/tasks/20e6758b-b869-47c8-a10a-7fc284f40f4e/', 'task_id': '20e6758b-b869-47c8-a10a-7fc284f40f4e', 'state': 'error', 'error': {'data': {'property_names': ['content_type_id', 'unit_id'], 'properties': "['content_type_id', 'unit_id']"}, 'code': 'PLP0015', 'sub_errors': [], 'description': "Invalid properties: ['content_type_id', 'unit_id']"}, 'result': None, 'start_time': '2016-05-20T15:32:20Z'}
----------------------------------------------------------------------
Ran 6 tests in 34.984s
FAILED (errors=1)