Description was changed from ========== bluetooth: Clean up connection error messages Removes errors that were ...
3 years, 9 months ago
(2017-03-02 02:01:37 UTC)
#1
Description was changed from
==========
bluetooth: Clean up connection error messages
Removes errors that were incorrectly added a while ago and fixes a test
that was disabled.
BUG=598341
==========
to
==========
bluetooth: Clean up connection error messages
Removes errors that were incorrectly added a while ago and fixes a test
that was disabled.
BUG=598341
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
ortuno
The CQ bit was checked by ortuno@chromium.org to run a CQ dry run
3 years, 9 months ago
(2017-03-02 02:01:51 UTC)
#2
Dry run: Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/220643)
3 years, 9 months ago
(2017-03-02 02:27:54 UTC)
#5
Dry run: Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/129381)
3 years, 9 months ago
(2017-03-02 05:34:48 UTC)
#9
Description was changed from ========== bluetooth: Clean up connection error messages Removes errors that were ...
3 years, 9 months ago
(2017-03-08 00:39:58 UTC)
#17
Description was changed from
==========
bluetooth: Clean up connection error messages
Removes errors that were incorrectly added a while ago and fixes a test
that was disabled.
BUG=598341
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
bluetooth: Clean up connection error messages
Android documentation is incomplete when it comes to connection error codes,
which led us to believe that all values documented here[1] could be returned
by the platform. We opened http://crbug.com/531058 to include all these values
in our ConnectErrorCode enum.
http://crrev.com/1464443002 was then submitted to include all these values in
our enum.
Upon further investigation we realized that these values were not being returned
by the platform and needed to be removed from our ConnectErrorCode enum.
This patch reverts the changes in http://crrev.com/1464443002 which means:
1. Removing the values from the enum
2. Changing all clients' switch statements that used the enum
3. Fixing test that used these values
4. Removing strings that described these errors
BUG=598341
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
ortuno
Description was changed from ========== bluetooth: Clean up connection error messages Android documentation is incomplete ...
3 years, 9 months ago
(2017-03-08 00:40:42 UTC)
#18
Description was changed from
==========
bluetooth: Clean up connection error messages
Android documentation is incomplete when it comes to connection error codes,
which led us to believe that all values documented here[1] could be returned
by the platform. We opened http://crbug.com/531058 to include all these values
in our ConnectErrorCode enum.
http://crrev.com/1464443002 was then submitted to include all these values in
our enum.
Upon further investigation we realized that these values were not being returned
by the platform and needed to be removed from our ConnectErrorCode enum.
This patch reverts the changes in http://crrev.com/1464443002 which means:
1. Removing the values from the enum
2. Changing all clients' switch statements that used the enum
3. Fixing test that used these values
4. Removing strings that described these errors
BUG=598341
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
bluetooth: Clean up connection error messages
Android documentation is incomplete when it comes to connection error codes,
which led us to believe that all values documented here[1] could be returned
by the platform. We opened http://crbug.com/531058 to include all these values
in our ConnectErrorCode enum.
http://crrev.com/1464443002 was then submitted to include all these values in
our enum.
Upon further investigation we realized that these values were not being returned
by the platform and needed to be removed from our ConnectErrorCode enum.
This patch reverts the changes in http://crrev.com/1464443002 which means:
1. Removing the values from the enum
2. Changing all clients' switch statements that used the enum
3. Fixing test that used these values
4. Removing strings that described these errors
[1] https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html
BUG=598341
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
ortuno
Description was changed from ========== bluetooth: Clean up connection error messages Android documentation is incomplete ...
3 years, 9 months ago
(2017-03-08 00:43:20 UTC)
#19
Description was changed from
==========
bluetooth: Clean up connection error messages
Android documentation is incomplete when it comes to connection error codes,
which led us to believe that all values documented here[1] could be returned
by the platform. We opened http://crbug.com/531058 to include all these values
in our ConnectErrorCode enum.
http://crrev.com/1464443002 was then submitted to include all these values in
our enum.
Upon further investigation we realized that these values were not being returned
by the platform and needed to be removed from our ConnectErrorCode enum.
This patch reverts the changes in http://crrev.com/1464443002 which means:
1. Removing the values from the enum
2. Changing all clients' switch statements that used the enum
3. Fixing test that used these values
4. Removing strings that described these errors
[1] https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html
BUG=598341
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
bluetooth: Clean up connection error messages
Android documentation is incomplete when it comes to connection error codes,
which led us to believe that all values documented here[1] could be returned
by the platform. We opened http://crbug.com/531058 to include all these values
in our ConnectErrorCode enum.
http://crrev.com/1464443002 was then submitted to include all these values in
our enum.
Upon further investigation we realized that these values were not being returned
by the platform and needed to be removed from our ConnectErrorCode enum.
This patch reverts the changes in http://crrev.com/1464443002 which means:
1. Removing the values from the enum
2. Changing all clients' switch statements that used the enum
3. Fixing test that used these values
4. Removing strings that described these errors
Also http://crrev.com/1464443002 broke a test this patch also fixes that test.
[1] https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html
BUG=598341
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
ortuno
Description was changed from ========== bluetooth: Clean up connection error messages Android documentation is incomplete ...
3 years, 9 months ago
(2017-03-08 01:45:19 UTC)
#20
Description was changed from
==========
bluetooth: Clean up connection error messages
Android documentation is incomplete when it comes to connection error codes,
which led us to believe that all values documented here[1] could be returned
by the platform. We opened http://crbug.com/531058 to include all these values
in our ConnectErrorCode enum.
http://crrev.com/1464443002 was then submitted to include all these values in
our enum.
Upon further investigation we realized that these values were not being returned
by the platform and needed to be removed from our ConnectErrorCode enum.
This patch reverts the changes in http://crrev.com/1464443002 which means:
1. Removing the values from the enum
2. Changing all clients' switch statements that used the enum
3. Fixing test that used these values
4. Removing strings that described these errors
Also http://crrev.com/1464443002 broke a test this patch also fixes that test.
[1] https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html
BUG=598341
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
bluetooth: Clean up connection error messages
Android documentation is incomplete when it comes to connection error codes,
which led us to believe that all values documented here[1] could be returned
by the platform. We opened http://crbug.com/531058 to include all these values
in our ConnectErrorCode enum.
http://crrev.com/1464443002 was then submitted to include all these values in
our enum.
Upon further investigation we realized that these values were not being returned
by the platform and needed to be removed from our ConnectErrorCode enum.
This patch reverts the changes in http://crrev.com/1464443002 which means:
1. Removing the values from the enum
2. Changing all clients' switch statements that used the enum
3. Fixing test that used these values
4. Removing strings that described these errors
Also http://crrev.com/1464443002 broke a test this patch also fixes that test.
[1] https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html
BUG=598341, 578191
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
ortuno
> Improve the description some to clarify how these enums are changing a bit -- ...
3 years, 9 months ago
(2017-03-08 01:46:10 UTC)
#21
Thanks! https://codereview.chromium.org/2727683003/diff/60001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h (right): https://codereview.chromium.org/2727683003/diff/60001/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h#newcode837 content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h:837: // errorUUID(alias) returns a UUID with the top ...
3 years, 9 months ago
(2017-03-08 02:36:09 UTC)
#24
Thanks!
https://codereview.chromium.org/2727683003/diff/60001/content/shell/browser/l...
File content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h
(right):
https://codereview.chromium.org/2727683003/diff/60001/content/shell/browser/l...
content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h:837:
// errorUUID(alias) returns a UUID with the top 32 bits of
On 2017/03/08 01:46:10, ortuno wrote:
> On 2017/03/07 at 06:20:22, scheib wrote:
> > Why are we removing connectErrorUUID? I'll read further and perhaps find out
> -- but it was a much more stable way of referring to these UUIDs. (Though, I'm
> looking forward to programatic tests fixing this and making it obsolete).
>
> There were actually no calls to connectErrorUUID D: so I just removed it. I
> could change the fake adapter to use it instead but it seemed unnecessary
since
> as you said we are moving to programatic tests. I don't feel strongly about
this
> so happy to change if you think we should use connectErrorUUID.
OK, wonder where they went. ;) It was certainly a better pattern (stable IDs,
not needing to reshuffle tests and c++ in parallel). OK to drop it. Once we get
to upstreaming tests it won't be feasible to change IDs easily - so the current
pattern needs to die before that.
https://codereview.chromium.org/2727683003/diff/60001/tools/metrics/histogram...
File tools/metrics/histograms/histograms.xml (right):
https://codereview.chromium.org/2727683003/diff/60001/tools/metrics/histogram...
tools/metrics/histograms/histograms.xml:111618: + <int value="10"
label="(Obsolete) Invalid Attribute Length"/>
On 2017/03/08 01:46:10, ortuno wrote:
> On 2017/03/07 at 06:20:22, scheib wrote:
> > Where are these being reported from --- do we need to preserve the old
> histogram value mapping? The bluetooth_device.h change doesn't:
> >
>
https://codereview.chromium.org/2727683003/diff/60001/device/bluetooth/blueto...
>
> These are coming from connectGATT's outcome[1]. We have no instances[2] of any
> of these values being reported so I think it's safe to remove them from the
enum
> and the histogram.
>
> Done.
>
> [1]
>
https://cs.chromium.org/chromium/src/content/browser/bluetooth/bluetooth_metr...
>
> [2]
>
https://uma.googleplex.com/p/chrome/timeline_v2/?sid=292d822142f075ead13389b4...
OK. You can see if metrics folk will let that fly, might get hung up.
scheib
lgtm
3 years, 9 months ago
(2017-03-08 02:36:20 UTC)
#25
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/402465)
3 years, 9 months ago
(2017-03-08 02:54:07 UTC)
#30
The patchset sent to the CQ was uploaded after l-g-t-m from rockot@chromium.org, stevenjb@chromium.org, isherman@chromium.org, dcheng@chromium.org, ...
3 years, 9 months ago
(2017-03-09 02:21:39 UTC)
#37
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/379875) linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 9 months ago
(2017-03-09 02:56:39 UTC)
#40
CQ is committing da patch. Bot data: {"patchset_id": 100001, "attempt_start_ts": 1489457270616630, "parent_rev": "f8048e8c5f723bd7959a2b2faebead9d47a9c0da", "commit_rev": "9187d13054b869580045f81d8d55f84c6cf150fa"}
3 years, 9 months ago
(2017-03-14 03:47:13 UTC)
#43
CQ is committing da patch.
Bot data: {"patchset_id": 100001, "attempt_start_ts": 1489457270616630,
"parent_rev": "f8048e8c5f723bd7959a2b2faebead9d47a9c0da", "commit_rev":
"9187d13054b869580045f81d8d55f84c6cf150fa"}
commit-bot: I haz the power
Description was changed from ========== bluetooth: Clean up connection error messages Android documentation is incomplete ...
3 years, 9 months ago
(2017-03-14 03:47:54 UTC)
#44
Message was sent while issue was closed.
Description was changed from
==========
bluetooth: Clean up connection error messages
Android documentation is incomplete when it comes to connection error codes,
which led us to believe that all values documented here[1] could be returned
by the platform. We opened http://crbug.com/531058 to include all these values
in our ConnectErrorCode enum.
http://crrev.com/1464443002 was then submitted to include all these values in
our enum.
Upon further investigation we realized that these values were not being returned
by the platform and needed to be removed from our ConnectErrorCode enum.
This patch reverts the changes in http://crrev.com/1464443002 which means:
1. Removing the values from the enum
2. Changing all clients' switch statements that used the enum
3. Fixing test that used these values
4. Removing strings that described these errors
Also http://crrev.com/1464443002 broke a test this patch also fixes that test.
[1] https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html
BUG=598341, 578191
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
==========
to
==========
bluetooth: Clean up connection error messages
Android documentation is incomplete when it comes to connection error codes,
which led us to believe that all values documented here[1] could be returned
by the platform. We opened http://crbug.com/531058 to include all these values
in our ConnectErrorCode enum.
http://crrev.com/1464443002 was then submitted to include all these values in
our enum.
Upon further investigation we realized that these values were not being returned
by the platform and needed to be removed from our ConnectErrorCode enum.
This patch reverts the changes in http://crrev.com/1464443002 which means:
1. Removing the values from the enum
2. Changing all clients' switch statements that used the enum
3. Fixing test that used these values
4. Removing strings that described these errors
Also http://crrev.com/1464443002 broke a test this patch also fixes that test.
[1] https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html
BUG=598341, 578191
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2727683003
Cr-Commit-Position: refs/heads/master@{#456617}
Committed:
https://chromium.googlesource.com/chromium/src/+/9187d13054b869580045f81d8d55...
==========
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/9187d13054b869580045f81d8d55f84c6cf150fa
3 years, 9 months ago
(2017-03-14 03:47:56 UTC)
#45
Issue 2727683003: bluetooth: Clean up connection errors
(Closed)
Created 3 years, 9 months ago by ortuno
Modified 3 years, 9 months ago
Reviewers: Ken Rockot(use gerrit already), dcheng, Ilya Sherman, scheib, stevenjb
Base URL:
Comments: 10