Merge ~athos-ribeiro/git-ubuntu:leaking-perl into git-ubuntu:master
Status: | Rejected |
---|---|
Rejected by: | Robie Basak |
Proposed branch: | ~athos-ribeiro/git-ubuntu:leaking-perl |
Merge into: | git-ubuntu:master |
Diff against target: |
150 lines (+64/-3) 4 files modified
gitubuntu/git_repository.py (+2/-2) gitubuntu/git_repository_test.py (+29/-0) gitubuntu/integration_test.py (+23/-0) snap/snapcraft.yaml (+10/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robie Basak | Needs Fixing | ||
Server Team CI bot | continuous-integration | Approve | |
Canonical Server | Pending | ||
git-ubuntu developers | ci | Pending | |
Review via email: mp+416951@code.staging.launchpad.net |
Description of the change
Using the git-ubuntu snap in jammy after the latest perl update results in erros due to an issue with some dpkg error fallback codepaths. Fixing this issue is one of the items addressed in this MP.
The reason the fallback codepath is being triggered in jammy is due to jammy's and focal's perl libraries incompatibilities. The snap executes some of its scripts through shebangs, calling the host's perl binary, resulting in mixed, incompatible environments. This MP addressed the issue by ensuring the binaries called by the snap are available in the snap and run with the perl tools also available in the snap.
Finally, while some tests were included, their real value is when they are triggered from the installed snap in a jammy host (git-ubuntu.
A test snap can be found at https:/
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
PASSED: Continuous integration, rev:5eb05441120 c06dd7a927255f6 f98ec848b8cf0b /jenkins. ubuntu. com/server/ job/git- ubuntu- ci/64/
https:/
Executed test runs:
SUCCESS: VM Setup
SUCCESS: Build
SUCCESS: VM Reset
SUCCESS: Unit Tests
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/git- ubuntu- ci/64// rebuild
https:/