Your message dated Sun, 16 Jun 2024 16:31:22 +0200 with message-id <3f3c32c8-c277-4774-ad38-f1c6c7280aac@debian.org> and subject line Re: release.debian.org: state/autopkgtest-results.cache keeps on growing has caused the Debian Bug report #992787, regarding release.debian.org: state/autopkgtest-results.cache keeps on growing to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 992787: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992787 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: release.debian.org: state/autopkgtest-results.cache keeps on growing
- From: Paul Gevers <elbrus@debian.org>
- Date: Mon, 23 Aug 2021 14:05:45 +0200
- Message-id: <162972034513.160998.3053110397253328950.reportbug@mulciber.marsaxlokk.dhcp.io>
Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: britney I'm filing this bug to remind myself (and others) that britney never cleans up its autopkgtest-results.cache file. Today I used an out-of-band script to reduce the file a bit (from 529M to 50M), but britney should do that somehow by itself. As far as I understand, this isn't so much an issue for Ubuntu because they start over again with each release. IIRC we could do that as well as it would be just a bit more churn at the start of the release, so it's probably smarter to drop results of versions that don't exist anymore in the involved suites. Paul -rw-rw-r-- 1 release debian-release 50M aug 23 11:10 autopkgtest-results.cache -rw-rw-r-- 1 release debian-release 529M aug 23 10:13 autopkgtest-results.cache.old (Ugly) Code used elbrus@respighi:~$ cat bin/strip-britney-autopkgtest.cache #!/usr/bin/python3 import json import time from copy import deepcopy ref_time = round(time.time()) - 150 * 86000 with open('/home/release/britney/state/autopkgtest-results.cache') as f: test_results = json.load(f) test_results_new = deepcopy(test_results) for (trigger, trigger_data) in test_results.items(): for (src, results) in trigger_data.items(): for (arch, result) in results.items(): if result[3] < ref_time: del test_results_new[trigger][src][arch] if len(test_results_new[trigger][src]) == 0: del test_results_new[trigger][src] if len(test_results_new[trigger]) == 0: del test_results_new[trigger] with open('/home/elbrus/autopkgtest-results.cache.new', 'w') as f: json.dump(test_results_new, f, indent=2)
--- End Message ---
--- Begin Message ---
- To: 992787-done@bugs.debian.org
- Subject: Re: release.debian.org: state/autopkgtest-results.cache keeps on growing
- From: Paul Gevers <elbrus@debian.org>
- Date: Sun, 16 Jun 2024 16:31:22 +0200
- Message-id: <3f3c32c8-c277-4774-ad38-f1c6c7280aac@debian.org>
- In-reply-to: <162972034513.160998.3053110397253328950.reportbug@mulciber.marsaxlokk.dhcp.io>
- References: <162972034513.160998.3053110397253328950.reportbug@mulciber.marsaxlokk.dhcp.io> <162972034513.160998.3053110397253328950.reportbug@mulciber.marsaxlokk.dhcp.io>
Hi, On Mon, 23 Aug 2021 14:05:45 +0200 Paul Gevers <elbrus@debian.org> wrote:I'm filing this bug to remind myself (and others) that britney never cleans up its autopkgtest-results.cache file.This has been fixed earlier this year. PaulAttachment: OpenPGP_signature.asc
Description: OpenPGP digital signature
--- End Message ---