canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #04409
[Merge] ~hyask/autopkgtest-cloud:skia/slower_running_state into autopkgtest-cloud:master
Skia has proposed merging ~hyask/autopkgtest-cloud:skia/slower_running_state into autopkgtest-cloud:master.
Requested reviews:
Canonical's Ubuntu QA (canonical-ubuntu-qa)
For more details, see:
https://code.launchpad.net/~hyask/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/467833
This MP fixes the issue with RabbitMQ restarting every 2 hours under high load.
--
Your team Canonical's Ubuntu QA is requested to review the proposed merge of ~hyask/autopkgtest-cloud:skia/slower_running_state into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker/worker b/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker/worker
index 746ad31..9dc3d2e 100755
--- a/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker/worker
+++ b/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker/worker
@@ -574,7 +574,7 @@ def call_autopkgtest(
status_update_counter = 0
while autopkgtest.poll() is None:
time.sleep(1)
- status_update_counter = (status_update_counter + 1) % 10
+ status_update_counter = (status_update_counter + 1) % 30
if status_update_counter == 0:
send_status_info(
status_amqp,
diff --git a/charms/focal/autopkgtest-web/webcontrol/templates/browse-running.html b/charms/focal/autopkgtest-web/webcontrol/templates/browse-running.html
index 48080ce..e0c8a19 100644
--- a/charms/focal/autopkgtest-web/webcontrol/templates/browse-running.html
+++ b/charms/focal/autopkgtest-web/webcontrol/templates/browse-running.html
@@ -2,25 +2,10 @@
{% import "macros.html" as macros %}
{% block content %}
- <h1 class="page-header">Currently running tests</h1>
- {% if running_count != 1 %}
- <p>There are currently {{running_count}} running tests.</p>
- {% else %}
- <p>There is currently {{running_count}} running test.</p>
- {% endif %}
- <p>Click on the package name to jump to the currently running tests of that package.</p>
+ <h1 class="page-header">Running and queued tests</h1>
+ <p>The data displayed on this page is refreshed approximately every 30 seconds.</p>
- <table class="table-condensed table-striped">
- {% for column in running|sort|batch(3) %}
- <tr>
- {% for p in column %}
- <td><a href="#pkg-{{ p }}">{{ p }}</a></td>
- {% endfor %}
- </tr>
- {% endfor %}
- </table>
-
- <h3>Queue lengths</h3>
+ <h2>Queue lengths</h2>
<p>Click on the number in a cell to jump to the list of test requests for
that release and architecture which are waiting to be run.</p>
@@ -43,8 +28,27 @@
{% endfor %}
<!-- Running tests -->
+ <h2>Running tests</h2>
+ {% if running_count != 1 %}
+ <p>There are currently {{running_count}} running tests.</p>
+ {% else %}
+ <p>There is currently {{running_count}} running test.</p>
+ {% endif %}
+ <p>Click on the package name to jump to the currently running tests of that package.</p>
+ <table class="table-condensed table-striped">
+ {% for column in running|sort|batch(3) %}
+ <tr>
+ {% for p in column %}
+ <td><a href="#pkg-{{ p }}">{{ p }}</a></td>
+ {% endfor %}
+ </tr>
+ {% endfor %}
+ </table>
+
+ <hr>
+
{% for p, info in running.items()|sort %}
- <h2 id="pkg-{{ p }}"><a href="/packages/{{ p }}">{{ p }}</a></h2>
+ <h3 id="pkg-{{ p }}"><a href="/packages/{{ p }}">{{ p }}</a></h3>
{{ macros.display_running_job(p, info) }}
{% endfor %}