Activity log for bug #1870360

Date Who What changed Old value New value Message
2020-04-02 14:06:58 Gábor Mészáros bug added bug
2020-04-03 03:46:48 Rafael David Tinoco nominated for series Ubuntu Eoan
2020-04-03 03:46:48 Rafael David Tinoco bug task added simplestreams (Ubuntu Eoan)
2020-04-03 03:46:48 Rafael David Tinoco nominated for series Ubuntu Bionic
2020-04-03 03:46:48 Rafael David Tinoco bug task added simplestreams (Ubuntu Bionic)
2020-04-03 03:46:54 Rafael David Tinoco simplestreams (Ubuntu Eoan): status New Fix Released
2020-04-03 03:46:56 Rafael David Tinoco simplestreams (Ubuntu): status New Fix Released
2020-04-03 03:46:59 Rafael David Tinoco simplestreams (Ubuntu Bionic): status New Triaged
2020-04-03 03:47:07 Rafael David Tinoco bug added subscriber Ubuntu Server
2020-04-03 04:33:57 Rafael David Tinoco bug added subscriber Ubuntu Cloud Uploaders
2022-06-09 08:50:11 Christian Ehrhardt  tags bitesize
2022-10-05 15:02:39 Michał Małoszewski simplestreams (Ubuntu Bionic): assignee Michał Małoszewski (michal-maloszewski99)
2022-10-18 19:48:28 Launchpad Janitor merge proposal linked https://code.launchpad.net/~michal-maloszewski99/ubuntu/+source/simplestreams/+git/simplestreams/+merge/431760
2023-05-16 08:52:21 Christian Ehrhardt  tags bitesize bitesize server-todo
2023-05-16 18:15:23 Michał Małoszewski description On eoan: ubuntu@eoan:~$ apt list --installed simplestreams Listing... Done simplestreams/eoan,now 0.1.0-25-gba75825b-0ubuntu1 all [installed] ubuntu@eoan:~$ sstream-mirror --no-verify --max=1 --progress --path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ arch=amd64 'release~(xenial|bionic)' 'version~(2.4|2.6)' --dry-run + com.ubuntu.juju:16.04:amd64 20190503 2.6-rc2-xenial-amd64 agent/2.6-rc2/juju-2.6-rc2-ubuntu-amd64.tgz 28 Mb + com.ubuntu.juju:18.04:amd64 20190503 2.6-rc2-bionic-amd64 agent/2.6-rc2/juju-2.6-rc2-ubuntu-amd64.tgz 28 Mb + com.ubuntu.juju:16.04:amd64 20191029 2.6.10-xenial-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:18.04:amd64 20191029 2.6.10-bionic-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:16.04:amd64 20191029 2.6.10-xenial-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:18.04:amd64 20191029 2.6.10-bionic-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb 174 Mb change On bionic: root@iptv-receiver:~# apt list --installed simplestreams Listing... Done simplestreams/bionic,now 0.1.0-490-g3cc8988-0ubuntu1~ubuntu18.04.1 all [installed] N: There are 2 additional versions. Please use the '-a' switch to see them. root@bionic:~# sstream-mirror --no-verify --max=1 --progress --path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ arch=amd64 'release~(xenial|bionic)' 'version ~(2.4|2.6)' --dry-run 0 Mb change Same thing with the non-dev version (from bionic-updates): root@bionic:~# apt list --installed simplestreams Listing... Done simplestreams/bionic-updates,now 0.1.0~bzr460-0ubuntu1.1 all [installed,upgradable to: 0.1.0-490-g3cc8988-0ubuntu1~ubuntu18.04.1] N: There is 1 additional version. Please use the '-a' switch to see it root@bionic:~# sstream-mirror --no-verify --max=1 --progress --path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ arch=amd64 'release~(xenial|bionic)' 'version ~(2.4|2.6)' --dry-run 0 Mb change [Impact] * Simple Streams describe streams of like items in a structural fashion. A client provides a way to sync or act on changes in a remote stream. * Users of simplestreams' sstream-mirror command using --max flag reported a filtering crash on Bionic. * This crash is caused by the BasicMirrorWriter class, which did not include applying filters to items before filtering versions. The fix is based on adding a patch with missing code. [Test Plan] Make a container for testing: $ lxc launch ubuntu-daily:bionic bionic-test $ lxc shell bionic-test Type in: $ apt install simplestreams $ sstream-mirror --no-verify --max=1 --progress --path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ arch=amd64 'release~(xenial|bionic)' 'version ~(2.4|2.6)' --dry-run Example of failed output: 0 Mb change Example of successful output: ... + com.ubuntu.juju:18.04:amd64 20191029 2.6.10-bionic-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:16.04:amd64 20191029 2.6.10-xenial-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:18.04:amd64 20191029 2.6.10-bionic-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb 174 Mb change [Where problems could occur] * The patch itself modifies the code of the BasicMirrorWriter class in the __init__.py, so regression can be limited to items filtering, reading checksums or deleting filtered products. -----------------------------original bug report------------------------ On eoan: ubuntu@eoan:~$ apt list --installed simplestreams Listing... Done simplestreams/eoan,now 0.1.0-25-gba75825b-0ubuntu1 all [installed] ubuntu@eoan:~$ sstream-mirror --no-verify --max=1 --progress --path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ arch=amd64 'release~(xenial|bionic)' 'version~(2.4|2.6)' --dry-run + com.ubuntu.juju:16.04:amd64 20190503 2.6-rc2-xenial-amd64 agent/2.6-rc2/juju-2.6-rc2-ubuntu-amd64.tgz 28 Mb + com.ubuntu.juju:18.04:amd64 20190503 2.6-rc2-bionic-amd64 agent/2.6-rc2/juju-2.6-rc2-ubuntu-amd64.tgz 28 Mb + com.ubuntu.juju:16.04:amd64 20191029 2.6.10-xenial-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:18.04:amd64 20191029 2.6.10-bionic-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:16.04:amd64 20191029 2.6.10-xenial-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:18.04:amd64 20191029 2.6.10-bionic-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb 174 Mb change On bionic: root@iptv-receiver:~# apt list --installed simplestreams Listing... Done simplestreams/bionic,now 0.1.0-490-g3cc8988-0ubuntu1~ubuntu18.04.1 all [installed] N: There are 2 additional versions. Please use the '-a' switch to see them. root@bionic:~# sstream-mirror --no-verify --max=1 --progress --path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ arch=amd64 'release~(xenial|bionic)' 'version ~(2.4|2.6)' --dry-run 0 Mb change Same thing with the non-dev version (from bionic-updates): root@bionic:~# apt list --installed simplestreams Listing... Done simplestreams/bionic-updates,now 0.1.0~bzr460-0ubuntu1.1 all [installed,upgradable to: 0.1.0-490-g3cc8988-0ubuntu1~ubuntu18.04.1] N: There is 1 additional version. Please use the '-a' switch to see it root@bionic:~# sstream-mirror --no-verify --max=1 --progress --path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ arch=amd64 'release~(xenial|bionic)' 'version ~(2.4|2.6)' --dry-run 0 Mb change
2023-05-25 14:45:24 Michał Małoszewski simplestreams (Ubuntu Bionic): status Triaged In Progress
2023-05-25 15:32:39 Launchpad Janitor merge proposal linked https://code.launchpad.net/~michal-maloszewski99/ubuntu/+source/simplestreams/+git/simplestreams/+merge/443468
2023-05-30 14:59:10 Michał Małoszewski merge proposal unlinked https://code.launchpad.net/~michal-maloszewski99/ubuntu/+source/simplestreams/+git/simplestreams/+merge/443468
2023-05-31 16:04:06 Michał Małoszewski tags bitesize server-todo bitesize
2023-05-31 16:04:32 Michał Małoszewski description [Impact] * Simple Streams describe streams of like items in a structural fashion. A client provides a way to sync or act on changes in a remote stream. * Users of simplestreams' sstream-mirror command using --max flag reported a filtering crash on Bionic. * This crash is caused by the BasicMirrorWriter class, which did not include applying filters to items before filtering versions. The fix is based on adding a patch with missing code. [Test Plan] Make a container for testing: $ lxc launch ubuntu-daily:bionic bionic-test $ lxc shell bionic-test Type in: $ apt install simplestreams $ sstream-mirror --no-verify --max=1 --progress --path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ arch=amd64 'release~(xenial|bionic)' 'version ~(2.4|2.6)' --dry-run Example of failed output: 0 Mb change Example of successful output: ... + com.ubuntu.juju:18.04:amd64 20191029 2.6.10-bionic-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:16.04:amd64 20191029 2.6.10-xenial-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:18.04:amd64 20191029 2.6.10-bionic-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb 174 Mb change [Where problems could occur] * The patch itself modifies the code of the BasicMirrorWriter class in the __init__.py, so regression can be limited to items filtering, reading checksums or deleting filtered products. -----------------------------original bug report------------------------ On eoan: ubuntu@eoan:~$ apt list --installed simplestreams Listing... Done simplestreams/eoan,now 0.1.0-25-gba75825b-0ubuntu1 all [installed] ubuntu@eoan:~$ sstream-mirror --no-verify --max=1 --progress --path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ arch=amd64 'release~(xenial|bionic)' 'version~(2.4|2.6)' --dry-run + com.ubuntu.juju:16.04:amd64 20190503 2.6-rc2-xenial-amd64 agent/2.6-rc2/juju-2.6-rc2-ubuntu-amd64.tgz 28 Mb + com.ubuntu.juju:18.04:amd64 20190503 2.6-rc2-bionic-amd64 agent/2.6-rc2/juju-2.6-rc2-ubuntu-amd64.tgz 28 Mb + com.ubuntu.juju:16.04:amd64 20191029 2.6.10-xenial-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:18.04:amd64 20191029 2.6.10-bionic-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:16.04:amd64 20191029 2.6.10-xenial-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:18.04:amd64 20191029 2.6.10-bionic-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb 174 Mb change On bionic: root@iptv-receiver:~# apt list --installed simplestreams Listing... Done simplestreams/bionic,now 0.1.0-490-g3cc8988-0ubuntu1~ubuntu18.04.1 all [installed] N: There are 2 additional versions. Please use the '-a' switch to see them. root@bionic:~# sstream-mirror --no-verify --max=1 --progress --path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ arch=amd64 'release~(xenial|bionic)' 'version ~(2.4|2.6)' --dry-run 0 Mb change Same thing with the non-dev version (from bionic-updates): root@bionic:~# apt list --installed simplestreams Listing... Done simplestreams/bionic-updates,now 0.1.0~bzr460-0ubuntu1.1 all [installed,upgradable to: 0.1.0-490-g3cc8988-0ubuntu1~ubuntu18.04.1] N: There is 1 additional version. Please use the '-a' switch to see it root@bionic:~# sstream-mirror --no-verify --max=1 --progress --path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ arch=amd64 'release~(xenial|bionic)' 'version ~(2.4|2.6)' --dry-run 0 Mb change On eoan: ubuntu@eoan:~$ apt list --installed simplestreams Listing... Done simplestreams/eoan,now 0.1.0-25-gba75825b-0ubuntu1 all [installed] ubuntu@eoan:~$ sstream-mirror --no-verify --max=1 --progress --path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ arch=amd64 'release~(xenial|bionic)' 'version~(2.4|2.6)' --dry-run + com.ubuntu.juju:16.04:amd64 20190503 2.6-rc2-xenial-amd64 agent/2.6-rc2/juju-2.6-rc2-ubuntu-amd64.tgz 28 Mb + com.ubuntu.juju:18.04:amd64 20190503 2.6-rc2-bionic-amd64 agent/2.6-rc2/juju-2.6-rc2-ubuntu-amd64.tgz 28 Mb + com.ubuntu.juju:16.04:amd64 20191029 2.6.10-xenial-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:18.04:amd64 20191029 2.6.10-bionic-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:16.04:amd64 20191029 2.6.10-xenial-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb + com.ubuntu.juju:18.04:amd64 20191029 2.6.10-bionic-amd64 agent/2.6.10/juju-2.6.10-ubuntu-amd64.tgz 29 Mb 174 Mb change On bionic: root@iptv-receiver:~# apt list --installed simplestreams Listing... Done simplestreams/bionic,now 0.1.0-490-g3cc8988-0ubuntu1~ubuntu18.04.1 all [installed] N: There are 2 additional versions. Please use the '-a' switch to see them. root@bionic:~# sstream-mirror --no-verify --max=1 --progress --path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ arch=amd64 'release~(xenial|bionic)' 'version ~(2.4|2.6)' --dry-run 0 Mb change Same thing with the non-dev version (from bionic-updates): root@bionic:~# apt list --installed simplestreams Listing... Done simplestreams/bionic-updates,now 0.1.0~bzr460-0ubuntu1.1 all [installed,upgradable to: 0.1.0-490-g3cc8988-0ubuntu1~ubuntu18.04.1] N: There is 1 additional version. Please use the '-a' switch to see it root@bionic:~# sstream-mirror --no-verify --max=1 --progress --path=streams/v1/index2.sjson https://streams.canonical.com/juju/tools ./ arch=amd64 'release~(xenial|bionic)' 'version ~(2.4|2.6)' --dry-run 0 Mb change
2023-05-31 16:04:45 Michał Małoszewski simplestreams (Ubuntu Bionic): status In Progress Won't Fix
2023-05-31 16:04:48 Michał Małoszewski simplestreams (Ubuntu Bionic): assignee Michał Małoszewski (michal-maloszewski99)