Skip to content

Conversation

@vignol
Copy link

@vignol vignol commented Nov 17, 2025

No description provided.

google-labs-jules bot and others added 4 commits November 14, 2025 11:57
This commit provides the final fix for the semi-automated benchmark script. It corrects the `--os-variant` parameter in the `virt-install` command from 'ubuntu22.04' to 'ubuntu24.04' to match the downloaded Ubuntu 24.04 cloud image.

This resolves the "Unknown OS name" error and should allow the KVM virtual machine to be created successfully. The script is now considered complete and robust for the semi-automated workflow.
This commit delivers the definitive version of the semi-automated benchmark script for Grid'5000. It resolves all previously identified issues through extensive debugging, resulting in a robust and platform-aware solution.

The script now requires the user to manually reserve nodes and provide their hostnames as arguments. It then automates the entire remaining workflow, correctly handling:
- Grid'5000's two-hop SSH proxy.
- The platform-specific `sudo-g5k` command for administrative tasks.
- KVM/`virt-install` quirks by removing the problematic `--os-variant` flag and correctly formatting the `--disk size` parameter.
- A complete test loop with robust error handling, logging, and automated cleanup of all created resources.
This commit introduces a new benchmark case for the `student-server` Spring Boot application.

Modifications:
- `students-server/.../StudentsController.java`: The controller has been updated to include request forwarding logic. It now accepts an optional `machine` parameter to redirect `/getstudent` and `/getrecord` requests to a backend server, enabling a 3-tier architecture test.
- `run_g5k_benchmark.sh`: The main benchmark script has been updated to include a new test loop for the `student-server` application. It now handles the upload of two versions of the application's WAR file (standard and ODB-transformed) and runs performance tests comparing them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant