You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

2.6 KiB

Docker Container

docker build . -t vv:latest

docker run -it -v $PWD:/collection -v $HOME/Projects/HELYXcore-dev/:/core vv:latest /bin/bash

  • Collections: /collections
  • Core: /core

vv init --collection_path=/collection/

Error 1

CommandSequence.__init__() got an unexpected keyword argument 'mode' Found out that CommandSequence doesn't have a "mode" parameter, but all the configurations in vv-collection have it in their commands. Fix was to add the property, although it's clear things are now broken

Error 2

Traceback (most recent call last):
  File "/usr/local/bin/vv", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vv/vv.py", line 261, in main
    function(args.path, args)
  File "/usr/local/lib/python3.12/dist-packages/vv/vv_run.py", line 110, in main
    for_all_cases(cwd, run_case,
  File "/usr/local/lib/python3.12/dist-packages/vv/vv_common.py", line 639, in for_all_cases
    case_settings_dict = create_cases_dict(cwd, cmdline_args)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vv/vv_common.py", line 614, in create_cases_dict
    case_settings_dict[case] = initialize_case(general_settings,
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vv/vv_common.py", line 579, in initialize_case
    get_general_settings_parameters(
  File "/usr/local/lib/python3.12/dist-packages/vv/vv_common.py", line 189, in get_general_settings_parameters
    get_general_settings_parameters(item, general_settings)
  File "/usr/local/lib/python3.12/dist-packages/vv/vv_common.py", line 189, in get_general_settings_parameters
    get_general_settings_parameters(item, general_settings)
  File "/usr/local/lib/python3.12/dist-packages/vv/vv_common.py", line 193, in get_general_settings_parameters
    yaml_dict[key] = _replace_general_settings_parameter(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vv/vv_common.py", line 163, in _replace_general_settings_parameter
    if not parameter in general_settings.parameters.parameters:
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'parameters'

Ruan

[2:24 PM] Ruan Engelbrecht

Ah yes so at the bottom there's the list of cases specified under the run_cases key

[2:25 PM] Ruan Engelbrecht

Uncomment the last two lines of my file, and source the mid-sized-ci collection, then vv init -> vv prepare -> vv run

[2:26 PM] Ruan Engelbrecht

And source your core