[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2016-04-12 Thread Pat McGowan
** Changed in: canonical-devices-system-image Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2016-02-29 Thread Lorn Potter
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:

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2016-02-29 Thread Pat McGowan
** 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 Bugs, which is subscribed to Ubuntu.

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2016-02-28 Thread Michi Henning
** Changed in: thumbnailer (Ubuntu) Status: Triaged => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode To manage

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2016-02-15 Thread Timo Jyrinki
** Changed in: canonical-devices-system-image Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2016-02-15 Thread Timo Jyrinki
** Changed in: canonical-devices-system-image Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode To

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2016-02-14 Thread Ɓukasz Zemczak
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:

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2016-02-14 Thread Timo Jyrinki
** 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 Bugs, which is subscribed to Ubuntu.

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2016-02-03 Thread Timo Jyrinki
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2016-02-03 Thread Lorn Potter
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)

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-12-21 Thread Timo Jyrinki
** Also affects: qtbase-opensource-src (Ubuntu RTM) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-12-10 Thread Timo Jyrinki
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-12-10 Thread Launchpad Bug Tracker
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 Jyrinki Tue, 08 Dec 2015 13:35:46 + ** Changed in:

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-12-09 Thread Timo Jyrinki
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-11-18 Thread Timo Jyrinki
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title:

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-11-18 Thread Timo Jyrinki
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"

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-11-18 Thread Timo Jyrinki
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/

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-11-17 Thread Lorn Potter
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-11-17 Thread Timo Jyrinki
** 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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-11-17 Thread Timo Jyrinki
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-11-05 Thread Timo Jyrinki
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-11-04 Thread Michi Henning
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-11-04 Thread Timo Jyrinki
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-11-04 Thread Michi Henning
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode To

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-11-03 Thread Michi Henning
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-11-02 Thread Timo Jyrinki
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-11-02 Thread Michi Henning
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode To manage notifications

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-10-23 Thread Timo Jyrinki
** 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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-10-23 Thread Timo Jyrinki
** 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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-10-13 Thread Timo Jyrinki
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-09-16 Thread Timo Jyrinki
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-09-16 Thread Michi Henning
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title:

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-09-15 Thread Lorn Potter
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-09-15 Thread Timo Jyrinki
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-09-03 Thread Michi Henning
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 Bugs, which is subscribed to Ubuntu.

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-09-03 Thread Timo Jyrinki
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-

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-09-02 Thread Timo Jyrinki
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 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-09-01 Thread Michi Henning
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 Bugs, which is

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-08-31 Thread Timo Jyrinki
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 Bugs, which is

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-08-31 Thread Lorn Potter
Looks like that test assumes it's always going to be either Accessible or NotAccessible, and does not account for UnknownAccessibility. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title:

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-08-27 Thread Timo Jyrinki
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 -

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-07-28 Thread Lorn Potter
additional patch: https://codereview.qt-project.org/#/c/122382/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode To manage

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-07-27 Thread Lorn Potter
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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-07-20 Thread Lorn Potter
hmm. might take yet another.. momentarily -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode To manage notifications about this bug go to:

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-07-20 Thread Lorn Potter
I updated this patch today. https://codereview.qt-project.org/#/c/121724/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode To manage

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-07-19 Thread Michi Henning
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-07-17 Thread Timo Jyrinki
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-07-16 Thread Michi Henning
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

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-07-13 Thread Timo Jyrinki
@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 Bugs, which

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-07-01 Thread Lorn Potter
As for NetworkAccessibility bug: https://codereview.qt-project.org/#/c/113478/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1470700 Title: QNetworkAccessManager hangs when in flight mode To

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-07-01 Thread Launchpad Bug Tracker
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 Bugs, which is subscribed to Ubuntu.

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-07-01 Thread Michi Henning
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:

[Bug 1470700] Re: QNetworkAccessManager hangs when in flight mode

2015-07-01 Thread James Henstridge
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