Comments (2)
Got a similar issue... Here is a debug log from the nutter
CLI:
2020-10-13 09:57:40,000:DEBUG:Executing function with HTTP retry policy. Max tries:20 delay:30
2020-10-13 09:57:40,002:DEBUG:Message from queue: <common.statuseventhandler.StatusEvent object at 0x111446c10>
2020-10-13 09:57:40,410:DEBUG:https://adb-6447267702748866.6.azuredatabricks.net:443 "POST /api/2.0/jobs/runs/submit HTTP/1.1" 200 14
2020-10-13 09:57:40,411:DEBUG:Executing function with HTTP retry policy. Max tries:20 delay:30
2020-10-13 09:57:40,544:DEBUG:https://adb-6447267702748866.6.azuredatabricks.net:443 "GET /api/2.0/jobs/runs/get-output?run_id=755 HTTP/1.1" 200 None
2020-10-13 09:57:40,545:DEBUG:{'metadata': {'job_id': 755, 'run_id': 755, 'number_in_job': 1, 'state': {'life_cycle_state': 'PENDING', 'state_message': ''}, 'task': {'notebook_task': {'notebook_path': '/Shared/Temp-CI/testing/test_drop_employee_csv_full_timestamp'}}, 'cluster_spec': {'existing_cluster_id': '0915-120444-foe167'}, 'cluster_instance': {'cluster_id': '0915-120444-foe167'}, 'start_time': 1602575860358, 'setup_duration': 0, 'execution_duration': 0, 'cleanup_duration': 0, 'creator_user_name': '[email protected]', 'run_name': 'c41d56fe-0d29-11eb-b2a9-acde48001122', 'run_page_url': 'https://northeurope.azuredatabricks.net/?o=6447267702748866#job/755/run/1', 'run_type': 'SUBMIT_RUN'}, 'error': 'No output is available until the task begins.'}
2020-10-13 09:57:41,550:DEBUG:Executing function with HTTP retry policy. Max tries:20 delay:30
2020-10-13 09:57:41,873:DEBUG:https://adb-6447267702748866.6.azuredatabricks.net:443 "GET /api/2.0/jobs/runs/get-output?run_id=755 HTTP/1.1" 200 None
2020-10-13 09:57:41,874:DEBUG:{'metadata': {'job_id': 755, 'run_id': 755, 'number_in_job': 1, 'state': {'life_cycle_state': 'PENDING', 'state_message': ''}, 'task': {'notebook_task': {'notebook_path': '/Shared/Temp-CI/testing/test_drop_employee_csv_full_timestamp'}}, 'cluster_spec': {'existing_cluster_id': '0915-120444-foe167'}, 'cluster_instance': {'cluster_id': '0915-120444-foe167'}, 'start_time': 1602575860358, 'setup_duration': 0, 'execution_duration': 0, 'cleanup_duration': 0, 'creator_user_name': '[email protected]', 'run_name': 'c41d56fe-0d29-11eb-b2a9-acde48001122', 'run_page_url': 'https://northeurope.azuredatabricks.net/?o=6447267702748866#job/755/run/1', 'run_type': 'SUBMIT_RUN'}, 'error': 'No output is available until the task begins.'}
2020-10-13 09:57:42,879:DEBUG:Executing function with HTTP retry policy. Max tries:20 delay:30
2020-10-13 09:57:43,059:DEBUG:https://adb-6447267702748866.6.azuredatabricks.net:443 "GET /api/2.0/jobs/runs/get-output?run_id=755 HTTP/1.1" 400 None
2020-10-13 09:57:43,060:DEBUG:Error: 400 Client Error: Bad Request for url: https://adb-6447267702748866.6.azuredatabricks.net/api/2.0/jobs/runs/get-output?run_id=755
Response from server:
{ 'error_code': 'INVALID_STATE',
'message': 'Run result is empty. There may have been issues while saving or '
'reading results.'}
2020-10-13 09:57:43,060:DEBUG:Function Handler. Exception in function. Error 400 Client Error: Bad Request for url: https://adb-6447267702748866.6.azuredatabricks.net/api/2.0/jobs/runs/get-output?run_id=755
Response from server:
{ 'error_code': 'INVALID_STATE',
'message': 'Run result is empty. There may have been issues while saving or '
'reading results.'} False
Job 755 shows:
from nutter.
This seems to be linked to an inability to pickle the Java exception? Right now I am using the following workaround:
for res in result.test_results.results:
# Workaround: suppress problematic exceptions
if isinstance(res.exception, py4j.protocol.Py4JJavaError):
res.exception = None
from nutter.
Related Issues (20)
- Is it possible to have IGNORE TEST feature? HOT 1
- is it possible to generate code coverage with nutter ? HOT 7
- Link to contribution guidelines is broken HOT 1
- Proposal: parallel test execution
- Update documentation with parallel test execution guidance. HOT 1
- TestSuite name parameterized
- Unable to use Instance Pools for tests HOT 1
- Unable to use a SPN for auth running tests HOT 1
- Can we add the ability to pass custom parameters from the CLI tool to notebooks? HOT 1
- Update documentation with guidance on how to run CLI tool using the debugger
- Assertions on notebook context HOT 2
- Build results unexpectedly return no test cases returned HOT 2
- Parameterized test doesn't executes before_all and after_all for each interaction HOT 1
- Variables starting with 'run_' are detected as test cases and hence failed tests in result
- Adapt code so that it can also set access_list_permissions (which is something that is added in Jobs API 2.1) HOT 2
- Add Job Cluster Support HOT 1
- Is reporting available or not in form of report.xml? HOT 2
- There should be enhancement to add passed/failed asserts/steps in report in case test cases pass/fail HOT 2
- allow using DATABRICKS_AAD_TOKEN
- Is the project still active?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nutter.