Merge ~bryce/ubuntu/+source/nginx:merge-v1.22.1-7-mantic into ubuntu/+source/nginx:debian/sid

Proposed by Bryce Harrington
Status: Merged
Approved by: git-ubuntu bot
Approved revision: not available
Merge reported by: git-ubuntu bot
Merged at revision: 076781bf4bde3a4b725b22f137b2a53f71088dd5
Proposed branch: ~bryce/ubuntu/+source/nginx:merge-v1.22.1-7-mantic
Merge into: ubuntu/+source/nginx:debian/sid
Diff against target: 2001 lines (+1706/-2) (has conflicts)
6 files modified
debian/changelog (+1656/-0)
debian/control (+2/-2)
debian/patches/series (+4/-0)
debian/patches/ubuntu-branding.patch (+28/-0)
debian/tests/branding (+12/-0)
debian/tests/control (+4/-0)
Conflict in debian/changelog
Reviewer Review Type Date Requested Status
git-ubuntu bot Approve
Athos Ribeiro (community) Approve
Canonical Server Reporter Pending
Canonical Server Pending
Canonical Server Core Reviewers Pending
Review via email: mp+442358@code.staging.launchpad.net

Description of the change

We've been carrying a lot of delta to exclude modules that depend on things in universe. Debian has been working at redoing the packaging to break out modules as separate binary debs. This should allow us to drop much of our delta (pretty much everything except branding).

Note this merges version 1.22.1-7, rather than the current Debian 1.22.1-9. No reason for that but laziness since I prepared this MP during lunar. I expect to re-merge later and so will pick up more changes later. However if you feel strongly this should be up to date with debian let me know and I can update the MP to pull the latest. (This is what causes the diff markers in the changelog)

The package builds ok in PPA (against lunar):
  https://launchpad.net/~bryce/+archive/ubuntu/nginx-merge-v1.22.1-7

However, part of the packaging split out involves introducing a spate of new nginx modules, which there wasn't time to get transitioned for lunar. The trouble is that nginx's tests depend on those modules (since it runs tests against them) but the modules build-depend on this new nginx. So, the autopkgtests for this MP are going to fail, but we need to proceed anyway so we can get the modules built, then circle back and retrigger everything to transition.

For example, (and for a bit TMI) the arm64 failures are (on lunar):

  - nginx/1.22.1-7ubuntu1~lunar1
    + ❌ nginx on lunar for amd64 @ 24.02.23 11:15:09 Log️ 🗒️
      • light-simple FAIL 🟥
      • branding FAIL 🟥
      • ec-x25519 FAIL 🟥
      • core-simple PASS 🟩
      • full-simple FAIL 🟥
      • extras-simple FAIL 🟥
      • core-module-deps FAIL 🟥
      • full-module-deps FAIL 🟥
      • light-module-deps FAIL 🟥
      • extras-module-deps FAIL 🟥
      • reboot FAIL 🟥
      • ssi-module-test PASS 🟩

The actual error logs all look like the following snippet:

-------
Investigating (0) nginx-light:amd64 < none -> 1.22.1-7ubuntu1~lunar1 @un puN Ib >
Broken nginx-light:amd64 Depends on libnginx-mod-http-echo:amd64 < none | 1.22.0-1ubuntu2 @un uH > (>= 1:0.63-4~)
Broken nginx-light:amd64 Depends on nginx:amd64 < none | 1.22.1-7ubuntu1~lunar1 @un uH > (>= 1.22.1-7ubuntu1~lunar1)
  Considering nginx:amd64 0 as a solution to nginx-light:amd64 9999
  Re-Instated nginx:amd64
Done
curl is already the newest version (7.87.0-1ubuntu1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nginx-light : Depends: libnginx-mod-http-echo (>= 1:0.63-4~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
autopkgtest [11:01:34]: test ssi-module-test: preparing testbed
reboot FAIL badpkg
blame: nginx
badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.
-------

Anyway, so please focus review on the packaging work not on the autopkgtests; those will be tended to later.

To post a comment you must log in.
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Hi Bryce,

Sorry for the delay to get to this one.

While I am going through the changes, I have an initial question:

You mentioned that you were able to drop all the delta but our branding. However, as shown by

git diff pkg/import/1.22.1-7..bryce/merge-v1.22.1-7-mantic,

the topmost commit,

disable lua @ 7c00ba3

is also there.

If this is supposed to stay, then do we want a changelog entry for it? I still did not check on which step of the merge this one was introduced. I will come back soon with a full/proper review :)

Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Thanks, Bryce.

- I have one changelog related comment inline below.
- The reconstruct,split,logical tags are not available, so I could not go through a more thorough merge process review.
- The entry I mentioned above on disabling lua should either be removed or included in the changelog (nitpick: the commit should come before the changelog re-construction).

review: Needs Information
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi Athos, thanks for the review. Sorry for not listing the tags, here they are:

tags/old/debian 033fa492
tags/new/debian 512b248a
tags/old/ubuntu 78b38cad
tags/logical/1.22.0-1ubuntu2 be94f455
tags/reconstruct/1.22.0-1ubuntu2 cfa44826
tags/split/1.22.0-1ubuntu2 9aa5aeac

I've updated the changelog with the drop rationale (Debian accepted the apport hook).

I've also added the changelog entry for dropping the lua module. I'd initially hoped we could drop this delta but after filing the MP I noticed the build error and added this change to test fixing it, which it did. Part of the advantage of the new packaging is that it will give us added flexibility for including/excluding individual mods without needing to patch, but for that we probably are going to need this minimal delta.

I'll add that I expect I'll need additional tweaks later, once the nginx mods are able to build and migrate.

Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Thanks, Bryce. LGTM

I added a small nitpick in the changelog due to a trailing space. Feel free to upload once you address that!

review: Approve
Revision history for this message
git-ubuntu bot (git-ubuntu-bot) wrote :

Approvers: bryce, athos-ribeiro
Uploaders: bryce, athos-ribeiro
MP auto-approved

review: Approve
Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks, uploaded:

 fixup_buildinfo ../nginx_1.22.1-7ubuntu1.dsc ../nginx_1.22.1-7ubuntu1_source.buildinfo
 signfile buildinfo ../nginx_1.22.1-7ubuntu1_source.buildinfo A661100B3DAC1D4F2CAD8A54E603B2578FB8F0FB

 fixup_changes dsc ../nginx_1.22.1-7ubuntu1.dsc ../nginx_1.22.1-7ubuntu1_source.changes
 fixup_changes buildinfo ../nginx_1.22.1-7ubuntu1_source.buildinfo ../nginx_1.22.1-7ubuntu1_source.changes
 signfile changes ../nginx_1.22.1-7ubuntu1_source.changes A661100B3DAC1D4F2CAD8A54E603B2578FB8F0FB

Successfully signed dsc, buildinfo, changes files
Vcs-Git: https://git.launchpad.net/~bryce/ubuntu/+source/nginx
Vcs-Git-Commit: 076781bf4bde3a4b725b22f137b2a53f71088dd5
Vcs-Git-Ref: refs/heads/merge-v1.22.1-7-mantic
$ dput ubuntu ../nginx_1.22.1-7ubuntu1_source.changes
gpg: ../nginx_1.22.1-7ubuntu1_source.changes: Valid signature from E603B2578FB8F0FB
gpg: ../nginx_1.22.1-7ubuntu1.dsc: Valid signature from E603B2578FB8F0FB
D: Setting host argument.
Checking signature on .changes
Checking signature on .dsc
Package includes an .orig.tar.gz file although the debian revision suggests
that it might not be required. Multiple uploads of the .orig.tar.gz may be
rejected by the upload queue management software.
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading nginx_1.22.1-7ubuntu1.dsc: done.
  Uploading nginx_1.22.1.orig.tar.gz: done.
  Uploading nginx_1.22.1-7ubuntu1.debian.tar.xz: done.
  Uploading nginx_1.22.1-7ubuntu1_source.buildinfo: done.
  Uploading nginx_1.22.1-7ubuntu1_source.changes: done.
Successfully uploaded packages.

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches