File size: 3,447 Bytes
d61821a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
  "commit": "32dbc6f2bee5b22d18c4793f135223d9b9824d15",
  "parent": "ee393a16e1aa6dbf2f9785eb3ef486f7d5b9276f",
  "repository_id": "R003",
  "schema_version": 1,
  "task_id": "TASK_S2_R003_011",
  "valid_end_to_end": true,
  "validation": {
    "commands": [
      "python -m pytest -q tests/unit/objects"
    ],
    "elapsed_seconds": 1.2926694171037525,
    "gold": [
      {
        "command": "python -m pytest -q tests/unit/objects",
        "elapsed_seconds": 0.4181147499475628,
        "returncode": 0,
        "stderr": "",
        "stdout": "....................................................................s..s [ 21%]\n........................................................................ [ 42%]\n.......................................................................s [ 64%]\n........................................................................ [ 85%]\n................................................                         [100%]\n333 passed, 3 skipped in 0.25s\n",
        "timed_out": false
      }
    ],
    "hidden": [
      {
        "command": "python -m pytest -q tests/unit/objects",
        "elapsed_seconds": 0.2554962078575045,
        "returncode": 2,
        "stderr": "",
        "stdout": "\n==================================== ERRORS ====================================\n__________ ERROR collecting tests/unit/objects/test_cluster_agents.py __________\nImportError while importing test module '/private/var/folders/mv/1101q6r16619mvm7kc7f3lt80000gn/T/study2-r003-8a6hfxuk/tree/tests/unit/objects/test_cluster_agents.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n/opt/homebrew/Cellar/python@3.11/3.11.15_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/__init__.py:126: in import_module\n    return _bootstrap._gcd_import(name[level:], package, level)\ntests/unit/objects/test_cluster_agents.py:8: in <module>\n    from gitlab.v4.objects import ProjectClusterAgent\nE   ImportError: cannot import name 'ProjectClusterAgent' from 'gitlab.v4.objects' (/private/var/folders/mv/1101q6r16619mvm7kc7f3lt80000gn/T/study2-r003-8a6hfxuk/tree/gitlab/v4/objects/__init__.py)\n=========================== short test summary info ============================\nERROR tests/unit/objects/test_cluster_agents.py\n!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!\n1 error in 0.08s\n",
        "timed_out": false
      }
    ],
    "hidden_apply": {
      "elapsed_seconds": 0.0108537501655519,
      "returncode": 0,
      "stderr": "",
      "stdout": ""
    },
    "original": [
      {
        "command": "python -m pytest -q tests/unit/objects",
        "elapsed_seconds": 0.5554793330375105,
        "returncode": 0,
        "stderr": "",
        "stdout": "................................................................s..s.... [ 21%]\n........................................................................ [ 43%]\n...................................................................s.... [ 65%]\n........................................................................ [ 86%]\n............................................                             [100%]\n329 passed, 3 skipped in 0.37s\n",
        "timed_out": false
      }
    ],
    "reason": null,
    "source_apply": {
      "elapsed_seconds": 0.00920033291913569,
      "returncode": 0,
      "stderr": "",
      "stdout": ""
    },
    "valid": true
  }
}