#2980 [BUG] Task returning NamedTuple fails with USER::Pod failed. No message received from kubernetes
Issue created by
tekumara
### Describe the bug
A task with the following signature:
from typing import Dict, List, NamedTuple
from flytekit import task, workflow
class OpenFlightsData(NamedTuple):
routes: List[Dict[str, str]]
airlines: Dict[str, str]
airports: Dict[str, Dict[str, str]]
@task()
def extract_reference_data() -> OpenFlightsData:
pass
Fails with
[1/1] currentAttempt done. Last Error: USER::Pod failed. No message received from kubernetes.
[fb5562eecbc2f40f9b0d-n0-0] terminated with exit code (137). Reason [Error]. Message:
.
### Expected behavior
No failure
### Additional context to reproduce
flytekit 1.2.1
flyte admin 1.1.46
### Screenshots
[Screen Shot 2022-10-13 at 10 36 58 pm](https://user-images.githubusercontent.com/125105/195586278-7f5d3305-05b9-4ddc-b6c3-246058c0569c.png)▾
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flyte