Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.11.0
-
Fix Version/s: 3.12.0
-
Component/s: app.jobbrowser
-
Labels:None
-
Target Version:
Description
job browser tests were failing.
FAILED TESTS
================================================
9 tests failed.
FAILED: jobbrowser.tests.TestMapReduce2NoHadoop.test_acls_job
Error Message:
'job'
-------------------- >> begin captured logging << --------------------
desktop.middleware: INFO: Unloading AuditLoggingMiddleware
desktop.middleware: INFO: Unloading SpnegoMiddleware
desktop.middleware: INFO: Unloading HueRemoteUserMiddleware
access: INFO: 127.0.0.1 test - "GET /jobbrowser/jobs/job_1356251510842_0054 HTTP/1.1"
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): hostname
requests.packages.urllib3.connectionpool: DEBUG: "GET /ws/v1/cluster/apps/application_1356251510842_0054?user.name=hue&doAs=test HTTP/1.1" 404 None
jobbrowser.views: ERROR: Could not find job job_1356251510842_0054.
Traceback (most recent call last):
File "/data/jenkins/workspace/hue-unittest-parameterized/apps/jobbrowser/src/jobbrowser/views.py", line 72, in decorate
job = get_api(request.user, request.jt).get_job(jobid=jobid)
File "/data/jenkins/workspace/hue-unittest-parameterized/desktop/libs/hadoop/src/hadoop/cluster.py", line 80, in decorate
raise ex
PopupException: Job job_1356251510842_0054 could not be found: YARN RM returned a failed response: {"RemoteException":{"exception":"NotFoundException","message":"java.lang.Exception: app with id: application_1356251510842_0054 not found","javaClassName":"org.apache.hadoop.yarn.webapp.NotFoundException"}} (error 404)
root: INFO: Processing exception: Could not find job job_1356251510842_0054.: Traceback (most recent call last):
File "/data/jenkins/workspace/hue-unittest-parameterized/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/handlers/base.py", line 112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/data/jenkins/workspace/hue-unittest-parameterized/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/transaction.py", line 371, in inner
return func(*args, **kwargs)
File "/data/jenkins/workspace/hue-unittest-parameterized/apps/jobbrowser/src/jobbrowser/views.py", line 87, in decorate
raise PopupException(_(msg) % jobid, detail=e)
PopupException: Could not find job job_1356251510842_0054.