{% extends "broker/base.html" %}{% block title %}Test {{ cluster }}{% endblock %}{% load broker_resource_limits %}{% block content %} {% include "broker/cluster_navigation.html" with cluster_section="test" current="Test cluster" %}

Test {{ cluster }}

This prepares a tiny CPU-only Python job. You will review its exact files and reservation on the normal approval page before anything runs.

{% if blocked_reason %}

{{ blocked_reason }}

{% endif %} {% if plan %}

The script sleeps for two seconds, prints its hostname and Python version, and writes cluster-check.json. It requests {{ plan.resources.cpus }} CPU{{ plan.resources.cpus|pluralize }}, 128 MiB, no GPUs and a one-minute scheduler walltime. Queueing and cleanup can take longer.

Compute reservation: {{ plan.reservation_cpu_seconds|compute_hours }} CPU core-hours ({{ plan.reservation_cpu_seconds }} CPU core-seconds), using the effective CPU allocation and requested scheduler walltime. Approval, lifetime limits, cancellation and final accounting follow the ordinary job path.

{% endif %}

Diagnostic allowance

{% if configuration %}

{{ configuration.project.name }} · Available: {{ allowance.available.cpu_core_seconds|compute_hours }} CPU core-hours · Reserved: {{ allowance.reserved.cpu_core_seconds|compute_hours }} · Spent: {{ allowance.spent.cpu_core_seconds|compute_hours }} · Lifetime tests admitted: {{ allowance.jobs.admitted }} / {{ allowance.jobs.limit }}

{% else %}

The first prepared test creates a dedicated project with {{ initial_cpu_allowance|compute_hours }} CPU core-hours ({{ initial_cpu_allowance }} CPU core-seconds), zero GPU allowance, one active job and at most {{ initial_job_limit }} lifetime admitted jobs. Its allowance and internal credential expire after 30 days.

{% endif %}

Repeating a test never refills funds, resets job counts, renews expiry or replaces a revoked credential. Review the existing diagnostic project to change its settings explicitly.

Prepare a test

{% csrf_token %}{{ form.non_field_errors }} {% for field in form %}{% include 'broker/configuration_field.html' with field=field %}{% endfor %} Prepare test for review

The system Python option references an existing interpreter; it installs nothing. A missing interpreter or module on compute nodes appears as an ordinary failed job. Changing the selected recipe does not grant new project permissions.

Python source that will be reviewed
{{ source }}
{% if configuration %}

Recent tests

{% for result in recent_results %}{% if result.attempts %}

Results: {{ result.job.name }}

{% for attempt in result.attempts %}{% include "broker/attempt_diagnostics.html" with diagnostics=attempt.diagnostics %} {% for output in attempt.outputs %}

{{ output.path }}

SHA-256: {{ output.sha256 }}

{{ output.text }}
{% endfor %} {% endfor %}
{% endif %}{% endfor %}{% endif %} {% endblock %}