2022-11-29 23:53:22 |
Brian Murray |
bug |
|
|
added bug |
2022-11-29 23:54:28 |
Brian Murray |
nominated for series |
|
Ubuntu Bionic |
|
2022-11-29 23:54:28 |
Brian Murray |
bug task added |
|
apt (Ubuntu Bionic) |
|
2022-11-29 23:56:21 |
Brian Murray |
description |
I'm trying to update the command-not-found indexes on the production cnf extractor system (running bionic) and have encountered Tracebacks when generating them for Jammy and Lunar. This is causing the command not found indexes to be out of date for all(?) releases of Ubuntu.
The lunar failure:
Get:1 dotnet-sdk-6.0_6.0.111-0ubuntu3_amd64.deb [79.1 MB]
Fetched 79.1 MB in 0s (0 B/s)
Traceback (most recent call last):64... 7%
File "./bin/cnf-extract.py", line 54, in <module>
mirror_root, suite, component, arch)
File "/srv/cnf-extractor/extractor/extractor.py", line 174, in command_not_found_extract
debpath = pkg.candidate.fetch_binary(destdir=tmpdir)
File "/usr/lib/python3/dist-packages/apt/package.py", line 883, in fetch_binary
self.size, base, destfile=destfile)
OverflowError: signed integer is greater than maximum
I'll get more context for the Jammy failure but it wouldn't surprise me if it was the same package. |
I'm trying to update the command-not-found indexes (bin/cnf-extract.py $MIRROR $suite $component $arch) on the production cnf extractor system (running bionic) and have encountered Tracebacks when generating them for Jammy and Lunar. This is causing the command not found indexes to be out of date for all(?) releases of Ubuntu.
The lunar failure:
Get:1 dotnet-sdk-6.0_6.0.111-0ubuntu3_amd64.deb [79.1 MB]
Fetched 79.1 MB in 0s (0 B/s)
Traceback (most recent call last):64... 7%
File "./bin/cnf-extract.py", line 54, in <module>
mirror_root, suite, component, arch)
File "/srv/cnf-extractor/extractor/extractor.py", line 174, in command_not_found_extract
debpath = pkg.candidate.fetch_binary(destdir=tmpdir)
File "/usr/lib/python3/dist-packages/apt/package.py", line 883, in fetch_binary
self.size, base, destfile=destfile)
OverflowError: signed integer is greater than maximum
I'll get more context for the Jammy failure but it wouldn't surprise me if it was the same package. |
|
2022-11-30 01:14:55 |
Brian Murray |
affects |
apt (Ubuntu) |
python-apt (Ubuntu) |
|
2022-11-30 12:48:43 |
Julian Andres Klode |
python-apt (Ubuntu): status |
New |
In Progress |
|
2022-11-30 12:48:50 |
Julian Andres Klode |
python-apt (Ubuntu): assignee |
|
Julian Andres Klode (juliank) |
|
2022-12-01 12:09:36 |
Julian Andres Klode |
python-apt (Ubuntu Bionic): status |
New |
In Progress |
|
2022-12-01 12:09:44 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Focal |
|
2022-12-01 12:09:44 |
Julian Andres Klode |
bug task added |
|
python-apt (Ubuntu Focal) |
|
2022-12-01 12:09:44 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Jammy |
|
2022-12-01 12:09:44 |
Julian Andres Klode |
bug task added |
|
python-apt (Ubuntu Jammy) |
|
2022-12-01 12:09:44 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Kinetic |
|
2022-12-01 12:09:44 |
Julian Andres Klode |
bug task added |
|
python-apt (Ubuntu Kinetic) |
|
2022-12-01 13:09:48 |
Julian Andres Klode |
description |
I'm trying to update the command-not-found indexes (bin/cnf-extract.py $MIRROR $suite $component $arch) on the production cnf extractor system (running bionic) and have encountered Tracebacks when generating them for Jammy and Lunar. This is causing the command not found indexes to be out of date for all(?) releases of Ubuntu.
The lunar failure:
Get:1 dotnet-sdk-6.0_6.0.111-0ubuntu3_amd64.deb [79.1 MB]
Fetched 79.1 MB in 0s (0 B/s)
Traceback (most recent call last):64... 7%
File "./bin/cnf-extract.py", line 54, in <module>
mirror_root, suite, component, arch)
File "/srv/cnf-extractor/extractor/extractor.py", line 174, in command_not_found_extract
debpath = pkg.candidate.fetch_binary(destdir=tmpdir)
File "/usr/lib/python3/dist-packages/apt/package.py", line 883, in fetch_binary
self.size, base, destfile=destfile)
OverflowError: signed integer is greater than maximum
I'll get more context for the Jammy failure but it wouldn't surprise me if it was the same package. |
[Impact]
Large files can't be downloaded as we use a 32-bit integer in AcquireFile constructor, this breaks e.g. command-not-found generator:
I'm trying to update the command-not-found indexes (bin/cnf-extract.py $MIRROR $suite $component $arch) on the production cnf extractor system (running bionic) and have encountered Tracebacks when generating them for Jammy and Lunar. This is causing the command not found indexes to be out of date for all(?) releases of Ubuntu.
The lunar failure:
Get:1 dotnet-sdk-6.0_6.0.111-0ubuntu3_amd64.deb [79.1 MB]
Fetched 79.1 MB in 0s (0 B/s)
Traceback (most recent call last):64... 7%
File "./bin/cnf-extract.py", line 54, in <module>
mirror_root, suite, component, arch)
File "/srv/cnf-extractor/extractor/extractor.py", line 174, in command_not_found_extract
debpath = pkg.candidate.fetch_binary(destdir=tmpdir)
File "/usr/lib/python3/dist-packages/apt/package.py", line 883, in fetch_binary
self.size, base, destfile=destfile)
OverflowError: signed integer is greater than maximum
I'll get more context for the Jammy failure but it wouldn't surprise me if it was the same package.
[Test plan]
I have included a test for the AcquireFile constructor to accept a large file size, and then a test that ensures it can read the file size.
Run the autopkgtest suite.
[Where problems could occur]
It could fail in other places now.
[Other info]
Also including some auxiliary changes as we move back to proper upstream releases to enable testing, mostly around
d/gbp.conf, .gitlab-ci.yml - being updated to point at right places
d/t/control - adding a missing test dependency
data/ - updated mirror lists
The mirror lists are standard updates; the debian/tests/control change
is needed to enable testing on more minimal autopkgtest images (our images
accidentally include binutils); the other changes have zero impact on the Ubuntu infra or end user side as they only run during development. |
|
2022-12-01 13:09:59 |
Julian Andres Klode |
python-apt (Ubuntu Focal): status |
New |
In Progress |
|
2022-12-01 13:11:16 |
Julian Andres Klode |
description |
[Impact]
Large files can't be downloaded as we use a 32-bit integer in AcquireFile constructor, this breaks e.g. command-not-found generator:
I'm trying to update the command-not-found indexes (bin/cnf-extract.py $MIRROR $suite $component $arch) on the production cnf extractor system (running bionic) and have encountered Tracebacks when generating them for Jammy and Lunar. This is causing the command not found indexes to be out of date for all(?) releases of Ubuntu.
The lunar failure:
Get:1 dotnet-sdk-6.0_6.0.111-0ubuntu3_amd64.deb [79.1 MB]
Fetched 79.1 MB in 0s (0 B/s)
Traceback (most recent call last):64... 7%
File "./bin/cnf-extract.py", line 54, in <module>
mirror_root, suite, component, arch)
File "/srv/cnf-extractor/extractor/extractor.py", line 174, in command_not_found_extract
debpath = pkg.candidate.fetch_binary(destdir=tmpdir)
File "/usr/lib/python3/dist-packages/apt/package.py", line 883, in fetch_binary
self.size, base, destfile=destfile)
OverflowError: signed integer is greater than maximum
I'll get more context for the Jammy failure but it wouldn't surprise me if it was the same package.
[Test plan]
I have included a test for the AcquireFile constructor to accept a large file size, and then a test that ensures it can read the file size.
Run the autopkgtest suite.
[Where problems could occur]
It could fail in other places now.
[Other info]
Also including some auxiliary changes as we move back to proper upstream releases to enable testing, mostly around
d/gbp.conf, .gitlab-ci.yml - being updated to point at right places
d/t/control - adding a missing test dependency
data/ - updated mirror lists
The mirror lists are standard updates; the debian/tests/control change
is needed to enable testing on more minimal autopkgtest images (our images
accidentally include binutils); the other changes have zero impact on the Ubuntu infra or end user side as they only run during development. |
[Impact]
Large files can't be downloaded as we use a 32-bit integer in AcquireFile constructor, this breaks e.g. command-not-found generator:
I'm trying to update the command-not-found indexes (bin/cnf-extract.py $MIRROR $suite $component $arch) on the production cnf extractor system (running bionic) and have encountered Tracebacks when generating them for Jammy and Lunar. This is causing the command not found indexes to be out of date for all(?) releases of Ubuntu.
The lunar failure:
Get:1 dotnet-sdk-6.0_6.0.111-0ubuntu3_amd64.deb [79.1 MB]
Fetched 79.1 MB in 0s (0 B/s)
Traceback (most recent call last):64... 7%
File "./bin/cnf-extract.py", line 54, in <module>
mirror_root, suite, component, arch)
File "/srv/cnf-extractor/extractor/extractor.py", line 174, in command_not_found_extract
debpath = pkg.candidate.fetch_binary(destdir=tmpdir)
File "/usr/lib/python3/dist-packages/apt/package.py", line 883, in fetch_binary
self.size, base, destfile=destfile)
OverflowError: signed integer is greater than maximum
I'll get more context for the Jammy failure but it wouldn't surprise me if it was the same package.
[Test plan]
I have included a test for the AcquireFile constructor to accept a large file size, and then a test that ensures it can read the file size.
Run the autopkgtest suite.
[Where problems could occur]
It could fail in other places now.
For kinetic, the package was copied in from lunar without changes. This upload is actually built in kinetic and hence there is additional regression potential from toolchain changes.
[Other info]
Also including some auxiliary changes as we move back to proper upstream releases to enable testing, mostly around
d/gbp.conf, .gitlab-ci.yml - being updated to point at right places
d/t/control - adding a missing test dependency
data/ - updated mirror lists
The mirror lists are standard updates; the debian/tests/control change
is needed to enable testing on more minimal autopkgtest images (our images
accidentally include binutils); the other changes have zero impact on the Ubuntu infra or end user side as they only run during development. |
|
2022-12-02 16:56:24 |
Brian Murray |
python-apt (Ubuntu Kinetic): status |
New |
Fix Committed |
|
2022-12-02 16:56:25 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2022-12-02 16:56:27 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2022-12-02 16:56:29 |
Brian Murray |
tags |
|
verification-needed verification-needed-kinetic |
|
2022-12-02 17:03:12 |
Brian Murray |
python-apt (Ubuntu Jammy): status |
New |
Fix Committed |
|
2022-12-02 17:03:17 |
Brian Murray |
tags |
verification-needed verification-needed-kinetic |
verification-needed verification-needed-jammy verification-needed-kinetic |
|
2022-12-02 17:05:22 |
Brian Murray |
python-apt (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2022-12-02 17:05:28 |
Brian Murray |
tags |
verification-needed verification-needed-jammy verification-needed-kinetic |
verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic |
|
2022-12-02 17:08:32 |
Brian Murray |
python-apt (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2022-12-02 17:08:39 |
Brian Murray |
tags |
verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic |
verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic |
|
2022-12-02 20:11:51 |
Brian Murray |
tags |
verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic |
verification-done-bionic verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic |
|
2022-12-14 18:22:43 |
Launchpad Janitor |
python-apt (Ubuntu): status |
In Progress |
Fix Released |
|
2023-01-11 15:34:12 |
Launchpad Janitor |
python-apt (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2023-01-11 15:34:16 |
Robie Basak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2023-01-11 21:02:20 |
Robie Basak |
tags |
verification-done-bionic verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic |
verification-done verification-done-bionic verification-done-focal verification-done-jammy verification-done-kinetic |
|
2023-01-17 21:21:40 |
Launchpad Janitor |
python-apt (Ubuntu Kinetic): status |
Fix Committed |
Fix Released |
|
2023-01-17 21:22:12 |
Launchpad Janitor |
python-apt (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2023-01-17 21:22:36 |
Launchpad Janitor |
python-apt (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|