[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
** Changed in: canonical-devices-system-image Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in Canonical System Image: Fix Released Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in thumbnailer package in Ubuntu: Invalid Status in qtbase-opensource-src package in Ubuntu RTM: Fix Released Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
Just verified using the test app that this is fixed on: phablet@ubuntu-phablet:~/1470700$ system-image-cli -i current build number: 377 device name: mako channel: ubuntu-touch/rc-proposed/ubuntu last update: 2016-03-01 09:20:40 version version: 377 version ubuntu: 20160227 version device: 20160112 version custom: 20160227 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in Canonical System Image: Fix Committed Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in thumbnailer package in Ubuntu: Invalid Status in qtbase-opensource-src package in Ubuntu RTM: Fix Released Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
** Changed in: canonical-devices-system-image Importance: Undecided => High ** Changed in: canonical-devices-system-image Assignee: (unassigned) => Zoltan Balogh (bzoltan) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in Canonical System Image: Fix Committed Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in thumbnailer package in Ubuntu: Invalid Status in qtbase-opensource-src package in Ubuntu RTM: Fix Released Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
** Changed in: thumbnailer (Ubuntu) Status: Triaged => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in Canonical System Image: Fix Committed Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in thumbnailer package in Ubuntu: Invalid Status in qtbase-opensource-src package in Ubuntu RTM: Fix Released Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
** Changed in: canonical-devices-system-image Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in Canonical System Image: Fix Committed Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in thumbnailer package in Ubuntu: Triaged Status in qtbase-opensource-src package in Ubuntu RTM: Fix Released Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
** Changed in: canonical-devices-system-image Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in Canonical System Image: In Progress Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in thumbnailer package in Ubuntu: Triaged Status in qtbase-opensource-src package in Ubuntu RTM: Fix Released Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
This bug was fixed in the package qtbase-opensource-src 5.4.1+dfsg- 2ubuntu11~vivid4 in https://launchpad.net/~ci-train-ppa- service/+archive/ubuntu/stable-phone-overlay --- qtbase-opensource-src (5.4.1+dfsg-2ubuntu11~vivid4) vivid; urgency=medium * Lorn Potter's networking fixes: - debian/patches/Make-sure-to-report-correct-NetworkAccessibility.patch - debian/patches/Make-sure-networkAccessibilityChanged-is-emitted.patch - debian/patches/Fix-hang-in-qnam-when-disconnecting.patch - debian/patches/Make-UnknownAccessibility-not-block-requests.patch - debian/patches/qnam-ubuntu-fix6.patch (not yet upstreamed) (LP: #1470700) (LP: #1506015) (LP: #1507769) (LP: #1528886) (LP: #1533508) * debian/patches/Add-an-option-to-skip-the-generic-bearer-engine.patch - Backport to replace disable-generic-plugin-when-others-available.patch -- Timo JyrinkiMon, 14 Dec 2015 12:53:41 + ** Changed in: qtbase-opensource-src (Ubuntu RTM) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in Canonical System Image: New Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in thumbnailer package in Ubuntu: Triaged Status in qtbase-opensource-src package in Ubuntu RTM: Fix Released Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Changed in: canonical-devices-system-image Milestone: None => ww08-2016 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in Canonical System Image: New Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in thumbnailer package in Ubuntu: Triaged Status in qtbase-opensource-src package in Ubuntu RTM: Fix Released Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
Silo 032 has long pending networking fixes that now have seen more recent work and the silo might be in shape for landing. As an interested party in this networking related bug (among many), could you please give 032 a whirl on vivid-overlay (xenial also available) and test your networking in general in addition to this particular bug? If we see no regressions - and we do see fixes - we could try landing the silo. Upgrade with 'citrain device-upgrade 32 '. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in thumbnailer package in Ubuntu: Triaged Status in qtbase-opensource-src package in Ubuntu RTM: New Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
Tested this using 032 and with the attached code and no longer hangs: phablet@ubuntu-phablet:~/1470700$ ./1470700 http://google.com 2016-02-04T04:23:50 (unknown:0) - Starting request 2016-02-04T04:23:50 (unknown:0) - QNAM finished: QNetworkReplyHttpImpl(0x19910b8) 2016-02-04T04:23:50 (unknown:0) - Error state: 0 "Unknown error" 302 Moved 302 Moved The document has moved http://www.google.com.au/?gfe_rd=crei=tkWyVq7xG6_u8weY775I;>here. 2016-02-04T04:23:50 (unknown:0) - Done. Sleeping 5 seconds 2016-02-04T04:23:55 (unknown:0) - Starting request 2016-02-04T04:23:55 (unknown:0) - "Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist " 2016-02-04T04:23:55 (unknown:0) - QNAM finished: QNetworkReplyHttpImpl(0x19a8a80) 2016-02-04T04:23:55 (unknown:0) - QNAM finished: QNetworkReplyHttpImpl(0x19a8a80) 2016-02-04T04:23:55 (unknown:0) - Error state: 8 "Network session error." 2016-02-04T04:23:55 (unknown:0) - QNetworkReplyImplPrivate::error: Internal problem, this method must only be called once. 2016-02-04T04:23:55 (unknown:0) - Done. Sleeping 5 seconds 2016-02-04T04:23:55 (unknown:0) - "Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist " 2016-02-04T04:24:00 (unknown:0) - Starting request 2016-02-04T04:24:00 (unknown:0) - QNAM finished: QDisabledNetworkReply(0x198da88) 2016-02-04T04:24:00 (unknown:0) - QNAM finished: QDisabledNetworkReply(0x198da88) 2016-02-04T04:24:00 (unknown:0) - Error state: 99 "Network access is disabled." 2016-02-04T04:24:00 (unknown:0) - QIODevice::read: device not open 2016-02-04T04:24:00 (unknown:0) - Done. Sleeping 5 seconds 2016-02-04T04:24:05 (unknown:0) - Starting request 2016-02-04T04:24:05 (unknown:0) - QNAM finished: QDisabledNetworkReply(0x198da88) 2016-02-04T04:24:05 (unknown:0) - QNAM finished: QDisabledNetworkReply(0x198da88) 2016-02-04T04:24:05 (unknown:0) - Error state: 99 "Network access is disabled." 2016-02-04T04:24:05 (unknown:0) - QIODevice::read: device not open 2016-02-04T04:24:05 (unknown:0) - Done. Sleeping 5 seconds 2016-02-04T04:24:10 (unknown:0) - Starting request 2016-02-04T04:24:10 (unknown:0) - QNAM finished: QDisabledNetworkReply(0x198da88) 2016-02-04T04:24:10 (unknown:0) - QNAM finished: QDisabledNetworkReply(0x198da88) 2016-02-04T04:24:10 (unknown:0) - Error state: 99 "Network access is disabled." 2016-02-04T04:24:10 (unknown:0) - QIODevice::read: device not open 2016-02-04T04:24:10 (unknown:0) - Done. Sleeping 5 seconds 2016-02-04T04:24:15 (unknown:0) - Starting request 2016-02-04T04:24:15 (unknown:0) - QNAM finished: QDisabledNetworkReply(0x198c000) 2016-02-04T04:24:15 (unknown:0) - QNAM finished: QDisabledNetworkReply(0x198c000) 2016-02-04T04:24:15 (unknown:0) - Error state: 99 "Network access is disabled." 2016-02-04T04:24:15 (unknown:0) - QIODevice::read: device not open 2016-02-04T04:24:15 (unknown:0) - Done. Sleeping 5 seconds 2016-02-04T04:24:20 (unknown:0) - Starting request 2016-02-04T04:24:20 (unknown:0) - QNAM finished: QNetworkReplyHttpImpl(0x1992938) 2016-02-04T04:24:20 (unknown:0) - Error state: 0 "Unknown error" 302 Moved 302 Moved The document has moved http://www.google.com.au/?gfe_rd=crei=1EWyVvaAO7Hu8wfFj6DQCA;>here. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in thumbnailer package in Ubuntu: Triaged Status in qtbase-opensource-src package in Ubuntu RTM: New Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
** Also affects: qtbase-opensource-src (Ubuntu RTM) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in thumbnailer package in Ubuntu: Triaged Status in qtbase-opensource-src package in Ubuntu RTM: New Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
This bug was fixed in the package qtbase-opensource-src - 5.5.1+dfsg- 6ubuntu4 --- qtbase-opensource-src (5.5.1+dfsg-6ubuntu4) xenial; urgency=medium * Update symbols for s390x. -- Timo JyrinkiTue, 08 Dec 2015 13:35:46 + ** Changed in: qtbase-opensource-src (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
qtbase-opensource-src (5.5.1+dfsg-6ubuntu3) xenial; urgency=medium * debian/patches/enable-tests.patch: - Replace the non-DFSG-free RFC files with public domain content. - Adjust tests to the new files. (LP: #1522442) * debian/copyright: mention the replacement. * Switch to opt-in for architectures to run tests on. -- Timo JyrinkiMon, 07 Dec 2015 14:02:11 + qtbase-opensource-src (5.5.1+dfsg-6ubuntu2) xenial; urgency=high * Skip largefile test on s390x too, in addition to amd64. * Make tests to keep going till the end with -k. -- Dimitri John Ledkov Fri, 04 Dec 2015 16:54:28 + qtbase-opensource-src (5.5.1+dfsg-6ubuntu1) xenial; urgency=medium * New upstream release. (LP: #1437206) (LP: #1450137) (LP: #1474313) (LP: #1470700) (LP: #1504631) (LP: #1423659) (LP: #1474775) (LP: #1508945) * Replace load_testability_from_env_var.patch with upstreamed Add-environment-variable-support-for-testability-lib.patch * Drop patches in upstream: - Correct-typo-in-the-Gujarati-openType-identififer.patch * Rebase enable-tests.patch. Disable one failing QtWidgets test. * Build depend on GStreamer 1.0 and add a configure option for it. * Update symbols. * Mark/unmark private symbols. * Replace two Ubuntu patches with upstreamed patches: - Drop disable-generic-plugin-when-others-available.patch, replace with Add-an-option-to-skip-the-generic-bearer-engine.patch - Drop qopenglframebufferobject_powervrworkaround.patch, replace with Blacklist-PowerVR-Rogue-G6200-v1.3-from-supporting-B.patch * debian/patches/Make-sure-networkAccessibilityChanged-is-emitted.patch: - Include a network fix from Qt 5.5 branch (merged after 5.5.1) (LP: #1470700) * debian/patches/Use-Node-name-if-Node-logicalModuleName-is-empty-for.patch: - Fix a qdoc issue (LP: #1447182) * Remove disable_overlay_scrollbars.diff as overlay scrollbars were dropped. * debian/patches/Prefer-QT_PLUGIN_PATH-over-compiled-in-paths.patch: - Backport. Prefer QT_PLUGIN_PATH over compiled-in paths (LP: #1519927) * debian/patches/Fix-crash-on-exit-caused-by-QStringLiterals.patch - Backport. Fix a crasher on exit (LP: #1436973) * Replace our workaround for font rendering with new backported upstream patches: - Add debian/patches/Fix-falsely-reported-style-for-fallback-font.patch - Add debian/patches/Remove-historical-4-padding-in-QFontEngine-alphaMapF.patch - Remove debian/patches/enable_fonts_always_smoothly.patch (LP: #1475205) -- Timo Jyrinki Tue, 01 Dec 2015 06:16:35 + -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Fix Released Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
It seems like the fixes landed to bug #1480877 help here - the silo 032 is now rebased, and weather app again works even with NM backend and all these new patches. There's a new patch pending related to that patch landing, but this silo 032 would now finally start to be a landing candidate after that is settled. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
The silo 32 (https://launchpad.net/~ci-train-ppa- service/+archive/ubuntu/landing-032/+packages) contains these fixes backported to Qt 5.4.1: https://codereview.qt-project.org/#/c/122382/ https://codereview.qt-project.org/#/c/113478/ https://codereview.qt-project.org/#/c/121724/ https://codereview.qt-project.org/#/c/126219/ (with setting to skip generic plugin via ubuntu-touch-session package) With those this bug and accessibility property are fixed, but with the downside of NM bearer starting to somehow depend on more DBus calls that get blocked by apparmor (I meant "blocked by apparmor", not "blocking calls"), causing this same bug #1508945 as what happens with the PPA with Qt 5.5 packages (which have the one post-5.5.1 commit cherry- picked). If the apparmor rules are relaxed the same way as would be needed for fixing bug #1404188, the problems disappear, but alas we can't relax them for real. So unfortunately the fixes can't be apparently landed if not also switching to connectivity-api bearer or if there's a solution to NM bearer that fixes the bugs fixed in those first three commits without causing the new problem in our current apparmor setup. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
The build 5.4.1+dfsg-2ubuntu11~vivid1~test2 in 032 has also now the new https://codereview.qt-project.org/#/c/140116/ included. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
Here's the net-test compiled for the phone, which I've used to test the problem, and which shows the bug would be fixed with the current set of patches in 032. ** Attachment added: "net-test binary" https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+attachment/4521200/+files/net-test.arm -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
I've done some work on QNAM recently in regards to accessibility property in QNAM, and see that the patch that (which was upstreamed to qt 5.6) makes this property follow the online state like it should, is missing from ubuntu's repo. I will try to do some testing on phone and see if this can help. I know of one bug even with the mentioned patch in regards to disconnect timing that needs to also be solved. That said, I tried compiling net-test.cpp in the sdk for phone, which failed I have a few of my own test apps and QNAM in flight mode returns something like: void Netter::replyFinished(QNetworkReply*) 3 "Host google.com not found" So by going by the original description, QNAM no longer hangs in flight mode (using the default bearer configuration) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
A quick update that with generic plugin there are no problems, except that QNAMs don't understand when connection is dropped from wifi to 3G or upgraded from 3G to wifi. The new network problem when using NM bearer is because these new Qt patches fixing the bug backported from Qt 5.5 branch rely more than before on the blocked DBus traffic causing a failure. The same apparmor rule relaxing (https://launchpadlibrarian.net/219307454/apparmor_allow_qnetworksession_isopen.patch) that would fix bug #1404188 would also allow these patches to function without regressions, but those apparmor changes are not allowed in. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
** Description changed: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 + - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible-prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Optional: If you want to test using the 'generic' bearer plugin instead of the Network Manager bearer, either do not upgrade ubuntu-touch-session or move away the file /etc/profile.d/qt_networkmanager_bearer.sh - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
There should not be any difference before/after, now the environment variable is just set up automatically. So the fixes do fix in principle the accessible() return value and definitely fix the original bug report of QNAM hangs, but with some downsides or at least it still not being perfect. The same behaviour can be seen with Qt 5.5.1 so this will be the de facto future way the Qt network is going to work. If you want to continue comparisons, on xenial image (once they work) you can test https://wiki.ubuntu.com/Touch/QtTesting to get Qt 5.5.1 into use. Notably unresolved bug #1508945 is filed for one problem these patches or the Qt 5.5.1 will bring. Thanks for trying out and reporting... all in all it's useful to have the PPAs but this isn't something that could be immediately landed to stable phone users at least because of that 1508945. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
I just tried this again with the latest PPA. The behavior is still weird. Initially, I'm in flight mode and the status is correct, and the GET request fails immediately, as expected. Then I turn flight mode off and wait until the wifi connection is up, then request a few more thumbnails. At that point, the accessibility status is still "network down" for several GET requests in a row. I'm also seeing a bunch of these in the log: thumbnailer-service: [00:18:43.520] QNAM: -1 thumbnailer-service: [00:18:43.520] sending request thumbnailer-service: [00:18:43.521] Warning: QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State) (The "QNAM" is the trace for the accessibility status.) After a bunch more of these, in the end, I see this: thumbnailer-service: [00:18:43.520] QNAM: -1 thumbnailer-service: [00:18:43.520] sending request thumbnailer-service: [00:18:43.521] Warning: QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State) thumbnailer-service: [00:18:46.822] QNAM: -1 thumbnailer-service: [00:18:46.829] sending request thumbnailer-service: [00:18:46.831] Warning: QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State) thumbnailer-service: [00:18:46.910] "artist: Pink Floyd/ (512,512): 3.454583 [d: 3.365325] sec (MISS)" thumbnailer-service: [00:18:46.914] QNAM: -1 thumbnailer-service: [00:18:46.915] sending request thumbnailer-service: [00:18:46.916] Warning: QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State) thumbnailer-service: [00:18:46.942] "artist: Pink Floyd/The Dark Side Of The Moon [2011 - Remaster] (512,512): 3.423468 [d: 3.393726] sec (MISS)" thumbnailer-service: [00:18:48.096] QNAM: -1 thumbnailer-service: [00:18:48.100] sending request thumbnailer-service: [00:18:48.109] Warning: QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State) thumbnailer-service: [00:18:48.190] "artist: Passport/Passport to Paradise (512,512): 4.671097 [q: 3.298519, d: 1.273558] sec (MISS)" thumbnailer-service: [00:18:48.368] QNAM: -1 thumbnailer-service: [00:18:48.369] sending request thumbnailer-service: [00:18:48.371] Warning: QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State) thumbnailer-service: [00:18:48.409] "artist: Mamady Keïta/ (512,512): 4.876946 [q: 3.379785, d: 1.454331] sec (MISS)" Note that the accessibility status each time is still -1 even though, eventually, a the requests succeed. So, something is definitely not right here still. Now I kill off the music app and wait for the thumbnailer-service to exit, all while the wifi connection is up. I then try again and see this: thumbnailer-service: [00:27:35.858] QNAM: 1 thumbnailer-service: [00:27:35.864] sending request thumbnailer-service: [00:27:35.873] QNAM: 1 thumbnailer-service: [00:27:35.879] sending request thumbnailer-service: [00:27:35.927] "artist: Pink Floyd/The Dark Side Of The Moon [2011 - Remaster] (512,512): 10.127397 [d: 10.049212] sec (NETWORK DOWN)" thumbnailer-service: [00:27:35.934] "artist: Passport/Passport to Paradise (512,512): 10.066997 [d: 10.004309] sec (NETWORK DOWN)" thumbnailer-service: [00:27:37.638] QNAM: 1 thumbnailer-service: [00:27:37.641] sending request thumbnailer-service: [00:27:37.719] "artist: Mamady Keïta/Afö (512,512): 11.852127 [q: 9.987196, d: 1.779486] sec (MISS)" thumbnailer-service: [00:27:39.491] QNAM: 1 thumbnailer-service: [00:27:39.496] sending request thumbnailer-service: [00:27:39.645] "album: Passport/Passport to Paradise (512,512): 13.765835 [q: 9.992015, d: 3.618609] sec (MISS)" thumbnailer-service: [00:27:39.892] "album: Mamady Keïta/Afö (512,512): 13.944809 [q: 11.688131, d: 2.144388] sec (MISS)" thumbnailer-service: [00:27:40.845] "album: Pink Floyd/The Dark Side Of The Moon [2011 - Remaster] (512,512): 14.866033 [q: 13.510416, d: 1.215110] sec (MISS)" Now the accessibility status is 1, as it should be. But we get two more failing requests (the first two entries in the trace). The NETWORK DOWN status means that we waited for 10 seconds before giving up. But then we end up with three successful requests in the end. These were previously queued and held in the queue (by us) because we limit ourselves to two concurrent downloads. So, this doesn't look right to me. It's as if there is some retry logic going on behind the scenes, and the accessibility status appears to still be wrong at least some of the time. -- You received this bug notification because
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
For reference, did you add the /etc/enviroment variable? I've now made a vivid-overlay branch of the ubuntu-touch-session too and added it to the 032 PPA. That means, you don't need to do other than upgrade to the PPA from now on to get correct results. ** Description changed: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - - Edit /etc/environment on the phone and add a line to keep the current default behavior (this will be added to the silo via ubuntu-touch-session if it's planned to be landed): - QT_EXCLUDE_GENERIC_BEARER=1 - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible-prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
Yes, I did that edit and rebooted. I can double-check tomorrow with your new PPA. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
OK, I installed the PPA and built a thumbnailer that reverts the work- around we've been using. I print trace for the networkAccessible() and we unconditionally send a GET request, regardless of what networkAccessible() tells us. I start out with flight mode enabled. networkAccessible() returns the correct value (0), and the GET request fails immediately with the correct error status. I then disable flight mode. networkAccessible() now returns 1 as it should. However, the GET request has a problem. It doesn't return and we time it out after 10 seconds. So, it looks like the networkAccessible() problem is fixed. However, the GET doesn't seem to realize when the status has changed from "down" to "up" and doesn't send the request as it should. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Edit /etc/environment on the phone and add a line to keep the current default behavior (this will be added to the silo via ubuntu-touch-session if it's planned to be landed): QT_EXCLUDE_GENERIC_BEARER=1 - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
No, the bileto info should be just ignored. If you look at the actual silo (PPA), you see qtbase built: https://launchpad.net/~ci-train-ppa- service/+archive/ubuntu/landing-032/+packages What failed to build is the ubuntu-touch-session since the branch is for 15.10. But that's not needed as long as the silo is not decided to be landed, just check the description instruction about adding the QT_EXCLUDE_GENERIC_BEARER=1 manually. I'll just fix the bileto status too so that people are not confused. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Edit /etc/environment on the phone and add a line to keep the current default behavior (this will be added to the silo via ubuntu-touch-session if it's planned to be landed): QT_EXCLUDE_GENERIC_BEARER=1 - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
I just looked at the silo and it says that the build failed. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Edit /etc/environment on the phone and add a line to keep the current default behavior (this will be added to the silo via ubuntu-touch-session if it's planned to be landed): QT_EXCLUDE_GENERIC_BEARER=1 - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
** Description changed: + Testing the fix: + + - Update rc-proposed (vivid) to citrain device-upgrade 32 + - Edit /etc/environment on the phone and add a line: + QT_EXCLUDE_GENERIC_BEARER=1 + - Reboot + + + --- + When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible-prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. ** Description changed: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - - Edit /etc/environment on the phone and add a line: - QT_EXCLUDE_GENERIC_BEARER=1 + - Edit /etc/environment on the phone and add a line to keep the current default behavior: + QT_EXCLUDE_GENERIC_BEARER=1 - Reboot - --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible-prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Edit /etc/environment on the phone and add a line to keep the current default behavior: QT_EXCLUDE_GENERIC_BEARER=1 - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
** Description changed: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - - Edit /etc/environment on the phone and add a line to keep the current default behavior: + - Edit /etc/environment on the phone and add a line to keep the current default behavior (this will be added to the silo via ubuntu-touch-session if it's planned to be landed): QT_EXCLUDE_GENERIC_BEARER=1 - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible-prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: Testing the fix: - Update rc-proposed (vivid) to citrain device-upgrade 32 - Edit /etc/environment on the phone and add a line to keep the current default behavior (this will be added to the silo via ubuntu-touch-session if it's planned to be landed): QT_EXCLUDE_GENERIC_BEARER=1 - Reboot --- When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
Just to update on this, the new patch to use generic plugin by default (which many tests assume) and only disable it via environment variable made it possible to keep tests enabled. The last upstream commit related to fixing this bug was also merged to Qt 5.5. Silo 032 is updated for the backports to Qt 5.4.1. I was not able to find out what to do about the weather app's newly gained network access problem, but if you want to help please try out https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-032/ on vivid-overlay (rc-proposed channel). You need to add "QT_EXCLUDE_GENERIC_BEARER=1" to /etc/environment for proper testing (this would be automatically included in ubuntu-touch-session scripts if this would be shipped). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
Thanks for spotting the tst_QUdpSocket::initTestCase. I believe the test problems might be because of the builders tests environment, how we have disabled the generic plugin (so that it doesn't take precedence over nm plugin) while the builders don't have a full network setup wanted. The problems might be explained by the more proper behavior with the patch, but the weather app would need to be tested at least so that it's functionally intact. No other test suites showed similar regression, including webbrowser. The apparmor denials are related to bug #1404188 - it's possible that with this patch the weather app happens to be able to send a fuller query which is then denied. If the weather app is functionally identical, then the autopilot tests just do a wrong assumption, but it will need to be looked into. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
Set to triaged for thumbnailer so we can track it. ** Changed in: thumbnailer (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: Triaged Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
FAIL! : tst_QXmlInputSource::waitForReadyIODevice() 'reply->error() == QNetworkReply::NoError' returned FALSE. () Loc: [tst_qxmlinputsource.cpp(150)] This test is http client/server test. I have tested this here and it hangs on previous version (5.4.2) as well. The request never gets the finished signal. As for the attachment in #20, it also fails at: FAIL! : tst_QUdpSocket::initTestCase() 'networkSession->waitForOpened(3)' returned FALSE. () Loc: [../tst_qudpsocket.cpp(179)] In which case is a test that fails to check for start/stop capabilities before it tries to open a NetworkSession (which will fail using only the generic bearer plugin (like a system without networkmanager or connman), as it cannot start or stop interfaces/connections like the network manager bearer plugin can. Not knowing all that much about ubuntu tests, looking at that weather app log: (but I do know app armor blocks QNAM/network manager dbus requests, and I believe they refuse to open app armor to allow clients to access QNAM/network manager) QNetworkManagerInterface::QNetworkManagerInterface(QObject*) propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.117" (uid=32011 pid=4194 comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene $@ u") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1440 comm="NetworkManager ")" QNetworkManagerInterface::QNetworkManagerInterface(QObject*) nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.117" (uid=32011 pid=4194 comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene $@ u") interface="org.freedesktop.NetworkManager" member="GetDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1440 comm="NetworkManager ")" -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
This is now on hold because of the test regressions. I've now also managed to test that the Weather App autopilot tests reliably regress for some reason if the "Make sure networkAccessibilityChanged is emitted" patch is included (patch set 13). Without the PPA or with a PPA that contains all the other patches there are no regressions. Log attached. However, without this last patch the bugs described in this bug report are also not fixed. ** Attachment added: "ap-2015_09_13-15_26_32-ubuntu_weather_app-1-032.tests" https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+attachment/4464802/+files/ap-2015_09_13-15_26_32-ubuntu_weather_app-1-032.tests -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
I've tested with the PPA and a thumbnailer with some trace thrown in. Looks like it's OK now. I'm getting networkAccessible == 0 when in flight mode, and == 1 with the network up. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
The networkAccessible test seems also fixed by the patch set 13 from Lorn. I'm still getting tst_QXmlInputSource::waitForReadyIODevice() failing/hanging when ran, for example https://launchpadlibrarian.net/216246376/buildlog_ubuntu-vivid-i386 .qtbase-opensource-src_5.4.1%2Bdfsg- 2ubuntu9~vivid1~test3.4_CANCELLING.txt.gz I'm considering disabling that test but it would be useful understand whether it's also fallout from this bugfix making the accessible() working like it should. So, in the above build log, it had logged the test as "FAIL" but then the build was indefinitely hanged until I canceled it. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
https://launchpad.net/~ci-train-ppa- service/+archive/ubuntu/landing-032/+packages has the package, it's a manual upload so the silo status does not reflect reality. Just double check the libqt5network5 version number is 5.4.1+dfsg- 2ubuntu9~vivid1~test3.3 after upgrading. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
I was going to test whether networkAccessible() returns the right thing now. But it looks like silo 32 won't build at the moment. I couldn't find another silo for this. Am I looking in the wrong place? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
Ok! I'm updating the build again, although I hit: FAIL! : tst_QNetworkAccessManager::networkAccessible() Compared values are not the same So I'll disable the tests again so that it'd build at least. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: """If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed.""" http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
There is a bug I found which may effect this: :) https://bugreports.qt.io/browse/QTBUG-47763 I have merged my fixes into https://codereview.qt- project.org/#/c/121724/ This should make NetworkAccessibility be Undefined by default, as well it will process NetworkRequests when NetworkAccessibility is either Accessible or Undefined. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed. http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
There's a qtbase build for vivid+overlay at https://launchpad.net/~ci- train-ppa-service/+archive/ubuntu/landing-032 containing the three patches from Lorn, put on top of the Qt 5.4.1 in use: - Make sure to report correct NetworkAccessibility - Make sure networkAccessibilityChanged is emitted - Fix hang in qnam when disconnecting With the test program, instead of host not found + poll in strace, I get Network access is disabled. However, at least the following Qt tests started failing because of those patches: FAIL! : tst_QNetworkDiskCache::crashWhenParentingCache() '!QTestEventLoop::instance().timeout()' returned FALSE. () FAIL! : tst_QXmlInputSource::waitForReadyIODevice() 'reply-error() == QNetworkReply::NoError' returned FALSE. () (after skipping these two I simply disabled the tests for this test build) The failing tests make the current build not suitable for landing. At minimum all the failing tests would need to individually checked out and disabled if they're deemed to be false positives, but probably there are some real test problems that the upstream tracker will also show when the commits are tried to be merged. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed. http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
additional patch: https://codereview.qt-project.org/#/c/122382/ -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed. http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
Moving this to upstream bug, so I can do the work there. https://bugreports.qt.io/browse/QTBUG-47482 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed. http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
hmm. might take yet another.. momentarily -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed. http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
I updated this patch today. https://codereview.qt-project.org/#/c/121724/ -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed. http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
I just tested this with the packages from silo 21. Unfortunately, this is still not working: Successfully activated service 'com.canonical.Thumbnailer' thumbnailer-service: [04:00:22.245] Ready thumbnailer-service: [04:00:22.281] accessible: 1 thumbnailer-service: [04:00:32.332] album: Mamady Keïta/Afö (512,512): 10.073462 [d: 9.985228] sec (NETWORK DOWN) Note the ten-second delay is still there. Moreover, as the trace shows, networkAccessible() returns 1, even though the device is in flight mode. It appears that the 1 return value happens for the first call we make. Thereafter, it looks like networkAccessible() correctly returns 0. At any rate, this bug isn't fixed yet, by the looks of things. networkAcessible() is still lying the first time we call it, and the hang until we time out is still there. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed. http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
I'm gone now for 2 weeks, so if anyone is able to test that there are no regressions coming from the accessible patch, let sil2100 know about it. I've marked the (vivid) silo to be ready and AP tested in the landing info, so if the patch works / does not regress both wily + vivid silos can be landed. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed. http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
I can't really test this as is. The problem is that, to test it, I need the new thumbnailer from silo 10, but the ppa includes the old thumbnailer. I can't easily get the new thumbnailer onto the device because Jenkins builds for Wily, not Vivid. Not sure what I can do for the moment. To test that networkAccessible() thing really is fixed, put the device into flight mode, and it should return zero. If the device isn't in flight mode, it should report that the network is accessible (even before sending the first request). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed. http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
@Michi or anyone: Could you test landing-026 PPA on vivid-overlay (getting 5.4.1+dfsg-2ubuntu7 Qt versions from there), and report back if the accessible() problem would be fixed without seeming regressions? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed. http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: qtbase-opensource-src (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed. http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
I also noticed that, no matter whether we have a network or not, accessible() always returns 0, even if we have just successfully downloaded something. ** Also affects: thumbnailer (Ubuntu) Importance: Undecided Status: New ** Changed in: qtbase-opensource-src (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed. http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
As for NetworkAccessibility bug: https://codereview.qt-project.org/#/c/113478/ -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed. http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode
Attached is the test program. I compiled it within the click chroot using the following command: arm-linux-gnueabihf-g++ -ggdb -std=c++11 -fPIC -o net-test.arm net- test.cpp `arm-linux-gnueabihf-pkg-config --cflags --libs Qt5Network` When run with a URL as an argument, it will attempt to retrieve the resource every 5 seconds. When in flight mode, I see the process blocked in poll(): poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}], 2, -1) Where the two file descriptors are: eventfd2(0, O_NONBLOCK|O_CLOEXEC) = 3 socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 7 connect(7, {sa_family=AF_LOCAL, sun_path=/var/run/dbus/system_bus_socket}, 33) = 0 (i.e. the second is a D-Bus connection to the system bus). ** Attachment added: net-test.cpp https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+attachment/4423164/+files/net-test.cpp -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtbase-opensource-src in Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode Status in qtbase-opensource-src package in Ubuntu: New Bug description: When my phone is in flight mode, HTTP requests made using QNetworkAccessManager seem to hang rather than erroring out immediately. From my tests, it looks like the HTTP request is blocked until the flight mode is disabled and a network connection is reestablished. This is contrary to the documentation, which states: If the network is not accessible the network access manager will not process any new network requests, all such requests will fail with an error. Requests with URLs with the file:// scheme will still be processed. http://doc.qt.io/qt-5/qnetworkaccessmanager.html#networkAccessible- prop By running strace on my test program, it doesn't even look like it attempts to open a TCP connection when blocked in flight mode. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1470700/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp