Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: Use info! instead of debug! #21391

Merged
merged 1 commit into from Aug 14, 2018
Merged

Conversation

@paulrouget
Copy link
Contributor

paulrouget commented Aug 13, 2018

Fix #21390

As explained in #21390, we are missing some important logs in release builds, and nightly is not available as a debug build for testers.

For the most important logs, let's use info instead of debug.


This change is Reviewable

@paulrouget paulrouget force-pushed the paulrouget:debug_to_info branch from 81fde06 to 1b74f7c Aug 13, 2018
@paulrouget paulrouget changed the title Use info instead of debug Android: Use info! instead of debug! Aug 13, 2018
@KiChjang
Copy link
Member

KiChjang commented Aug 13, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Aug 13, 2018

📌 Commit 1b74f7c has been approved by KiChjang

@highfive highfive assigned KiChjang and unassigned nox Aug 13, 2018
bors-servo added a commit that referenced this pull request Aug 13, 2018
Android: Use info! instead of debug!

Fix #21390

As explained in #21390, we are missing some important logs in release builds, and nightly is not available as a debug build for testers.

For the most important logs, let's use `info` instead of `debug`.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21391)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 13, 2018

Testing commit 1b74f7c with merge ab34802...

@paulrouget paulrouget force-pushed the paulrouget:debug_to_info branch from 1b74f7c to b11cdb4 Aug 13, 2018
@paulrouget
Copy link
Contributor Author

paulrouget commented Aug 13, 2018

I've added some gl logs.

@bors-servo r=KiChjang

@bors-servo
Copy link
Contributor

bors-servo commented Aug 13, 2018

📌 Commit b11cdb4 has been approved by KiChjang

@bors-servo
Copy link
Contributor

bors-servo commented Aug 13, 2018

Testing commit b11cdb4 with merge f2df6de...

bors-servo added a commit that referenced this pull request Aug 13, 2018
Android: Use info! instead of debug!

Fix #21390

As explained in #21390, we are missing some important logs in release builds, and nightly is not available as a debug build for testers.

For the most important logs, let's use `info` instead of `debug`.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21391)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 13, 2018

💔 Test failed - linux-rel-css

@jdm
Copy link
Member

jdm commented Aug 13, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Aug 13, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Aug 13, 2018

💔 Test failed - android-x86

@paulrouget
Copy link
Contributor Author

paulrouget commented Aug 14, 2018

@bors-servo r=KiChjang,SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Aug 14, 2018

💡 This pull request was already approved, no need to approve it again.

  • There's another pull request that is currently being tested, blocking this pull request: #21394
@bors-servo
Copy link
Contributor

bors-servo commented Aug 14, 2018

📌 Commit ce64bd3 has been approved by KiChjang,SimonSapin

@highfive highfive assigned KiChjang and unassigned SimonSapin Aug 14, 2018
@bors-servo
Copy link
Contributor

bors-servo commented Aug 14, 2018

Testing commit ce64bd3 with merge f5f2875...

bors-servo added a commit that referenced this pull request Aug 14, 2018
Android: Use info! instead of debug!

Fix #21390

As explained in #21390, we are missing some important logs in release builds, and nightly is not available as a debug build for testers.

For the most important logs, let's use `info` instead of `debug`.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21391)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 14, 2018

💔 Test failed - mac-rel-css1

@paulrouget
Copy link
Contributor Author

paulrouget commented Aug 14, 2018

@bors-servo retry

  • clang segfaulted?
@bors-servo
Copy link
Contributor

bors-servo commented Aug 14, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Aug 14, 2018

💔 Test failed - android-x86

@paulrouget
Copy link
Contributor Author

paulrouget commented Aug 14, 2018

So write() fails. But it works here.

@SimonSapin
Copy link
Member

SimonSapin commented Aug 14, 2018

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 11: ordinal not in range(128)

  File "/home/servo/buildbot/slave/android-x86/build/python/servo/testing_commands.py", line 592, in test_android_startup
    sys.stdout.write(line)
  File "/usr/lib/python2.7/codecs.py", line 369, in write
    data, consumed = self.encode(object, self.errors)

This shows that:

But as far as I remember, sys.stdout is supposed to be a byte stream on Python 2.x. (Only on 3.x is it a Unicode stream.) Is some other bit of code monkey-patching the sys module?

@paulrouget paulrouget force-pushed the paulrouget:debug_to_info branch from ce64bd3 to 5c7ef80 Aug 14, 2018
@paulrouget paulrouget force-pushed the paulrouget:debug_to_info branch from 5c7ef80 to bfb76f6 Aug 14, 2018
@paulrouget
Copy link
Contributor Author

paulrouget commented Aug 14, 2018

I'll file a specific issue for the utf8 error. For now, I'll remove the extra character from the logs.

@bors-servo r=KiChjang

@bors-servo
Copy link
Contributor

bors-servo commented Aug 14, 2018

📌 Commit bfb76f6 has been approved by KiChjang

@bors-servo
Copy link
Contributor

bors-servo commented Aug 14, 2018

Testing commit bfb76f6 with merge 9aaf730...

bors-servo added a commit that referenced this pull request Aug 14, 2018
Android: Use info! instead of debug!

Fix #21390

As explained in #21390, we are missing some important logs in release builds, and nightly is not available as a debug build for testers.

For the most important logs, let's use `info` instead of `debug`.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21391)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 14, 2018

@bors-servo bors-servo merged commit bfb76f6 into servo:master Aug 14, 2018
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

7 participants
You can’t perform that action at this time.