[Pkg-giraffe-discuss] sometimes (not) working autopkgtest in kopano-webapp in version 3.5.1~rc1
Carsten Schoenert
c.schoenert at t-online.de
Sun Jan 13 12:57:07 GMT 2019
Hi,
I'm trying to get the current version 3.5.1rc1 of kopano-webapp fully
working within the packaging.
But I don't know how much I can trust in the autopkgtest currently ...
After dealing with the JSONExpeption thing yesterday and sorting
possible faulty things out I ended up today to build my VM for testing
the packaging by the autopkgtest completely as new.
But no matter what I do, sometimes the testing is working, sometimes is
it not. A few minutes ago I was able to run the autopkgtest successfully
twice, now after only working on the changelog entries the test is
failing (again).
> + cd debian/tests
> + export AUTH_USER=mailtest
> + export AUTH_PASS=r00tme
> + nosetests3 -v
> test_login (test_webapp.TestWebApp) ... FAIL
>
> ======================================================================
> FAIL: test_login (test_webapp.TestWebApp)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/tmp/autopkgtest.ZEfraY/build.mVq/src/debian/tests/test_webapp.py", line 63, in test_login
> element = WebDriverWait(self.driver, 40).until(lambda x: self.find_element_by_("class_name", "x-btn-text"))
> File "/usr/lib/python3/dist-packages/selenium/webdriver/support/wait.py", line 71, in until
> value = method(self._driver)
> File "/tmp/autopkgtest.ZEfraY/build.mVq/src/debian/tests/test_webapp.py", line 63, in <lambda>
> element = WebDriverWait(self.driver, 40).until(lambda x: self.find_element_by_("class_name", "x-btn-text"))
> File "/tmp/autopkgtest.ZEfraY/build.mVq/src/debian/tests/test_webapp.py", line 44, in find_element_by_
> (name, type))
> File "/tmp/autopkgtest.ZEfraY/build.mVq/src/debian/tests/test_webapp.py", line 36, in fail_with_screenshot
> self.fail("%s. Screenshot is at %s" % (msg, screenshot_name))
> AssertionError: No element x-btn-text of type class_name found. Screenshot is at screenshot.1547382009.8662503.png
The screenshot isn't really helpful here. It show the first time
preferences dialog with some animation as an overlay.
But I'm also to stupid to add some debugging output to see what's broken
or what's going on here.
First I was wondering if the missing tokenizr.min.js could be possible
triggering this behavior. As the upstream Makefile isn't installing this
file I did work around it and grab it up from the source folder in the
.install sequencer.
BTW: Is it possible to also ship the non minimized version please!?
Next a JS File kopano.js is also mentioned as missing (if I use the FF
debugger), but such a file isn't shipped since several versions.
Looking at the messages about that file it should be around as
client/kopano.js within the source.
So what to do?
It's really tedious to jump around in the source again and again and
don't know if there is just a file missing or probably the testing setup
is flaky.
If I call the URL of my VM in the webbrowser I can login successfully
into the WebApp. But there is nothing more I can test. So I guess the
package is working normally.
Anyone has useful ideas?
--
Regards
Carsten Schoenert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.1547383785.2074382-1.jpeg
Type: image/jpeg
Size: 31097 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-giraffe-discuss/attachments/20190113/e66c2e76/attachment-0001.jpeg>
More information about the Pkg-giraffe-discuss
mailing list