Validation scripts do not work
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- testing-qa, tooling
Research direction
Reproduce the issue with python validate_all.py --config_json_file example_validate.json and inspect validate_all.py alongside the generated validation output files. Follow the traceback from sim/datacenter/validation/validate_all.py; done means the validation run completes without the traceback and accepts valid runtimes instead of skipping every result.
Written by the indexing model from the issue text.
Description
Using this command to run the validation scripts:
python validate_all.py --config_json_file example_validate.json
Then the output I get is this:
`
Global Parameters:
Link speed gbps: ['100Gbps']
Oversubscription ratio: ['1:1']
Topology sizes: [128]
Cc algo: ['nscc', 'rccc', 'rccc+os_cc', 'nscc+rccc']
Experiments:
Experiment Name: permutation
Running permutation with global parameters: {'link_speed_Gbps': '100Gbps', 'oversubscription_ratio': '1:1', 'topology_sizes': 128, 'cc_algo': 'nscc'} and subparameters: {'message_size_bytes': 262144}
Creating CM named python ../connection_matrices/gen_permutation.py experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size262144B.cm 128 128 262144 0 42
Nodes: 128
Connections: 128
Flowsize: 262144 bytes
ExtraStartTime: 0.0 us
Random Seed 42
Executing: ../htsim_uec -tm experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size262144B.cm -end 1000000 -sender_cc_only -topo ../topologies/fat_tree_128_1os.topo -linkspeed 100000 > experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size262144B_nscc_os_ratio1:1_size_topo128_link_speed100Gbps.out
Running permutation with global parameters: {'link_speed_Gbps': '100Gbps', 'oversubscription_ratio': '1:1', 'topology_sizes': 128, 'cc_algo': 'nscc'} and subparameters: {'message_size_bytes': 1048576}
Creating CM named python ../connection_matrices/gen_permutation.py experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size1048576B.cm 128 128 1048576 0 42
Nodes: 128
Connections: 128
Flowsize: 1048576 bytes
ExtraStartTime: 0.0 us
Random Seed 42
Executing: ../htsim_uec -tm experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size1048576B.cm -end 1000000 -sender_cc_only -topo ../topologies/fat_tree_128_1os.topo -linkspeed 100000 > experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size1048576B_nscc_os_ratio1:1_size_topo128_link_speed100Gbps.out
Running permutation with global parameters: {'link_speed_Gbps': '100Gbps', 'oversubscription_ratio': '1:1', 'topology_sizes': 128, 'cc_algo': 'nscc'} and subparameters: {'message_size_bytes': 4194304}
Creating CM named python ../connection_matrices/gen_permutation.py experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size4194304B.cm 128 128 4194304 0 42
Nodes: 128
Connections: 128
Flowsize: 4194304 bytes
ExtraStartTime: 0.0 us
Random Seed 42
Executing: ../htsim_uec -tm experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size4194304B.cm -end 1000000 -sender_cc_only -topo ../topologies/fat_tree_128_1os.topo -linkspeed 100000 > experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size4194304B_nscc_os_ratio1:1_size_topo128_link_speed100Gbps.out
Running permutation with global parameters: {'link_speed_Gbps': '100Gbps', 'oversubscription_ratio': '1:1', 'topology_sizes': 128, 'cc_algo': 'rccc'} and subparameters: {'message_size_bytes': 262144}
Creating CM named python ../connection_matrices/gen_permutation.py experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size262144B.cm 128 128 262144 0 42
Nodes: 128
Connections: 128
Flowsize: 262144 bytes
ExtraStartTime: 0.0 us
Random Seed 42
Executing: ../htsim_uec -tm experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size262144B.cm -end 1000000 -topo ../topologies/fat_tree_128_1os.topo -linkspeed 100000 -force_disable_oversubscribed_cc > experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size262144B_rccc_os_ratio1:1_size_topo128_link_speed100Gbps.out
Running permutation with global parameters: {'link_speed_Gbps': '100Gbps', 'oversubscription_ratio': '1:1', 'topology_sizes': 128, 'cc_algo': 'rccc'} and subparameters: {'message_size_bytes': 1048576}
Creating CM named python ../connection_matrices/gen_permutation.py experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size1048576B.cm 128 128 1048576 0 42
Nodes: 128
Connections: 128
Flowsize: 1048576 bytes
ExtraStartTime: 0.0 us
Random Seed 42
Executing: ../htsim_uec -tm experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size1048576B.cm -end 1000000 -topo ../topologies/fat_tree_128_1os.topo -linkspeed 100000 -force_disable_oversubscribed_cc > experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size1048576B_rccc_os_ratio1:1_size_topo128_link_speed100Gbps.out
Running permutation with global parameters: {'link_speed_Gbps': '100Gbps', 'oversubscription_ratio': '1:1', 'topology_sizes': 128, 'cc_algo': 'rccc'} and subparameters: {'message_size_bytes': 4194304}
Creating CM named python ../connection_matrices/gen_permutation.py experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size4194304B.cm 128 128 4194304 0 42
Nodes: 128
Connections: 128
Flowsize: 4194304 bytes
ExtraStartTime: 0.0 us
Random Seed 42
Executing: ../htsim_uec -tm experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size4194304B.cm -end 1000000 -topo ../topologies/fat_tree_128_1os.topo -linkspeed 100000 -force_disable_oversubscribed_cc > experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size4194304B_rccc_os_ratio1:1_size_topo128_link_speed100Gbps.out
Running permutation with global parameters: {'link_speed_Gbps': '100Gbps', 'oversubscription_ratio': '1:1', 'topology_sizes': 128, 'cc_algo': 'rccc+os_cc'} and subparameters: {'message_size_bytes': 262144}
Creating CM named python ../connection_matrices/gen_permutation.py experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size262144B.cm 128 128 262144 0 42
Nodes: 128
Connections: 128
Flowsize: 262144 bytes
ExtraStartTime: 0.0 us
Random Seed 42
Executing: ../htsim_uec -tm experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size262144B.cm -end 1000000 -topo ../topologies/fat_tree_128_1os.topo -linkspeed 100000 > experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size262144B_rccc+os_cc_os_ratio1:1_size_topo128_link_speed100Gbps.out
Running permutation with global parameters: {'link_speed_Gbps': '100Gbps', 'oversubscription_ratio': '1:1', 'topology_sizes': 128, 'cc_algo': 'rccc+os_cc'} and subparameters: {'message_size_bytes': 1048576}
Creating CM named python ../connection_matrices/gen_permutation.py experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size1048576B.cm 128 128 1048576 0 42
Nodes: 128
Connections: 128
Flowsize: 1048576 bytes
ExtraStartTime: 0.0 us
Random Seed 42
Executing: ../htsim_uec -tm experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size1048576B.cm -end 1000000 -topo ../topologies/fat_tree_128_1os.topo -linkspeed 100000 > experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size1048576B_rccc+os_cc_os_ratio1:1_size_topo128_link_speed100Gbps.out
Running permutation with global parameters: {'link_speed_Gbps': '100Gbps', 'oversubscription_ratio': '1:1', 'topology_sizes': 128, 'cc_algo': 'rccc+os_cc'} and subparameters: {'message_size_bytes': 4194304}
Creating CM named python ../connection_matrices/gen_permutation.py experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size4194304B.cm 128 128 4194304 0 42
Nodes: 128
Connections: 128
Flowsize: 4194304 bytes
ExtraStartTime: 0.0 us
Random Seed 42
Executing: ../htsim_uec -tm experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size4194304B.cm -end 1000000 -topo ../topologies/fat_tree_128_1os.topo -linkspeed 100000 > experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size4194304B_rccc+os_cc_os_ratio1:1_size_topo128_link_speed100Gbps.out
Running permutation with global parameters: {'link_speed_Gbps': '100Gbps', 'oversubscription_ratio': '1:1', 'topology_sizes': 128, 'cc_algo': 'nscc+rccc'} and subparameters: {'message_size_bytes': 262144}
Creating CM named python ../connection_matrices/gen_permutation.py experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size262144B.cm 128 128 262144 0 42
Nodes: 128
Connections: 128
Flowsize: 262144 bytes
ExtraStartTime: 0.0 us
Random Seed 42
Executing: ../htsim_uec -tm experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size262144B.cm -end 1000000 -sender_cc -topo ../topologies/fat_tree_128_1os.topo -linkspeed 100000 > experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size262144B_nscc+rccc_os_ratio1:1_size_topo128_link_speed100Gbps.out
Running permutation with global parameters: {'link_speed_Gbps': '100Gbps', 'oversubscription_ratio': '1:1', 'topology_sizes': 128, 'cc_algo': 'nscc+rccc'} and subparameters: {'message_size_bytes': 1048576}
Creating CM named python ../connection_matrices/gen_permutation.py experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size1048576B.cm 128 128 1048576 0 42
Nodes: 128
Connections: 128
Flowsize: 1048576 bytes
ExtraStartTime: 0.0 us
Random Seed 42
Executing: ../htsim_uec -tm experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size1048576B.cm -end 1000000 -sender_cc -topo ../topologies/fat_tree_128_1os.topo -linkspeed 100000 > experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size1048576B_nscc+rccc_os_ratio1:1_size_topo128_link_speed100Gbps.out
Running permutation with global parameters: {'link_speed_Gbps': '100Gbps', 'oversubscription_ratio': '1:1', 'topology_sizes': 128, 'cc_algo': 'nscc+rccc'} and subparameters: {'message_size_bytes': 4194304}
Creating CM named python ../connection_matrices/gen_permutation.py experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size4194304B.cm 128 128 4194304 0 42
Nodes: 128
Connections: 128
Flowsize: 4194304 bytes
ExtraStartTime: 0.0 us
Random Seed 42
Executing: ../htsim_uec -tm experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size4194304B.cm -end 1000000 -sender_cc -topo ../topologies/fat_tree_128_1os.topo -linkspeed 100000 > experiments/permutation_size128_osratio1:1_linkspeed100Gbps/tmp/permutation_size4194304B_nscc+rccc_os_ratio1:1_size_topo128_link_speed100Gbps.out
No valid runtimes found in file permutation_size4194304B_rccc_os_ratio1:1_size_topo128_link_speed100Gbps.out. Skipping.
No valid runtimes found in file permutation_size262144B_nscc+rccc_os_ratio1:1_size_topo128_link_speed100Gbps.out. Skipping.
No valid runtimes found in file permutation_size262144B_nscc_os_ratio1:1_size_topo128_link_speed100Gbps.out. Skipping.
No valid runtimes found in file permutation_size262144B_rccc+os_cc_os_ratio1:1_size_topo128_link_speed100Gbps.out. Skipping.
No valid runtimes found in file permutation_size4194304B_nscc_os_ratio1:1_size_topo128_link_speed100Gbps.out. Skipping.
No valid runtimes found in file permutation_size4194304B_rccc+os_cc_os_ratio1:1_size_topo128_link_speed100Gbps.out. Skipping.
No valid runtimes found in file permutation_size262144B_rccc_os_ratio1:1_size_topo128_link_speed100Gbps.out. Skipping.
No valid runtimes found in file permutation_size1048576B_nscc+rccc_os_ratio1:1_size_topo128_link_speed100Gbps.out. Skipping.
No valid runtimes found in file permutation_size1048576B_nscc_os_ratio1:1_size_topo128_link_speed100Gbps.out. Skipping.
No valid runtimes found in file permutation_size1048576B_rccc+os_cc_os_ratio1:1_size_topo128_link_speed100Gbps.out. Skipping.
No valid runtimes found in file permutation_size4194304B_nscc+rccc_os_ratio1:1_size_topo128_link_speed100Gbps.out. Skipping.
No valid runtimes found in file permutation_size1048576B_rccc_os_ratio1:1_size_topo128_link_speed100Gbps.out. Skipping.
Traceback (most recent call last):
File "/mnt/nvme0/robin/simulations/HTSIM/htsim/sim/datacenter/validation/validate_all.py", line 278, in
main()
File "/mnt/nvme0/robin/simulations/HTSIM/htsim/sim/datacenter/validation/validate_all.py", line 275, in main
launch_experiments(data['experiments'], global_combinations, global_parameters, args)
File "/mnt/nvme0/robin/simulations/HTSIM/htsim/sim/datacenter/validation/validate_all.py", line 242, in launch_experiments
handle_experiment(experiment, global_combinations, global_parameters, args)
File "/mnt/nvme0/robin/simulations/HTSIM/htsim/sim/datacenter/validation/validate_all.py", line 236, in handle_experiment
analysis_and_plotting.plot_runtimes(directory_tmp, directory, args)
File "/mnt/nvme0/robin/simulations/HTSIM/htsim/sim/datacenter/validation/analysis_and_plotting.py", line 200, in plot_runtimes
if ("incast" in df['Experiment'].values):
~~^^^^^^^^^^^^^^
File "/mnt/nvme0/robin/simulations/HTSIM/htsim/lib/python3.12/site-packages/pandas/core/frame.py", line 4102, in getitem
indexer = self.columns.get_loc(key)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/nvme0/robin/simulations/HTSIM/htsim/lib/python3.12/site-packages/pandas/core/indexes/range.py", line 417, in get_loc
raise KeyError(key)
KeyError: 'Experiment'
`
It seems that the flow completion is not happening and therefore not being registered by the plotting functionality.
- Dominant language
- C++
- Stars
- 35
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from spcl/HTSIM
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 50/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client areaPossibly taken @lijy91 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
libnativeapi/nativeapi#53 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
bot-triaged module: correctness (silent) module: fft triage review
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
patrickjquinn/Marathon-Shell#84 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
Maintainers usually reply within 1 day