<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>So it looks like I broke things when I worked on better error messages. But I ran make test afterwards. </div><div><br></div><div>I'll investigate after our guests leave<br><br>-- <div>Sent from my phone</div></div><div><br>On Sep 18, 2015, at 18:02, Rick Walsh <<a href="mailto:rickmwalsh@gmail.com">rickmwalsh@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 19 September 2015 at 09:52, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><br><div><span class=""><blockquote type="cite"><div>On Sep 18, 2015, at 4:09 PM, Rick Walsh <<a href="mailto:rickmwalsh@gmail.com" target="_blank">rickmwalsh@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Hi,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On 19 September 2015 at 06:52, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Just a quick update. I'm waiting for patches from Tomaz. I just kicked of<br>
daily builds so people who want to test have something to test.<br>
The weekend will be rather busy with family activities, so if I don't get<br>
Beta 2 today I'm not sure when it will go out, but as far as I'm concerned<br>
we have now entered the final stage.<br>
<br>
We need to test, translate, document, and fix bugs and issues that pop up.<br>
<br>
It would be really nice if more of the 200+ people on this list would<br>
participate in this effort. Beta 1 binaries have been tested on a total of<br>
90 systema / VMss. And that includes all the folks who aren't on this list<br>
who saw the various announcements. Cloud storage has been tested by fewer<br>
than 50 people.<br></blockquote><div><br></div><div>Cloud storage used to work for me when you first introduced it, but haven't been able to save to the cloud for quite a while now, including the latest master.  When I save to cloud, Subsurface does nothing for a little while, then a progress window pops up with 'contacting cloud service'.  The progress bar never fills.<br><br></div><div>I'm running Fedora 22, but it also failed for me last time I tested on Windows 8 and 10.<br></div><div><br></div>I'm not sure how to debug this.  Here is a backtrace of cloud storage failing.<br></div></div></div></div></div></blockquote><div><br></div></span>So the obvious questions are... firewall? Proxy? built from source or my binaries?</div><div><span class=""><br></span></div></div></blockquote><div>No firewall or proxy that I've set up.<br><br></div><div>I connect to my home wireless router, which is on an ADSL2+ connection.  The wireless chip in my laptop is an awful Broadcom combined Bluetooth chip, which was a massive pain to get working and can be flaky, but I'm connected to the internet.  Web browsing works, so does git pull.<br></div><div><br>Built from source - lastest master:<br>commit ca6f2c238aec0fd9dc0b12fad2df4028cf097fbb<br>Author: Dirk Hohndel <<a href="mailto:dirk@hohndel.org">dirk@hohndel.org</a>><br>Date:   Fri Sep 18 13:14:46 2015 -0700<br><br>    Uemis downloader: minor coding style changes<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div><span class=""><blockquote type="cite"><div><div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote">(gdb) bt 50<br>#0  0x00007fffefaee063 in select () from /lib64/libc.so.6<br>#1  0x00007ffff67a938c in wait_for.constprop () from /home/rick/src/install-root/lib/libgit2.so.23<br>#2  0x00007ffff67a93f4 in curls_write () from /home/rick/src/install-root/lib/libgit2.so.23<br></div></div></div></div></div></blockquote><div><br></div></span><div>So lib curls is used as transport, that's good. But it hangs. That's bad. That's why I'm asking about proxy settings.</div><span class=""><blockquote type="cite"><div><div dir="ltr"><div><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Probably related, TestGitStorage_run fails:<br>[rick@notyourcomputer build]$ ctest -V -R TestGitStorage_run <br>UpdateCTestConfiguration  from :/home/rick/src/subsurface/build/DartConfiguration.tcl<br>UpdateCTestConfiguration  from :/home/rick/src/subsurface/build/DartConfiguration.tcl<br>Test project /home/rick/src/subsurface/build<br>Constructing a list of tests<br>Done constructing a list of tests<br>Checking test dependency graph...<br>Checking test dependency graph end<br>test 10<br>    Start 10: TestGitStorage_run<br><br>10: Test command: /home/rick/src/subsurface/build/TestGitStorage<br>10: Test timeout computed to be: 9.99988e+06<br>10: ********* Start testing of TestGitStorage *********<br>10: Config: Using QtTest library 5.5.0, Qt 5.5.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.1.1 20150618 (Red Hat 5.1.1-4))<br>10: PASS   : TestGitStorage::initTestCase()<br>10: PASS   : TestGitStorage::testSetup()<br>10: PASS   : TestGitStorage::testGitStorageLocal()<br>10: PASS   : TestGitStorage::testGitStorageCloud()<br>10: PASS   : TestGitStorage::testGitStorageCloudOfflineSync()<br>10: PASS   : TestGitStorage::testGitStorageCloudMerge()<br>10: PASS   : TestGitStorage::testGitStorageCloudMerge2()<br>10: QFATAL : TestGitStorage::testGitStorageCloudMerge3() Received signal 11<br></div></div></div></div></div></div></blockquote><div><br></div></span>That's fixed in latest master. Unrelated to the above... and it shows that here</div><div>you actually connect to the cloud storage successfully.</div></div></blockquote><div><br></div><div>I had done a git pull to latest master (ca6f2c238aec0fd9dc0b12fad2df4028cf097fbb), and make test, but I hadn't re-run <span class="">TestGitStorage_build.  Is that significant?  After re-running </span><span class="">TestGitStorage_build (which runs fine), </span><span class="">TestGitStorage_run gives me a new error:<br><br>[rick@notyourcomputer build]$ ctest -V -R TestGitStorage_build <br>UpdateCTestConfiguration  from :/home/rick/src/subsurface/build/DartConfiguration.tcl<br>UpdateCTestConfiguration  from :/home/rick/src/subsurface/build/DartConfiguration.tcl<br>Test project /home/rick/src/subsurface/build<br>Constructing a list of tests<br>Done constructing a list of tests<br>Checking test dependency graph...<br>Checking test dependency graph end<br>test 9<br>    Start 9: TestGitStorage_build<br><br>9: Test command: /usr/bin/cmake "--build" "/home/rick/src/subsurface/build" "--target" "TestGitStorage"<br>9: Test timeout computed to be: 9.99988e+06<br>9: [  0%] Built target version<br>9: [  0%] Automatic moc and uic for target subsurface_corelib<br>9: [  0%] Built target subsurface_corelib_automoc<br>9: [ 91%] Built target subsurface_corelib<br>9: [ 95%] Automatic moc and uic for target TestGitStorage<br>9: [ 95%] Built target TestGitStorage_automoc<br>9: [100%] Built target TestGitStorage<br>1/1 Test #9: TestGitStorage_build .............   Passed    0.21 sec<br><br>The following tests passed:<br>        TestGitStorage_build<br><br>100% tests passed, 0 tests failed out of 1<br><br>Total Test time (real) =   0.21 sec<br>[rick@notyourcomputer build]$ ctest -V -R TestGitStorage_run <br>UpdateCTestConfiguration  from :/home/rick/src/subsurface/build/DartConfiguration.tcl<br>UpdateCTestConfiguration  from :/home/rick/src/subsurface/build/DartConfiguration.tcl<br>Test project /home/rick/src/subsurface/build<br>Constructing a list of tests<br>Done constructing a list of tests<br>Checking test dependency graph...<br>Checking test dependency graph end<br>test 10<br>    Start 10: TestGitStorage_run<br><br>10: Test command: /home/rick/src/subsurface/build/TestGitStorage<br>10: Test timeout computed to be: 9.99988e+06<br>10: ********* Start testing of TestGitStorage *********<br>10: Config: Using QtTest library 5.5.0, Qt 5.5.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.1.1 20150618 (Red Hat 5.1.1-4))<br>10: PASS   : TestGitStorage::initTestCase()<br>10: PASS   : TestGitStorage::testSetup()<br>10: PASS   : TestGitStorage::testGitStorageLocal()<br>10: FAIL!  : TestGitStorage::testGitStorageCloud() Compared values are not the same<br>10:    Actual   (save_dives(qPrintable(cloudTestRepo))): -1<br>10:    Expected (0)                                    : 0<br>10:    Loc: [/home/rick/src/subsurface/tests/testgitstorage.cpp(96)]<br>10: FAIL!  : TestGitStorage::testGitStorageCloudOfflineSync() Compared values are not the same<br>10:    Actual   (parse_file(qPrintable(localCacheRepo))): -1<br>10:    Expected (0)                                     : 0<br>10:    Loc: [/home/rick/src/subsurface/tests/testgitstorage.cpp(120)]<br>10: PROBLEM: duplicate uuid 1d64267f<br>10: PROBLEM: duplicate uuid 3d91bcd7<br></span></div><div><span class="">----snip--- (lots of similar duplicate uuid problems)<br>10: PROBLEM: duplicate uuid e3ecadd7<br>10: FAIL!  : TestGitStorage::testGitStorageCloudMerge() Compared values are not the same<br>10:    Actual   (readin) : "<divelog program='subsurface' version='3'>\n<settings>\n<divecomputerid model='Aeris A300CS' deviceid='2b012345' serial='035025'/>\n<divecomputerid model='Heinrichs Weikamp OSTC 3' deviceid='4ee3d5e1' nickname='Heinrichs Weikamp OSTC 3 (4ee3d5e1"...<br>10:    Expected (written): "<divelog program='subsurface' version='3'>\n<settings>\n<divecomputerid model='Aeris A300CS' deviceid='2b012345' serial='035025'/>\n<divecomputerid model='Heinrichs Weikamp OSTC 3' deviceid='4ee3d5e1' nickname='Heinrichs Weikamp OSTC 3 (4ee3d5e1"...<br>10:    Loc: [/home/rick/src/subsurface/tests/testgitstorage.cpp(206)]<br>10: PROBLEM: duplicate uuid 1d64267f<br>10: PROBLEM: duplicate uuid 1d64267f<br></span></div><div><span class="">---snip---<br>10: PROBLEM: duplicate uuid e3ecadd7<br>10: conflict in 2010/12/04-Hoodsport/05-Sun-11=26=00/Divecomputer / - / - -- conflict in - / 2010/12/04-Hoodsport~1b0d515/04-Sat-10=38=00/Divecomputer / - -- conflict in - / 2010/12/04-Hoodsport~1b0d515/05-Sun-09=20=00/Divecomputer / - -- conflict in - / 2010/12/04-Hoodsport~1b0d515/05-Sun-11=26=00/Divecomputer / - -- conflict in - / - / 2010/12/04-Hoodsport~7feff3e/04-Sat-10=38=00/Divecomputer -- conflict in - / - / 2010/12/04-Hoodsport~7feff3e/05-Sun-11=26=00/Dive-5 -- PROBLEM: duplicate uuid 1d64267f<br>10: PROBLEM: duplicate uuid 3d91bcd7<br>10: PROBLEM: duplicate uuid 4b8d3e78<br></span></div><div><span class="">---snip--<br>10: PROBLEM: duplicate uuid f16bed6e<br>10: FAIL!  : TestGitStorage::testGitStorageCloudMerge2() Compared values are not the same<br>10:    Actual   (readin) : "<divelog program='subsurface' version='3'>\n<settings>\n<divecomputerid model='Aeris A300CS' deviceid='2b012345' serial='035025'/>\n<divecomputerid model='Heinrichs Weikamp OSTC 3' deviceid='4ee3d5e1' nickname='Heinrichs Weikamp OSTC 3 (4ee3d5e1"...<br>10:    Expected (written): "<divelog program='subsurface' version='3'>\n<settings>\n<divecomputerid model='Aeris A300CS' deviceid='2b012345' serial='035025'/>\n<divecomputerid model='Heinrichs Weikamp OSTC 3' deviceid='4ee3d5e1' nickname='Heinrichs Weikamp OSTC 3 (4ee3d5e1"...<br>10:    Loc: [/home/rick/src/subsurface/tests/testgitstorage.cpp(260)]<br>10: PROBLEM: duplicate uuid 1d64267f<br>10: PROBLEM: duplicate uuid 3d91bcd7<br></span><span class=""><span class="">---snip--<br></span>10: PROBLEM: duplicate uuid f16bed6e<br>10: PASS   : TestGitStorage::testGitStorageCloudMerge3()<br>10: PASS   : TestGitStorage::cleanupTestCase()<br>10: Totals: 5 passed, 4 failed, 0 skipped, 0 blacklisted<br>10: ********* Finished testing of TestGitStorage *********<br>1/1 Test #10: TestGitStorage_run ...............***Failed  104.30 sec<br><br>0% tests passed, 1 tests failed out of 1<br><br>Total Test time (real) = 104.30 sec<br><br>The following tests FAILED:<br>         10 - TestGitStorage_run (Failed)<br>Errors while running CTest<br><br></span></div><div><br></div></div></div></div>
</div></blockquote></body></html>