[Maniphest] [Created] T1770: Fix randomly failing archivetest
elvisangelaccio (Elvis Angelaccio)
noreply at phabricator.kde.org
Sun Mar 6 18:51:52 UTC 2016
elvisangelaccio created this task.
elvisangelaccio moved this task to In progress on the Ark workboard.
TASK DESCRIPTION
Regression introduced by commit https://phabricator.kde.org/rARK8fd9487d0467a5c6c0b9d5935eb4172c5fd330d7.
The test fails in a non-reproducible manner.
Example debug output for a couple of failures:
QDEBUG : ArchiveTest::testExtraction(extract the whole one_toplevel_folder.zip) "/tmp/archivetest-Zlj0jm/A"
QDEBUG : ArchiveTest::testExtraction(extract the whole one_toplevel_folder.zip) "/tmp/archivetest-Zlj0jm/A/test1.txt"
QDEBUG : ArchiveTest::testExtraction(extract the whole one_toplevel_folder.zip) "/tmp/archivetest-Zlj0jm/A/B"
QDEBUG : ArchiveTest::testExtraction(extract the whole one_toplevel_folder.zip) "/tmp/archivetest-Zlj0jm/A/B/test1.txt"
QDEBUG : ArchiveTest::testExtraction(extract the whole one_toplevel_folder.zip) "/tmp/archivetest-Zlj0jm/A/B/C"
QDEBUG : ArchiveTest::testExtraction(extract the whole one_toplevel_folder.zip) "/tmp/archivetest-Zlj0jm/A/B/C/test1.txt"
QDEBUG : ArchiveTest::testExtraction(extract the whole one_toplevel_folder.zip) "/tmp/archivetest-Zlj0jm/A/B/C/test2.txt"
QDEBUG : ArchiveTest::testExtraction(extract the whole one_toplevel_folder.zip) "/tmp/archivetest-Zlj0jm/A/B/test2.txt"
QDEBUG : ArchiveTest::testExtraction(extract the whole one_toplevel_folder.zip) "/tmp/archivetest-Zlj0jm/A/test2.txt"
QDEBUG : ArchiveTest::testExtraction(extract the whole one_toplevel_folder.zip) "/tmp/archivetest-Zlj0jm/archivetest-uyzjCG"
FAIL! : ArchiveTest::testExtraction(extract the whole one_toplevel_folder.zip) Compared values are not the same
Actual (extractedEntriesCount) : 10
Expected (expectedExtractedEntriesCount): 9
Loc: [/home/elvis/dev/kde/src/ark/autotests/kerfuffle/archivetest.cpp(295)]
and:
QDEBUG : ArchiveTest::testExtraction(extract selected entries from a zip, drag-and-drop) "/tmp/archivetest-kUZspk/C"
QDEBUG : ArchiveTest::testExtraction(extract selected entries from a zip, drag-and-drop) "/tmp/archivetest-kUZspk/C/test2.txt"
QDEBUG : ArchiveTest::testExtraction(extract selected entries from a zip, drag-and-drop) "/tmp/archivetest-kUZspk/C/test1.txt"
QDEBUG : ArchiveTest::testExtraction(extract selected entries from a zip, drag-and-drop) "/tmp/archivetest-kUZspk/test2.txt"
QDEBUG : ArchiveTest::testExtraction(extract selected entries from a zip, drag-and-drop) "/tmp/archivetest-kUZspk/archivetest-PolpQE"
QDEBUG : ArchiveTest::testExtraction(extract selected entries from a zip, drag-and-drop) "/tmp/archivetest-kUZspk/archivetest-PolpQE/A"
QDEBUG : ArchiveTest::testExtraction(extract selected entries from a zip, drag-and-drop) "/tmp/archivetest-kUZspk/archivetest-PolpQE/A/B"
QDEBUG : ArchiveTest::testExtraction(extract selected entries from a zip, drag-and-drop) "/tmp/archivetest-kUZspk/archivetest-PolpQE/A/B/C"
FAIL! : ArchiveTest::testExtraction(extract selected entries from a zip, drag-and-drop) Compared values are not the same
Actual (extractedEntriesCount) : 8
Expected (expectedExtractedEntriesCount): 4
Loc: [/home/elvis/dev/kde/src/ark/autotests/kerfuffle/archivetest.cpp(295)]
TASK DETAIL
https://phabricator.kde.org/T1770
WORKBOARD
https://phabricator.kde.org/project/board/46/
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: elvisangelaccio
Cc: kde-utils-devel, elvisangelaccio, tctara
More information about the Kde-utils-devel
mailing list