Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
68fd462
Replace test ID path with UUID path
hwikle-lanl Nov 10, 2025
3a37104
Miscellaneous changes
hwikle-lanl Nov 10, 2025
b3cd9b8
Fix unit test
hwikle-lanl Nov 12, 2025
b9f59a2
Fix cancel_tests unit test
hwikle-lanl Nov 14, 2025
85a9836
Fix cancel_invalid_test unit test
hwikle-lanl Nov 14, 2025
0e54304
Fix logging tests
hwikle-lanl Nov 14, 2025
90fbea8
Fix arg_filtered_tests unit test
hwikle-lanl Nov 14, 2025
50f0686
Fix list_cmd unit tests
hwikle-lanl Nov 14, 2025
6f7d365
Fix index unit test
hwikle-lanl Nov 14, 2025
3cec363
Pass more unit tests
hwikle-lanl Nov 14, 2025
5a8a93b
Fix even more unit tests
hwikle-lanl Nov 15, 2025
9472da3
Fix legacy unit test
hwikle-lanl Nov 17, 2025
8e462cc
Fix add_module unit test
hwikle-lanl Nov 17, 2025
e177495
Fix style issues
hwikle-lanl Nov 17, 2025
b8c33d0
Add validation to TestIDs
hwikle-lanl Nov 17, 2025
1a238e4
Various changes to integrate TestID
hwikle-lanl Nov 17, 2025
8ea9cf0
Various changes
hwikle-lanl Nov 18, 2025
0cd5bbe
Fix graph command ID parsing
hwikle-lanl Nov 18, 2025
7b0c719
Fixing IDs
hwikle-lanl Nov 18, 2025
b2dc342
Progress towards fixing unit tests
hwikle-lanl Nov 19, 2025
c7057bd
Fix group unit tests
hwikle-lanl Nov 19, 2025
484167f
Fix bug in LazyTestRunDict
hwikle-lanl Nov 19, 2025
e37a960
Fix cancel command unit tests
hwikle-lanl Nov 19, 2025
8a5b5ac
Fix cat unit tests
hwikle-lanl Nov 19, 2025
5b3d0f4
Fix graph command unit tests
hwikle-lanl Nov 19, 2025
39ca79a
Fix list command unit tests
hwikle-lanl Nov 19, 2025
3d74f2b
Fix log command unit tests
hwikle-lanl Nov 19, 2025
560a823
Fix result command unit tests
hwikle-lanl Nov 19, 2025
053d403
Update cmd_utils to work with ID objects
hwikle-lanl Nov 19, 2025
33151f4
Fix logging unit tests
hwikle-lanl Nov 19, 2025
bf9071e
Fix run command unit tests
hwikle-lanl Nov 19, 2025
285ee81
Fix series command tests
hwikle-lanl Nov 19, 2025
42bb62c
Fix cancel command tests
hwikle-lanl Nov 19, 2025
2f3e064
Fix series unit tests
hwikle-lanl Nov 19, 2025
9792b8c
Fix status command unit tests
hwikle-lanl Nov 19, 2025
33795ac
Fix remaining unit tests
hwikle-lanl Nov 19, 2025
df86559
Refactor arg_filtered_tests
hwikle-lanl Nov 20, 2025
0f75c79
Refactor arg_filtered_series
hwikle-lanl Nov 20, 2025
e74c60b
Various changes
hwikle-lanl Nov 20, 2025
3dc1b6e
More ID tweaks
hwikle-lanl Nov 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions lib/pavilion/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ def build(self, test_id: str, tracker: BuildTracker,
directory into our test directory, and note that we've used the given
build.

:param test_id: The test 'full_id' for the test initiating this build.
:param test_id: The test id for the test initiating this build.
:param tracker: A thread-safe tracker object for keeping info on what the
build is doing.
:param cancel_event: Allows builds to tell each other
Expand Down Expand Up @@ -570,7 +570,7 @@ def _build(self, build_dir, cancel_event, test_id, tracker: BuildTracker) -> boo
:param Path build_dir: The directory in which to perform the build.
:param threading.Event cancel_event: Event to signal that the build
should stop.
:param test_id: The 'full_id' of the test initiating the build.
:param test_id: The ID of the test initiating the build.
:param tracker: Build tracker for this build.
:returns: True or False, depending on whether the build appears to have
been successful.
Expand All @@ -592,7 +592,8 @@ def _build(self, build_dir, cancel_event, test_id, tracker: BuildTracker) -> boo
# Do the build, and wait for it to complete.
with self.tmp_log_path.open('w') as build_log:
# Build scripts take the test id as a first argument.
cmd = [self._script_path.as_posix(), test_id]
cmd = [self._script_path.as_posix(), str(test_id)]

proc = subprocess.Popen(cmd,
cwd=build_dir.as_posix(),
stdout=build_log,
Expand Down Expand Up @@ -797,10 +798,6 @@ def _setup_build_dir(self, dest: Path, tracker: BuildTracker) -> None:
raise TestBuilderError("Error extracting file '{}'\n {}"
.format(src_path.as_posix(), extract_error))

tracker.update(
state=STATES.BUILDING,
note="Generating dynamically created files.")

# Create build time file(s).
for file, contents in self._config.get('create_files', {}).items():
try:
Expand Down
2 changes: 1 addition & 1 deletion lib/pavilion/cancel_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def cancel_tests(pav_cfg: PavConfig, tests: Iterable[TestRun], outfile: TextIO,
title="Cancelling {} test{}".format(test_count, 's' if test_count > 1 else ''),
outfile=outfile,
fields=['name', 'id', 'state', 'series'],
rows=[{'name': test.name, 'id': test.full_id,
rows=[{'name': test.name, 'id': test.id,
'state': test.status.current().state, 'series': test.series}
for test in cancelled_test_info])
else:
Expand Down
Loading
Loading