Discussion:
Bug#1084894: transition: phpunit
Add Reply
David Prévot
2024-10-10 14:40:01 UTC
Reply
Permalink
Package: release.debian.org
Severity: normal
X-Debbugs-Cc: ***@packages.debian.org, Debian PHP PEAR Maintainers <pkg-php-***@lists.alioth.debian.org>
Control: affects -1 + src:phpunit
User: ***@packages.debian.org
Usertags: transition

Hi,

We’d like to ship a not too old PHPUnit version in Trixie: PHPUnit 9 was
initially released in 2020, while PHPUnit 11 was released in 2024. That
package is used for tests (at build time and for debci) in most PHP PEAR
and Composer packages in Debian.

We’ve already fixed many issues, thanks Athos for performing more than
one [mass-rebuild] and filing the relevant [bugs]. Yet, there are still
36 identified issues currently blocking this transition.

mass-rebuild: http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/
bugs: https://udd.debian.org/bugs/?release=trixie&merged=ign&done=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=phpunit11&fusertaguser=pkg-php-pear%40lists.alioth.debian.org&allbugs=1&sortby=id&sorto=asc&format=html#results

We *should* not need help from the release team in order to perform this
transition: most if not all involved packages are arch:all anyway and
can’t be binNMU (they’ll need patch anyway), yet it’s nice to have a
central public issue to track the progress, hence this bug report. Also,
last year for the Symfony 6 transition (tracked as [#1041982]), the
release team did help us, so that’s another reason not to hide ;).

#1041982: https://bugs.debian.org/1041982

Thanks also Paul for showing me (or reminding me of) the [debci] Self
Service feature we may put to good use for this transition.

debci: https://ci.debian.net/user

I hope to follow up quickly with a schedule for this transition, after a
bit clean up and triaging of the remaining issues that should be
documenting as blocking this current transition bug.

Regards,

taffit
Debian Bug Tracking System
2024-10-10 14:40:01 UTC
Reply
Permalink
Post by David Prévot
affects -1 + src:phpunit
Bug #1084894 [release.debian.org] transition: phpunit
Added indication that 1084894 affects src:phpunit
--
1084894: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084894
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
David Prévot
2024-10-13 14:40:01 UTC
Reply
Permalink
Control: block -1 by 1039755 1039781 1039783 1039795 1039841 1039856 1070511 1070517 1070567 1070580 1070590 1070600 1070639 1070641

Hi,

Le Thu, Oct 10, 2024 at 03:38:02PM +0100, David Prévot a écrit :
[
]
Post by David Prévot
We’ve already fixed many issues, thanks Athos for performing more than
one [mass-rebuild] and filing the relevant [bugs]. Yet, there are still
36 identified issues currently blocking this transition.
Coming from the initial 139 reported bugs, we’ve reached 10% of those
(excluding bugs tagged patch, pending, closed and not in testing) now.
Post by David Prévot
mass-rebuild: http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/
bugs: https://udd.debian.org/bugs/?release=trixie&patch=ign&pending=ign&merged=ign&done=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=phpunit11&fusertaguser=pkg-php-pear%40lists.alioth.debian.org&allbugs=1&sortby=id&sorto=asc&format=html#results

[
]
Post by David Prévot
Thanks also Paul for showing me (or reminding me of) the [debci] Self
Service feature we may put to good use for this transition.
debci: https://ci.debian.net/user
Not sure I’ll have time to look into it soon enough, what about other
people? Athos, will you be able to perform another run otherwise
(PHPUnit 11.4 recently hit experimental)?
Post by David Prévot
I hope to follow up quickly with a schedule for this transition, after a
bit clean up and triaging of the remaining issues that should be
documenting as blocking this current transition bug.
The remaining 14 bugs have been documented as blocking the current
transition, I hope to be done within a month, eventually using some
hacking time during the next MiniDebConf in Toulouse for the final bits.

https://wiki.debian.org/DebianEvents/fr/2024/Toulouse

Regards

taffit
David Prévot
2025-01-10 09:30:01 UTC
Reply
Permalink
Hi,
Post by David Prévot
[
]
Post by David Prévot
We’ve already fixed many issues, thanks Athos for performing more than
one [mass-rebuild] and filing the relevant [bugs]. Yet, there are still
36 identified issues currently blocking this transition.
Coming from the initial 139 reported bugs, we’ve reached 10% of those
(excluding bugs tagged patch, pending, closed and not in testing) now.
Post by David Prévot
mass-rebuild: http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/
Only a handful of bugs still need fixing.

https://udd.debian.org/bugs/?release=trixie&patch=ign&pending=ign&merged=ign&done=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=phpunit11&fusertaguser=pkg-php-pear%40lists.alioth.debian.org&allbugs=1&sortby=id&sorto=asc&format=html#results

I also observed the failing autopkgtest on the experimental
pseudo-excuse page in order to fill more bugs (including serious ones to
get some packages removed from testing). A fair part of these error
won’t show up on the actual excuse page as some of the packages are not
part of testing.

https://qa.debian.org/excuses.php?experimental=1&package=phpunit

Now that php8.4 is the default version in Trixie (php-default migrated a
few hours ago, finalizing the #1074180 transition), I intend to move
forward with PHPUnit 11 today: A lot of manual updates (double even, for
bootstrapping
) will be needed for the “core” packages, then a fair
amount for the packages only fixed in experimental or via non yet
applied patches, but I hope to be done by the end of the weekend.

I intend to (temporary) deactivate tests for some packages that are not
yet fixed, to help move forward this transition, as we probably don’t
want to ship PHPUnit 9 for a third time in a stable release


I may still need help from the release team in order to speed things up
regarding testing removal of some packages.

Regards,

taffit
Debian Bug Tracking System
2024-10-13 14:40:01 UTC
Reply
Permalink
Post by David Prévot
block -1 by 1039755 1039781 1039783 1039795 1039841 1039856 1070511 1070517 1070567 1070580 1070590 1070600 1070639 1070641
Bug #1084894 [release.debian.org] transition: phpunit
1084894 was not blocked by any bugs.
1084894 was not blocking any bugs.
Added blocking bug(s) of 1084894: 1070553, 1070557, 1070641, 1070514, 1039783, 1070511, 1070567, 1070608, 1039795, 1070600, 1070640, 1039781, 1070517, 1039755, 1070580, 1070621, 1039856, 1039841, 1070639, and 1070590
--
1084894: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084894
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
William Desportes
2025-01-04 21:00:01 UTC
Reply
Permalink
Can the transition be shown here: <https://release.debian.org/transitions/index.html>

Or is there a Web page with the current status of the transition in terms of DEP-8 tests?
This is useful to help transitions being done.
--
William Desportes
Debian Bug Tracking System
2025-01-10 20:30:01 UTC
Reply
Permalink
tags -1 confirmed
Bug #1084894 [release.debian.org] transition: phpunit
Added tag(s) confirmed.
--
1084894: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084894
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
David Prévot
2025-01-17 08:50:01 UTC
Reply
Permalink
Hi,
Post by David Prévot
[
]
[
]
Post by David Prévot
I may still need help from the release team in order to speed things up
regarding testing removal of some packages.
When you get there, give us a list of source packages that should be removed
from testing, and we can take a look.
Thanks, here we are:

- christianriesen-base32 (#1092005, leaf in testing)
- less.php (#1092007, leaf)
- matthiasmullie-path-converter (#1092008, leaf in testing)
- php-codesniffer (#1092009, leaf)
- php-gettext (#1092095, leaf in testing)
- php-league-flysystem (#1039788, leaf in testing)
- php-matomo-doctrine-cache (#1092114, leaf in testing)
- php-vlucas-phpdotenv (#1092124, leaf in testing)
- phpmd (#1039795, leaf in testing)
- pdepend (#1039755, leaf in testing once phpmd gets out)
- libphp-swiftmailer (#1085113, leaf in testing once php-monolog 3 migrates)

About that last one, php-monolog is stuck with a mini-transition
regarding php-psr-log that got embedded within this one. It is
currently stuck in a loop: php-fig-log-test and php-psr-log migrations
are blocked by php-doctrine-data-fixtures and php-doctrine-dbal
autopkgtests (and php-klogger migration), while
php-doctrine-data-fixtures and php-doctrine-dbal migration is blocked by
php-fig-log-test and php-klogger migration is blocked by php-psr-log.
Thanks in advance if you can use a magic wand to handle this loop (not
sure how to properly express properly these dependencies in the various
packages without doing a few trial and error rounds
).

I believe that once the above clears up, the excuses page should be
mostly green within the next two days (most other migrations are still
waiting on aging or autopkgtest to clear up).

https://qa.debian.org/excuses.php?package=phpunit

Regards,

taffit
David Prévot
2025-01-21 07:00:01 UTC
Reply
Permalink
Hi,
Post by David Prévot
Post by David Prévot
[
]
[
]
Post by David Prévot
I may still need help from the release team in order to speed things up
regarding testing removal of some packages.
When you get there, give us a list of source packages that should be removed
from testing, and we can take a look.
[
]
Post by David Prévot
- php-codesniffer (#1092009, leaf)
[
]
Post by David Prévot
- phpmd (#1039795, leaf in testing)
- pdepend (#1039755, leaf in testing once phpmd gets out)
- libphp-swiftmailer (#1085113, leaf in testing once php-monolog 3 migrates)
I have added a hint to remove a few of those [
]. However,
php-directory-scanner (build-)depends on some of those (phpmd, pdepend) so I
have had to drop those from the hint, as php-directory-scanner has itself
some other rdeps.
A fixed version of php-directory-scanner has hit testing, and
php-monolog did too, so those four packages should now be safe to
remove.
Post by David Prévot
About that last one, php-monolog is stuck with a mini-transition
regarding php-psr-log that got embedded within this one. [
]
Thanks in advance if you can use a magic wand to handle this loop
[
]
We can take a look at that.
That happened, thanks Paul!
Post by David Prévot
I believe that once the above clears up, the excuses page should be
mostly green within the next two days (most other migrations are still
waiting on aging or autopkgtest to clear up).
https://qa.debian.org/excuses.php?package=phpunit
The last two missing bits should be:
- php-twig (stuck behind twig-i18n-extension: my NMU should hit testing
in three days) that should be ready early this weekend.
- phpmyadmin (the maintainer, CCed, is aware of #1092853).

If phpmyadmin get fixed soon enough, the transition could end by itself
this weekend (assuming you got time to process the last four testing
removal, and that no blockers show up by then).

Regards,

taffit
David Prévot
2025-01-21 22:30:01 UTC
Reply
Permalink
Control: tags 1093698 + patch

[ Explicit CC to the phpunit transition bug report, if the release team
wants us to reschedule it to DELAYED/0 to speed up the transition or
rather delay it longer if it risks interfering with another ongoing
transition like the Python one in #1091907 (doesn’t look like it, but
the warning in the PTS made me wonder). ]

Dear maintainer,

I've prepared an NMU for thrift (versioned as 0.19.0-2.2) and
uploaded it to DELAYED/3. Please feel free to tell me if I
should delay it longer.

Regards.

taffit
Debian Bug Tracking System
2025-01-23 10:50:01 UTC
Reply
Permalink
Your message dated Thu, 23 Jan 2025 11:39:48 +0100
with message-id <b7332708-5285-4b20-b6a9-***@debian.org>
and subject line Re: Bug#1084894: transition: phpunit
has caused the Debian Bug report #1084894,
regarding transition: phpunit
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 ***@bugs.debian.org
immediately.)
--
1084894: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084894
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...