Almost Beta 2 Cloud Storage fails

Dirk Hohndel dirk at hohndel.org
Fri Sep 18 18:37:11 PDT 2015


So it looks like I broke things when I worked on better error messages. But I ran make test afterwards. 

I'll investigate after our guests leave

-- 
Sent from my phone

> On Sep 18, 2015, at 18:02, Rick Walsh <rickmwalsh at gmail.com> wrote:
> 
> 
> 
>> On 19 September 2015 at 09:52, Dirk Hohndel <dirk at hohndel.org> wrote:
>> 
>>> On Sep 18, 2015, at 4:09 PM, Rick Walsh <rickmwalsh at gmail.com> wrote:
>>> 
>>> Hi,
>>> 
>>>> On 19 September 2015 at 06:52, Dirk Hohndel <dirk at hohndel.org> wrote:
>>>> Just a quick update. I'm waiting for patches from Tomaz. I just kicked of
>>>> daily builds so people who want to test have something to test.
>>>> The weekend will be rather busy with family activities, so if I don't get
>>>> Beta 2 today I'm not sure when it will go out, but as far as I'm concerned
>>>> we have now entered the final stage.
>>>> 
>>>> We need to test, translate, document, and fix bugs and issues that pop up.
>>>> 
>>>> It would be really nice if more of the 200+ people on this list would
>>>> participate in this effort. Beta 1 binaries have been tested on a total of
>>>> 90 systema / VMss. And that includes all the folks who aren't on this list
>>>> who saw the various announcements. Cloud storage has been tested by fewer
>>>> than 50 people.
>>> 
>>> 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.
>>> 
>>> I'm running Fedora 22, but it also failed for me last time I tested on Windows 8 and 10.
>>> 
>>> I'm not sure how to debug this.  Here is a backtrace of cloud storage failing.
>> 
>> So the obvious questions are... firewall? Proxy? built from source or my binaries?
> No firewall or proxy that I've set up.
> 
> 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.
> 
> Built from source - lastest master:
> commit ca6f2c238aec0fd9dc0b12fad2df4028cf097fbb
> Author: Dirk Hohndel <dirk at hohndel.org>
> Date:   Fri Sep 18 13:14:46 2015 -0700
> 
>     Uemis downloader: minor coding style changes
>>> (gdb) bt 50
>>> #0  0x00007fffefaee063 in select () from /lib64/libc.so.6
>>> #1  0x00007ffff67a938c in wait_for.constprop () from /home/rick/src/install-root/lib/libgit2.so.23
>>> #2  0x00007ffff67a93f4 in curls_write () from /home/rick/src/install-root/lib/libgit2.so.23
>> 
>> 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.
>>> 
>>> Probably related, TestGitStorage_run fails:
>>> [rick at notyourcomputer build]$ ctest -V -R TestGitStorage_run 
>>> UpdateCTestConfiguration  from :/home/rick/src/subsurface/build/DartConfiguration.tcl
>>> UpdateCTestConfiguration  from :/home/rick/src/subsurface/build/DartConfiguration.tcl
>>> Test project /home/rick/src/subsurface/build
>>> Constructing a list of tests
>>> Done constructing a list of tests
>>> Checking test dependency graph...
>>> Checking test dependency graph end
>>> test 10
>>>     Start 10: TestGitStorage_run
>>> 
>>> 10: Test command: /home/rick/src/subsurface/build/TestGitStorage
>>> 10: Test timeout computed to be: 9.99988e+06
>>> 10: ********* Start testing of TestGitStorage *********
>>> 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))
>>> 10: PASS   : TestGitStorage::initTestCase()
>>> 10: PASS   : TestGitStorage::testSetup()
>>> 10: PASS   : TestGitStorage::testGitStorageLocal()
>>> 10: PASS   : TestGitStorage::testGitStorageCloud()
>>> 10: PASS   : TestGitStorage::testGitStorageCloudOfflineSync()
>>> 10: PASS   : TestGitStorage::testGitStorageCloudMerge()
>>> 10: PASS   : TestGitStorage::testGitStorageCloudMerge2()
>>> 10: QFATAL : TestGitStorage::testGitStorageCloudMerge3() Received signal 11
>> 
>> That's fixed in latest master. Unrelated to the above... and it shows that here
>> you actually connect to the cloud storage successfully.
> 
> I had done a git pull to latest master (ca6f2c238aec0fd9dc0b12fad2df4028cf097fbb), and make test, but I hadn't re-run TestGitStorage_build.  Is that significant?  After re-running TestGitStorage_build (which runs fine), TestGitStorage_run gives me a new error:
> 
> [rick at notyourcomputer build]$ ctest -V -R TestGitStorage_build 
> UpdateCTestConfiguration  from :/home/rick/src/subsurface/build/DartConfiguration.tcl
> UpdateCTestConfiguration  from :/home/rick/src/subsurface/build/DartConfiguration.tcl
> Test project /home/rick/src/subsurface/build
> Constructing a list of tests
> Done constructing a list of tests
> Checking test dependency graph...
> Checking test dependency graph end
> test 9
>     Start 9: TestGitStorage_build
> 
> 9: Test command: /usr/bin/cmake "--build" "/home/rick/src/subsurface/build" "--target" "TestGitStorage"
> 9: Test timeout computed to be: 9.99988e+06
> 9: [  0%] Built target version
> 9: [  0%] Automatic moc and uic for target subsurface_corelib
> 9: [  0%] Built target subsurface_corelib_automoc
> 9: [ 91%] Built target subsurface_corelib
> 9: [ 95%] Automatic moc and uic for target TestGitStorage
> 9: [ 95%] Built target TestGitStorage_automoc
> 9: [100%] Built target TestGitStorage
> 1/1 Test #9: TestGitStorage_build .............   Passed    0.21 sec
> 
> The following tests passed:
>         TestGitStorage_build
> 
> 100% tests passed, 0 tests failed out of 1
> 
> Total Test time (real) =   0.21 sec
> [rick at notyourcomputer build]$ ctest -V -R TestGitStorage_run 
> UpdateCTestConfiguration  from :/home/rick/src/subsurface/build/DartConfiguration.tcl
> UpdateCTestConfiguration  from :/home/rick/src/subsurface/build/DartConfiguration.tcl
> Test project /home/rick/src/subsurface/build
> Constructing a list of tests
> Done constructing a list of tests
> Checking test dependency graph...
> Checking test dependency graph end
> test 10
>     Start 10: TestGitStorage_run
> 
> 10: Test command: /home/rick/src/subsurface/build/TestGitStorage
> 10: Test timeout computed to be: 9.99988e+06
> 10: ********* Start testing of TestGitStorage *********
> 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))
> 10: PASS   : TestGitStorage::initTestCase()
> 10: PASS   : TestGitStorage::testSetup()
> 10: PASS   : TestGitStorage::testGitStorageLocal()
> 10: FAIL!  : TestGitStorage::testGitStorageCloud() Compared values are not the same
> 10:    Actual   (save_dives(qPrintable(cloudTestRepo))): -1
> 10:    Expected (0)                                    : 0
> 10:    Loc: [/home/rick/src/subsurface/tests/testgitstorage.cpp(96)]
> 10: FAIL!  : TestGitStorage::testGitStorageCloudOfflineSync() Compared values are not the same
> 10:    Actual   (parse_file(qPrintable(localCacheRepo))): -1
> 10:    Expected (0)                                     : 0
> 10:    Loc: [/home/rick/src/subsurface/tests/testgitstorage.cpp(120)]
> 10: PROBLEM: duplicate uuid 1d64267f
> 10: PROBLEM: duplicate uuid 3d91bcd7
> ----snip--- (lots of similar duplicate uuid problems)
> 10: PROBLEM: duplicate uuid e3ecadd7
> 10: FAIL!  : TestGitStorage::testGitStorageCloudMerge() Compared values are not the same
> 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"...
> 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"...
> 10:    Loc: [/home/rick/src/subsurface/tests/testgitstorage.cpp(206)]
> 10: PROBLEM: duplicate uuid 1d64267f
> 10: PROBLEM: duplicate uuid 1d64267f
> ---snip---
> 10: PROBLEM: duplicate uuid e3ecadd7
> 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
> 10: PROBLEM: duplicate uuid 3d91bcd7
> 10: PROBLEM: duplicate uuid 4b8d3e78
> ---snip--
> 10: PROBLEM: duplicate uuid f16bed6e
> 10: FAIL!  : TestGitStorage::testGitStorageCloudMerge2() Compared values are not the same
> 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"...
> 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"...
> 10:    Loc: [/home/rick/src/subsurface/tests/testgitstorage.cpp(260)]
> 10: PROBLEM: duplicate uuid 1d64267f
> 10: PROBLEM: duplicate uuid 3d91bcd7
> ---snip--
> 10: PROBLEM: duplicate uuid f16bed6e
> 10: PASS   : TestGitStorage::testGitStorageCloudMerge3()
> 10: PASS   : TestGitStorage::cleanupTestCase()
> 10: Totals: 5 passed, 4 failed, 0 skipped, 0 blacklisted
> 10: ********* Finished testing of TestGitStorage *********
> 1/1 Test #10: TestGitStorage_run ...............***Failed  104.30 sec
> 
> 0% tests passed, 1 tests failed out of 1
> 
> Total Test time (real) = 104.30 sec
> 
> The following tests FAILED:
>          10 - TestGitStorage_run (Failed)
> Errors while running CTest
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150918/27f4ea3d/attachment-0001.html>


More information about the subsurface mailing list