Forbid Extra Fields #14
GitHub Actions / Test Results
failed
Feb 22, 2024 in 0s
2 fail, 30 pass in 23m 37s
6 files 6 suites 23m 37s ⏱️
32 tests 30 ✅ 0 💤 2 ❌
136 runs 125 ✅ 0 💤 11 ❌
Results for commit fa22b14.
Annotations
Check warning on line 0 in tests.integration.test_sanity
github-actions / Test Results
All 6 runs failed: test_sanity[coco_model.yaml] (tests.integration.test_sanity)
artifacts/Test Results [macOS-latest] (Python 3.10)/pytest.xml [took 5s]
artifacts/Test Results [macOS-latest] (Python 3.11)/pytest.xml [took 7s]
artifacts/Test Results [ubuntu-latest] (Python 3.10)/pytest.xml [took 7s]
artifacts/Test Results [ubuntu-latest] (Python 3.11)/pytest.xml [took 5s]
artifacts/Test Results [windows-latest] (Python 3.10)/pytest.xml [took 6s]
artifacts/Test Results [windows-latest] (Python 3.11)/pytest.xml [took 6s]
Raw output
AssertionError: assert 1 == 0
+ where 1 = CompletedProcess(args=['luxonis_train', 'train', '--config', 'configs/coco_model.yaml', 'trainer.epochs', '1', 'trainer.validation_interval', '1', 'trainer.callbacks', '[]'], returncode=1).returncode
config_file = 'coco_model.yaml'
@pytest.mark.parametrize(
"config_file", [path for path in os.listdir("configs") if "model" in path]
)
def test_sanity(config_file):
opts = [
"trainer.epochs",
"1",
"trainer.validation_interval",
"1",
"trainer.callbacks",
"[]",
]
result = subprocess.run(
["luxonis_train", "train", "--config", f"configs/{config_file}", *opts],
)
> assert result.returncode == 0
E AssertionError: assert 1 == 0
E + where 1 = CompletedProcess(args=['luxonis_train', 'train', '--config', 'configs/coco_model.yaml', 'trainer.epochs', '1', 'trainer.validation_interval', '1', 'trainer.callbacks', '[]'], returncode=1).returncode
tests\integration\test_sanity.py:29: AssertionError
Check warning on line 0 in tests.integration.test_sanity
github-actions / Test Results
All 5 runs failed: test_sanity[resnet_model.yaml] (tests.integration.test_sanity)
artifacts/Test Results [macOS-latest] (Python 3.10)/pytest.xml [took 20s]
artifacts/Test Results [macOS-latest] (Python 3.11)/pytest.xml [took 20s]
artifacts/Test Results [ubuntu-latest] (Python 3.10)/pytest.xml [took 20s]
artifacts/Test Results [ubuntu-latest] (Python 3.11)/pytest.xml [took 15s]
artifacts/Test Results [windows-latest] (Python 3.10)/pytest.xml [took 6s]
Raw output
AssertionError: assert 1 == 0
+ where 1 = CompletedProcess(args=['luxonis_train', 'train', '--config', 'configs/resnet_model.yaml', 'trainer.epochs', '1', 'trainer.validation_interval', '1', 'trainer.callbacks', '[]'], returncode=1).returncode
config_file = 'resnet_model.yaml'
@pytest.mark.parametrize(
"config_file", [path for path in os.listdir("configs") if "model" in path]
)
def test_sanity(config_file):
opts = [
"trainer.epochs",
"1",
"trainer.validation_interval",
"1",
"trainer.callbacks",
"[]",
]
result = subprocess.run(
["luxonis_train", "train", "--config", f"configs/{config_file}", *opts],
)
> assert result.returncode == 0
E AssertionError: assert 1 == 0
E + where 1 = CompletedProcess(args=['luxonis_train', 'train', '--config', 'configs/resnet_model.yaml', 'trainer.epochs', '1', 'trainer.validation_interval', '1', 'trainer.callbacks', '[]'], returncode=1).returncode
tests/integration/test_sanity.py:29: AssertionError
Loading