running whoopsie during tests causes test failures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
I've switched the apport-noui.path systemd file from:
PathChanged=
to
PathExistsGlob=
I've done this because with PathChanged it seemed to me that the whoopsie-
"If a path already exists (in case of PathExists= and PathExistsGlob=) or a directory already is not empty (in case of DirectoryNotEmpty=) at the time the path unit is activated, then the configured unit is immediately activated as well. Something similar does not apply to PathChanged= and PathModified=."
Given that it appears with PathChanged the apport-noui service would never be run during boot up, again not what we want.
However, making these changes seems to have caused some strange test failures with the apport's tests.
https:/
runs 47 through 55
I haven't been able to locally recreate the same amd64 test failures, but have run into the following i386 failure (and only this failure which is odd):
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= dump_packaged (__main__.T) ------- ------- ------- ------- ------- ------- ------- ------- ------- signal_ crashes. py", line 359, in test_core_ dump_packaged check_report_ coredump( self.test_ report) signal_ crashes. py", line 918, in check_report_ coredump assertTrue( 'CoreDump' in r)
FAIL: test_core_
packaged executables create core dumps on proper ulimits
-------
Traceback (most recent call last):
File "./test_
self.
File "./test_
self.
AssertionError: False is not true
If I switch back to PathChanged from PathExistsGlob then the test passes.