Merge ~lucaskanashiro/ubuntu/+source/ruby2.5:bionic-arm64-optimization into ubuntu/+source/ruby2.5:ubuntu/bionic-devel
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Lucas Kanashiro | ||||||||||||
Approved revision: | 87b6ba6b1cab4536a638916fb19bd165cf735fd6 | ||||||||||||
Merge reported by: | Lucas Kanashiro | ||||||||||||
Merged at revision: | 87b6ba6b1cab4536a638916fb19bd165cf735fd6 | ||||||||||||
Proposed branch: | ~lucaskanashiro/ubuntu/+source/ruby2.5:bionic-arm64-optimization | ||||||||||||
Merge into: | ubuntu/+source/ruby2.5:ubuntu/bionic-devel | ||||||||||||
Diff against target: |
397 lines (+331/-1) 8 files modified
debian/changelog (+19/-0) debian/control (+1/-0) debian/patches/0029-Backport-upstream-patch-to-fix-Kiritimati-TZ-test-1-.patch (+58/-0) debian/patches/0030-Backport-upstream-patch-to-fix-Kiritimati-TZ-test-2-.patch (+46/-0) debian/patches/arm64-optimizations.patch (+179/-0) debian/patches/series (+3/-0) debian/tests/bundled-gems (+24/-1) debian/tests/control (+1/-0) |
||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Bryce Harrington (community) | Approve | ||
Canonical Server | Pending | ||
git-ubuntu developers | Pending | ||
Review via email:
|
Description of the change
Apply upstream patch to optimize performance on arm64 in Bionic.
Upstream patch: https:/
LP bug: https:/
I was not able to build this package from the git-ubuntu branch, there is some mismatch with the upstream tarball in the archive. So I am submitting the changes here using the git-ubuntu repo to facilitate the review but I built the package pulling the source package from LP (the changes are the same I am proposing here).
Moreover, I needed to add some extra changes to fix a FTBFS and also DEP-8 tests. I was kind of surprised that autopkgtest never passed for ruby2.5.
PPA: https:/
Autopkgtest is still happy:
autopkgtest [17:57:34]: @@@@@@@
run-all PASS
bundled-gems PASS
builtin-extensions PASS
rubyconfig PASS
### Branch Review ###
* Changelog:
- [-] old content and logical tag match as expected
- [√] changelog entry correct version and targeted codename
- [√] changelog entries correct
- [√] update-maintainer has been run
* Actual changes:
- [-] no upstream changes to consider
- [-] no further upstream version to consider
- [√] debian changes look safe
* Old Delta:
- [-] dropped changes are ok to be dropped
- [-] nothing else to drop
- [-] changes forwarded upstream/debian (if appropriate)
* New Delta: patches/ series
- [-] no new patches added
- [√] patches match what was proposed upstream
- [√] patches correctly included in debian/
- [x] patches have correct DEP3 metadata
+ Need bug links, see below
* Build/Test:
- [√] build is ok
- [√] verified PPA package installs/uninstalls
- [x] autopkgtest against the PPA package passes
+ see below
- [-] sanity checks test fine
I didn't attempt to build locally from git-ubuntu, but the PPA seems to have built fine. I did try running the autopkgtest locally using the ppa, but it fails on the run-all test:
autopkgtest [22:24:33]: test rubyconfig: ------- ------- ------- --] @@@@@@@ @@@@@@ summary
autopkgtest [22:24:33]: test rubyconfig: - - - - - - - - - - results - - - - - - - - - -
rubyconfig PASS
autopkgtest [22:24:33]: @@@@@@@
run-all FAIL non-zero exit status 1
bundled-gems PASS
builtin-extensions PASS
rubyconfig PASS
Here's the specific test case output:
FAIL test/rubygems/ test_gem_ util.rb ------- ------- ------- -------
-------
[/var/lib/ gems/2. 5.0/specificati ons/bundler- 1.16.1. gemspec] isn't a Gem::Specification (NilClass instead). gems/2. 5.0/specificati ons/bundler- audit-1. 0.0.gemspec] isn't a Gem::Specification (NilClass instead). dir=test/ excludes/ --excludes- dir=debian/ tests/excludes/ any/ --excludes- dir=debian/ tests/excludes/ amd64/ --name= !/memory_ leak/
[/var/lib/
Run options: -v --excludes-
# Running tests:
[1/5] TestGemUtil# test_silent_ system = 0.05 s test_class_ popen = 0.04 s test_traverse_ parents = 0.00 s test_traverse_ parents_ does_not_ crash_on_ permissions_ error = 0.01 s test_linked_ list_find = 0.00 s
[2/5] TestGemUtil#
[3/5] TestGemUtil#
[4/5] TestGemUtil#
[5/5] TestGemUtil#
1) Failure: test_traverse_ parents_ does_not_ crash_on_ permissions_ error [/tmp/autopkgte st.XIAQZ1/ autopkgtest_ tmp/test/ rubygems/ test_gem_ util.rb: 43]: test_rubygems_ 103177/ d" test_rubygems_ 103177/ d/e/f"
TestGemUtil#
--- expected
+++ actual
@@ -1 +1 @@
-"/tmp/
+"/tmp/
Finished tests in 0.105744s, 47.2839 tests/s, 94.5678 assertions/s.
5 tests, 10 assertions, 1 failures, 0 errors, 0 skips
The DEP3 for the added patches miss their upstream bug links. The arm patch doesn't appear to have an actual bug report afaict but there is a PR with a bit of context:
https:/ /github. com/ruby/ ruby/pull/ 3393 /bugs.ruby- lang.org/ issues/ 14655
https:/
Inline below are some refactoring and typo fixing suggestions.
### SRU Text Review ###
Some suggestions to help improve the SRU text to help it pass.
The timezone patch doesn't appear to have a ubuntu bug. I gather this is added strictly just to fix test suite failure, which is great, and as such might not ...