Merge ~pedrmachado/ubuntu/+source/xdiagnose:ubuntu/noble-devel into ubuntu/+source/xdiagnose:ubuntu/devel
Status: | Needs review |
---|---|
Proposed branch: | ~pedrmachado/ubuntu/+source/xdiagnose:ubuntu/noble-devel |
Merge into: | ubuntu/+source/xdiagnose:ubuntu/devel |
Diff against target: |
58 lines (+11/-3) (has conflicts) 4 files modified
apport/apport-gpu-error-intel.py (+2/-2) debian/changelog (+7/-0) debian/control (+1/-0) xdiagnose/xorglog.py (+1/-1) Conflict in debian/changelog |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Simon Chopin (community) | Needs Fixing | ||
git-ubuntu import | Pending | ||
Review via email: mp+476072@code.launchpad.net |
Commit message
fixed buggs related to back-slash and encoding.
Solved the following bugs
$ ./run-tests
tests/test_
# Testing intel GPU hook...
/home/pedro/
{ 'name':'i945g', 're':'(
/home/pedro/
{ 'name':'i945gm', 're':'(
Traceback (most recent call last):
File "/home/
sys.
^^^^^^
File "/home/
report = apport.
TypeError: Report.__init__() got an unexpected keyword argument 'type'
[PASS] error code 0
[FAIL] Insufficient output generated: 0 lines
Results: 2; Passed: 1; Failed: 1
tests/test_
.
-------
Ran 1 test in 0.000s
OK
tests/test_
/home/pedro/
re_param = re.compile(
/home/pedro/
re_param = re.compile(
/home/pedro/
p = re.compile(
/home/pedro/
p = re.compile(
/home/pedro/
p = re.compile(
/home/pedro/
p = re.compile(
/home/pedro/
p = re.compile(
/home/pedro/
'BAR': 'f(1&&2*$i^2) # \o/',
...............
-------
Ran 15 tests in 0.007s
OK
tests/test_
# Python3 compilation verification
./apport/
{ 'name':'i945g', 're':'(
./apport/
{ 'name':'i945gm', 're':'(
[PASS] ./apport/
./setup.py:35: SyntaxWarning: invalid escape sequence '\('
match = re.compile(
[PASS] ./setup.py
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
./xdiagnose/
'''Yet another INI-style config file parser.
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/info.py
./xdiagnose/
m = re.search('\(II\) Loading.
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
./xdiagnose/
PciDevice(
./xdiagnose/
PciDevice(
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
./xdiagnose/
re_head = re.compile("\(II\) .*\(\d+\): EDID \(in hex\):$")
./xdiagnose/
re_edid = re.compile("\(II\) .*\(\d+
./xdiagnose/
regex = re.compile("\(II\) .*\(\d+
[PASS] ./xdiagnose/edid.py
./xdiagnose/
re_kparam = re.compile(
./xdiagnose/
re_kparam = re.compile(
./xdiagnose/
re_xorg_error = re.compile(
./xdiagnose/
re_dmesg_error = re.compile(
./xdiagnose/
re_jockey_error = re.compile(
[PASS] ./xdiagnose/
[PASS] ./xdiagnose/
Results: 31; Passed: 31; Failed: 0
tests/test_
# Basic script syntax checks
[PASS] python3 bin/dpkg-
[PASS] python3 bin/xdiagnose
Unknown script type 'POSIX shell script, ASCII text executable'
[FAIL] bin/xdiagnose-
[PASS] python3 bin/xedid
[PASS] python3 bin/xpci
bin/xrandr-tool:71: SyntaxWarning: invalid escape sequence '\d'
re_res = re.compile("^ (\d+x\d+) *(.*)")
[PASS] python3 bin/xrandr-tool
[PASS] bash bin/xrotate
apport/
{ 'name':'i945g', 're':'(
apport/
{ 'name':'i945gm', 're':'(
[PASS] python3 apport/
Results: 8; Passed: 7; Failed: 1
tests/test_
# Testing log parser...
/home/pedro/
m = re.search('\(II\) Loading.
[PASS] tests/sample.
[PASS] tests/sample.
[PASS] tests/sample.
[PASS] tests/sample.
/home/pedro/
m = re.search('\(II\) Loading.
Traceback (most recent call last):
File "/home/
xlog = XorgLog(
File "/home/
self.
File "/home/
for line in in_file.
File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 1962: invalid start byte
[FAIL] tests/sample.
[FAIL] tests/sample.
[FAIL] tests/sample.
[FAIL] tests/sample.
Results: 8; Passed: 4; Failed: 4
Description of the change
fixed buggs related to back-slash and encoding.
Unmerged commits
- 5d2b87c... by Pedro Machado <email address hidden>
- d2e0697... by Dave Jones
Hi!
It seems you branched from the wrong base branch. Presumably you used ubuntu/noble-devel instead of ubuntu/devel.
As a general rule it's preferred to have an actual bug filed against the package on Launchpad rather than just having the MP, as the bug reference can (and should) be added to the changelog. In addition, given the branch issue I'm guessing you'd like to see this fixed in Noble rather than just in the upcoming Plucky. In that case, you'll need to follow the SRU guidelines as documented there: /canonical- sru-docs. readthedocs- hosted. com/en/ latest/
https:/
The general outline of the process is the following:
* File a LP bug against the package using the documented template
* Fix the bug in all supported releases down to the target release (here it'd be Plucky, Oracular and Noble). You'll need 3 separate sponsored uploads, but if you prepare all 3 uploads at the same time a single sponsor will usually process them all at once.
* Wait for the SRU team to review and accept your uploads
* Verify your upload using the test plan you provided
* Wait for the SRU team to move the package into the release pocket.
Feel free to ask a new review from ubuntu-sponsors once this MP is fixed.