New issue
Advanced search Search tips

Issue 703912 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Upgrade client.pdfium + tryserver.client.pdfium mac bots to 10.12

Project Member Reported by erikc...@chromium.org, Mar 22 2017

Issue description

Quoting dba:

"""
So I've started going through the bots you've noted on the spreadsheet as ones to upgrade, I ran into issues with the client.pdifum ones:

https://uberchromegw.corp.google.com/i/client.pdfium/builders/mac_xfa_rel/builds/1188/steps/embeddertests/logs/stdio
https://uberchromegw.corp.google.com/i/client.pdfium/builders/mac_no_v8/builds/2153/steps/embeddertests/logs/stdio
https://uberchromegw.corp.google.com/i/client.pdfium/builders/mac/builds/2995/steps/embeddertests/logs/stdio

I reverted the bots (vm24-m3 vm25-m3 vm635-m3) back to 10.9.5 for now. Looks like some md5sums of sorts need to be updated?
"""

"""
[ RUN      ] FPDFEditEmbeddertest.PathOnTopOfText
../../testing/embedder_test.cpp:355: Failure
Value of: CRYPT_ToBase16(digest)
  Actual: "f9e6fa74230f234286bfcada9f7606d8"
Expected: expected_md5sum
Which is: "2f7c0deee10a9490538e195af64beb67"
[  FAILED  ] FPDFEditEmbeddertest.PathOnTopOfText (20 ms)
[ RUN      ] FPDFEditEmbeddertest.AddStrokedPaths
[       OK ] FPDFEditEmbeddertest.AddStrokedPaths (18 ms)
[ RUN      ] FPDFEditEmbeddertest.AddStandardFontText
../../testing/embedder_test.cpp:355: Failure
Value of: CRYPT_ToBase16(digest)
  Actual: "a4dddc1a3930fa694bbff9789dab4161"
Expected: expected_md5sum
Which is: "e19c90395d73cb9f37a6c3b0e8b18a9e"
../../testing/embedder_test.cpp:355: Failure
Value of: CRYPT_ToBase16(digest)
  Actual: "a5c4ace4c6f27644094813fe1441a21c"
Expected: expected_md5sum
Which is: "8e1c43dca6be68d364dbc283f5521041"
../../testing/embedder_test.cpp:355: Failure
Value of: CRYPT_ToBase16(digest)
  Actual: "40b3ef04f915ff4c4208948001763544"
Expected: expected_md5sum
Which is: "c6e5df448428793c7e4b0c820bd8c85e"
[  FAILED  ] FPDFEditEmbeddertest.AddStandardFontText (33 ms)
"""

Has anyone tried running these tests on macOS 10.12? 

Does pdfium use its own toolchain? Can we skip it for the Chromium toolchain upgrade?
https://bugs.chromium.org/p/chromium/issues/detail?id=624049
 
Cc: npm@chromium.org dsinclair@chromium.org
We've definitely had failures in pixel-based tests between different Macs. I can try my Mac and see if this particular issue happens.
It turns out I haven't used my Mac in several months and it's broken in many ways. It's also not running 10.12, so I'm not very helpful here.
Cc: -npm@chromium.org
Owner: npm@chromium.org
Status: Assigned (was: Available)
npm@ these looks like the tests you've been adding. Can you build on 10.12 on your mac and get new digest numbers for them?

I guess we'll need to do something smart in the test to ifdef on the version of mac we're dealing with? Or we'll need to do the upgrade at the same time the hashes are committed.
Project Member

Comment 4 by bugdroid1@chromium.org, Mar 22 2017

The following revision refers to this bug:
  https://pdfium.googlesource.com/pdfium/+/5bcd9a32232e8cd5df918104eb131be76f833701

commit 5bcd9a32232e8cd5df918104eb131be76f833701
Author: Nicolas Pena <npm@chromium.org>
Date: Wed Mar 22 15:35:34 2017

Fix Mac tests on 10.12

md5's with text are changed, so need to allow both the previous and the new one.
Pixel tests with text also fail on 10.12, so suppressing those.
Found many unexpected successes, so will unsuppress those once all bots are 10.12

BUG= chromium:703912 

Change-Id: I6b34aa2f581eb8ea705f3876960b49c89e249347
Reviewed-on: https://pdfium-review.googlesource.com/3144
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>

[modify] https://crrev.com/5bcd9a32232e8cd5df918104eb131be76f833701/testing/embedder_test.cpp
[modify] https://crrev.com/5bcd9a32232e8cd5df918104eb131be76f833701/testing/SUPPRESSIONS
[modify] https://crrev.com/5bcd9a32232e8cd5df918104eb131be76f833701/fpdfsdk/fpdfedit_embeddertest.cpp
[modify] https://crrev.com/5bcd9a32232e8cd5df918104eb131be76f833701/testing/embedder_test.h

Project Member

Comment 5 by bugdroid1@chromium.org, Mar 22 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a120e2da4ebe4db41406b7b1477d2575afc2eb20

commit a120e2da4ebe4db41406b7b1477d2575afc2eb20
Author: pdfium-deps-roller <pdfium-deps-roller@chromium.org>
Date: Wed Mar 22 16:45:18 2017

Roll src/third_party/pdfium/ 742fa8c3b..5bcd9a322 (1 commit)

https://pdfium.googlesource.com/pdfium.git/+log/742fa8c3b39f..5bcd9a32232e

$ git log 742fa8c3b..5bcd9a322 --date=short --no-merges --format='%ad %ae %s'
2017-03-22 npm Fix Mac tests on 10.12

Created with:
  roll-dep src/third_party/pdfium
BUG= 703912 

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, see:
http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls

TBR=dsinclair@chromium.org

Review-Url: https://codereview.chromium.org/2768823002
Cr-Commit-Position: refs/heads/master@{#458777}

[modify] https://crrev.com/a120e2da4ebe4db41406b7b1477d2575afc2eb20/DEPS

Comment 6 by npm@chromium.org, Mar 22 2017

Status: Fixed (was: Assigned)
Please reopen if you still get test failures on upgraded bots.
I upgraded my Mac and it's happy. So I hope the upgrade goes smoothly. Please let us know when the upgrade finishes, so we can remove the test expectations for 10.9.

Comment 9 by d...@chromium.org, Mar 24 2017

Cc: -d...@chromium.org npm@chromium.org
Components: Infra>Labs
Owner: d...@chromium.org
Status: Assigned (was: Fixed)
Summary: Upgrade client.pdfium + tryserver.client.pdfium mac bots to 10.12 (was: client.pdifum errors when upgrading to macOS 10.12.)
I can do them at the same time. I'll just track the updates here seeing as all the interested parties are already on this bug.

We have a master 10.12 upgrade bug (issue 659213), but I still need to create the child tickets to track upgrade process for the wider audiences. The main bug kind of a mess, and erikchen@ and I have just been corresponding via email as I've started doing some spot upgrades as tests now that we've been seemingly unblocked.
If you want to upgrade them soon, today even, please go ahead. I think it will be really helpful to have the developer machines and bots on the same version of OS X, as we have found differences in pixel tests due to the OS mismatch.

Comment 11 by d...@chromium.org, Mar 24 2017

Status: Started (was: Assigned)
I'll go ahead and start on this then.
Thanks. Hope it goes smoothly.

Comment 13 by d...@chromium.org, Mar 24 2017

vm{24,25,635}-m3 and vm{154,200}-m4 are all now 10.12. So far everything looks green.

Comment 14 by d...@chromium.org, Mar 27 2017

Status: Fixed (was: Started)
Still green over the weekend, gonna mark this as fixed.
Project Member

Comment 16 by bugdroid1@chromium.org, Mar 27 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/02177c7ab2602bac1fa9f2dfdc9421b70a4c3f46

commit 02177c7ab2602bac1fa9f2dfdc9421b70a4c3f46
Author: pdfium-deps-roller <pdfium-deps-roller@chromium.org>
Date: Mon Mar 27 17:06:01 2017

Roll src/third_party/pdfium/ 2977e1e34..0d6d1783e (6 commits)

https://pdfium.googlesource.com/pdfium.git/+log/2977e1e342a1..0d6d1783ed96

$ git log 2977e1e34..0d6d1783e --date=short --no-merges --format='%ad %ae %s'
2017-03-24 thestig Remove old test expectations after the Mac 10.12 upgrade.
2017-03-23 adenilson.cavalcanti Update to zlib 1.2.11
2017-03-24 caryclark fix new tab crash in skia clip stack
2017-03-24 tsepez kill another CFX_ArrayTemplate in cfde_txtedtengine.cpp
2017-03-24 tsepez Use std::vector in fxfa/app.
2017-03-24 stephana Ensure empty output directory to avoid duplicate upload

Created with:
  roll-dep src/third_party/pdfium
BUG= 703912 , 687631 , 704442 

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, see:
http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium#TOC-Failures-due-to-DEPS-rolls

TBR=dsinclair@chromium.org

Review-Url: https://codereview.chromium.org/2779673002
Cr-Commit-Position: refs/heads/master@{#459805}

[modify] https://crrev.com/02177c7ab2602bac1fa9f2dfdc9421b70a4c3f46/DEPS

Sign in to add a comment