facebookresearch / facebookresearch/fairo

[Testing] Code Coverage failing on main

Open
#488 0 comments 0 reactions 1 assignee Claimed by @anuragprat1k View on GitHub
Dominant language
Jupyter Notebook
Stars
929
Forks
123
PR merge metrics
No merged PRs in 30d

Description

## Type of Issue

Select the type of issue:
- [x] Bug report (to report a bug)
- [ ] Feature request (to request an additional feature)
- [ ] Tracker (I am just using this as a tracker)
- [ ] Refactor request
- [ ] Documentation Ask

## Description
Code coverage tests are currently failing locally and on CI.

## Current Behavior

```
(droidlet_env_clone) ➜ tests git:(rebeccaqian/fix_CI_06_09) ✗ ./test.sh
/bin/bash: /public/apps/anaconda3/2020.11/lib/libtinfo.so.6: no version information available (required by /bin/bash)
========================================= test session starts ==========================================
platform linux -- Python 3.7.4, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
rootdir: /private/home/rebeccaqian/droidlet, configfile: pyproject.toml
plugins: cov-2.11.1, hydra-core-1.0.6
collected 18 items

test_agent.py . [ 5%]
test_cuberite_agent_connection.py . [ 11%]
test_filters.py .. [ 22%]
test_get_memory.py ...... [ 55%]
test_memory.py ..... [ 83%]
test_put_memory.py ... [100%]Coverage.py warning: Module craftassist was never imported. (module-not-imported)
Coverage.py warning: No data was collected. (no-data-collected)
WARNING: Failed to generate report: No data to report.

/private/home/rebeccaqian/.conda/envs/droidlet_env_clone/lib/python3.7/site-packages/pytest_cov/plugin.py:271: PytestWarning: Failed to generate report: No data to report.

self.cov_controller.finish()

----------- coverage: platform linux, python 3.7.4-final-0 -----------

============================== 18 passed, 14 warnings in 64.16s (0:01:04) ==============================
(droidlet_env_clone) ➜ tests git:(rebeccaqian/fix_CI_06_09) ✗
```

## Steps to reproduce

Triggered when running craftassist tests on devfair.

## Links to any relevant pastes or documents

P421955341

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.