New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
syncthingtray_0.10.8 compilation error #63
Comments
Also commented under AUR package : https://aur.archlinux.org/packages/syncthingtray/#comment-739579 |
These tests sometimes fail on very slow/unresponsive systems but this case looks different. The CLI test expects that the status of one of the directories is either "idle" or "scanning" but in your case it is "out of sync". That's odd because in this test setup the test instance of Syncthing should never connect to any other device and therefore not be able to "find out" that changes are needed. The test for the library fails in the same way so this is apparently a reproducible problem in your case. You could simply ignore the test failures. They are likely due to the test setup and show no real problems. If you'd like to investigate the problem you can configure your AUR helper not to clean up the |
I also find it odd that it tries to migrate the database multiple times to the current schema version. That looks like it would pick up some old database from a previous test run. EDIT: Seems like that this is even the case when the build is done within a pristine VM, e.g. on OBS:
So that's not causing the problem. |
I removed syncthingtray directory from ~/.cache/pacaur/ and still fails to build. Could you provide what change should be applied to make it work? |
I am the owner of the AUR package. This is not a general packaging issue because the package builds on my machine just fine. That also means I can not reproduce the problem myself and therefore need more information from your side. I have already suggested how one could investigate the issue further. Without knowing why this Syncthing directory is "out of sync" I can not simply provide a fix to make it work. But as I said, Syncthing Tray is likely working anyways and just the test can not be setup correctly in your case. (See the pinned AUR comment for disabling tests.) |
I have no clue what the test does, but in the log in the OP the following line comes up
and I'd expect that's the problem. |
Ah, I've missed that. Thanks for pointing it out. That seems to be the culprit, indeed. By the way, the test is actually quite simple. It just starts Syncthing with a test configuration. There's no database at this point (so Syncthing has to initialize a new one) and it is not expected to actually connect to any of the devs in the config. I just test whether my library is able to connect, get the status, trigger some actions and that's it. |
I assume we can figure that this is not a general problem of my integration tests or even Syncthing. |
syncthingtray_0.10.8-1-AUR_makepkg_compilation_error.txt
critical part from full log in attachement:
full log attached
The text was updated successfully, but these errors were encountered: