Skip to content

edge_orchestrator CI on branch >> 45/merge << #295

edge_orchestrator CI on branch >> 45/merge <<

edge_orchestrator CI on branch >> 45/merge << #295

GitHub Actions / Functional tests report in Python 3.8 failed Apr 2, 2024 in 1s

7 passed, 1 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
edge_orchestrator/reports/behave/TESTS-supervisor_configs_routes.xml 3✅ 23ms
edge_orchestrator/reports/behave/TESTS-supervisor_inventory_route.xml 1❌ 7ms
edge_orchestrator/reports/behave/TESTS-supervisor_items_routes.xml 3✅ 693ms
edge_orchestrator/reports/behave/TESTS-supervisor_trigger_route.xml 1✅ 173ms

✅ edge_orchestrator/reports/behave/TESTS-supervisor_configs_routes.xml

3 tests were completed in 23ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
supervisor_configs_routes.The client set an active configuration 3✅ 23ms

✅ supervisor_configs_routes.The client set an active configuration

✅ The client request the active configuration which is unset
✅ The client request all available configurations
✅ The client set a configuration as active

❌ edge_orchestrator/reports/behave/TESTS-supervisor_inventory_route.xml

1 tests were completed in 7ms with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
supervisor_inventory_route.The client requests the inventory available on the station 1❌ 7ms

❌ supervisor_inventory_route.The client requests the inventory available on the station

❌ The client requests the inventory available on the station
	Failing step: Then the client receives the following inventory ... failed in 0.001s

✅ edge_orchestrator/reports/behave/TESTS-supervisor_items_routes.xml

3 tests were completed in 693ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
supervisor_items_routes.The client request metadata and binaries 3✅ 693ms

✅ supervisor_items_routes.The client request metadata and binaries

✅ The Client reads all items metadata
✅ The Client reads one specific item metadata
✅ The Client reads one specific item picture

✅ edge_orchestrator/reports/behave/TESTS-supervisor_trigger_route.xml

1 tests were completed in 173ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
supervisor_trigger_route.The client trigger a visual inspection and request the resulting metadata and binaries 1✅ 173ms

✅ supervisor_trigger_route.The client trigger a visual inspection and request the resulting metadata and binaries

✅ The Client trigger a visual inspection

Annotations

Check failure on line 0 in edge_orchestrator/reports/behave/TESTS-supervisor_inventory_route.xml

See this annotation in the file changed.

@github-actions github-actions / Functional tests report in Python 3.8

supervisor_inventory_route.The client requests the inventory available on the station ► The client requests the inventory available on the station

Failed test found in:
  edge_orchestrator/reports/behave/TESTS-supervisor_inventory_route.xml
Error:
  Failing step: Then the client receives the following inventory ... failed in 0.001s
Raw output

Failing step: Then the client receives the following inventory ... failed in 0.001s
  """
  {
  "cameras": [
    "fake"
  ],
  "models": {
    "inception": {
      "category": "classification",
      "version": 1,
      "class_names": [
        "OK",
        "KO"
      ],
      "image_resolution": [
        224,
        224
      ]
    },
    "marker_quality_control": {
      "category": "classification",
      "version": 1,
      "class_names": [
        "OK",
        "KO"
      ],
      "image_resolution": [
        224,
        224
      ]
    },
    "mask_classification_model": {
      "category": "classification",
      "version": 1,
      "class_names": [
        "OK",
        "KO"
      ],
      "image_resolution": [
        224,
        224
      ]
    },
    "mobilenet_v1_640x640": {
      "category": "object_detection",
      "version": 1,
      "model_type": "Mobilenet",
      "class_names_path": "test_detection_labels",
      "output": {
        "detection_boxes": "detection_boxes",
        "detection_scores": "detection_scores",
        "number_of_boxes": "num_detections",
        "detection_classes": "detection_classes"
      },
      "objectness_threshold": 0.5
    },
    "mobilenet_v1_640x640_detect_classif": {
      "category": "object_detection_with_classification",
      "version": 1,
      "model_type": "Mobilenet",
      "class_names_path": "test_detection_labels",
      "output": {
        "detection_boxes": "detection_boxes",
        "detection_scores": "detection_scores",
        "number_of_boxes": "num_detections",
        "detection_classes": "detection_classes"
      },
      "objectness_threshold": 0.5
    }
  },
  "camera_rules": [
    "expected_label_rule",
    "min_nb_objects_rule"
    ],
  "item_rules": [
    "threshold_ratio_rule",
    "min_threshold_KO_rule"
    ]
  }
  """
Location: tests/functional_tests/supervisor_inventory_route.feature:6
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/behave/model.py", line 1812, in run
    match.run(runner.context)
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/behave/matchers.py", line 97, in run
    self.func(context, *args, **kwargs)
  File "tests/functional_tests/steps/supervisor_inventory_route.py", line 19, in client_receives_the_following_inventory
    assert context.response.json() == inventory
AssertionError