BUG: Force 64-bit storage for xdr file offsets#2024
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #2024 +/- ##
===========================================
+ Coverage 88.45% 88.47% +0.02%
===========================================
Files 143 143
Lines 17223 17247 +24
Branches 2637 2641 +4
===========================================
+ Hits 15234 15260 +26
+ Misses 1389 1387 -2
Partials 600 600
Continue to review full report at Codecov.
|
|
There's something alarming about Windows tests in dev branch (the appveyor merge test) -- someone must have merged something without checking the total failure count on Appveyor. I'm not really sure what to do about this, but I can't outpace the rate of breakage from multiple devs if we don't prevent that somehow. |
|
From the |
|
@tylerjereddy See #2025 for that particular spike in AppVeyor errors. Could we have the AppVeyor build fail if the number of errors is above a given threshold? We can then manually debump the threshold every time a PR fixes a windows failure until the threshold becomes 0. This way, we get a red status which makes AppVeyor much more difficult to ignore. |
|
If we pytest.mark the current failures as known failures we can then make
appveyor fail on failures
…On Sun, Aug 5, 2018 at 2:18 AM, Jonathan Barnoud ***@***.***> wrote:
@tylerjereddy <https://github.com/tylerjereddy> See #2025
<#2025> for that particular
spike in AppVeyor errors. Could we have the AppVeyor build fail if the
number of errors is above a given threshold? We can then manually debump
the threshold every time a PR fixes a windows failure until the threshold
becomes 0. This way, we get a red status which makes AppVeyor much more
difficult to ignore.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2024 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AI0jBxKVCq4DBBaEDCyNWXefNnKaDk0Hks5uNpxOgaJpZM4VvLaW>
.
|
|
Pytest.mark.xfail can even take a condition so the tests can be allowed to fail on windows only. Le 5 août 2018 4:01 PM, Richard Gowers <notifications@github.com> a écrit :If we pytest.mark the current failures as known failures we can then make
appveyor fail on failures
On Sun, Aug 5, 2018 at 2:18 AM, Jonathan Barnoud ***@***.***> wrote:
@tylerjereddy <https://github.com/tylerjereddy> See #2025
<#2025> for that particular
spike in AppVeyor errors. Could we have the AppVeyor build fail if the
number of errors is above a given threshold? We can then manually debump
the threshold every time a PR fixes a windows failure until the threshold
becomes 0. This way, we get a red status which makes AppVeyor much more
difficult to ignore.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2024 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AI0jBxKVCq4DBBaEDCyNWXefNnKaDk0Hks5uNpxOgaJpZM4VvLaW>
.
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
|
* Fixes Issue #2021 with Windows xdr large file offset handling * on the Windows platform xdr file offsets are now forced to use a 64-bit storage type so that, for example, file seeks beyond 4 GB are correctly reported
d196f8d to
fe792a1
Compare
|
I revised to add the preprocessor flag @jbarnoud requested; I didn't have success removing my type adjustments after adding that flag though (would have been nice if that worked). I've also rebased and force pushed: the appveyor merge AND branch tests should both show 11 total test failures (down from 13). There should also be 1 xfail & 9 errors on Windows; I'll look into xfail-tagging as discussed here in a separate PR as time permits. |
Fixes Issue BUG (windows): seeking over 4 GB on xdr formats #2021 with Windows xdr large file
offset handling; should reduce appveyor failure
count from
13->11if no new issuesrecently introduced in dev branch
on the Windows platform xdr file offsets are now
forced to use a 64-bit storage type so that, for example,
file seeks beyond 4 GB are correctly reported
Fixes #2021
There may be a better way to do this but
off64_twasn't being recognized on my Windows box despite including the type headers.