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

Hide windows x86 random failures on CI #1655

Merged
merged 12 commits into from
May 17, 2021
Merged

Hide windows x86 random failures on CI #1655

merged 12 commits into from
May 17, 2021

Conversation

piponazo
Copy link
Collaborator

@piponazo piponazo commented May 15, 2021

After few days investigating the random windows x86 failures on CI (see link), I decided to give up since I could not reproduce them locally.

Anyways, the investigation bringts some improvements that I list here:

  • CMake: remove some useless custom targets.
  • CMake: find python3 with cmake and use the executable found.
  • CMake: Change default debug compiler flags on MSVC to speed up buids (with /Ox /Zo).
  • Conan: use the latest expat 2.3.0 also on windows (do not use anymore the custom expat 2.2.6 I created a long time ago). With the usage of the conan cmake_find_package generator we can simplify few things.
  • Test tests/bugfixes/github/test_issue_1472.py was failing on windows without a bash terminal.
  • CI: Win Matrix builds also running on main on push events.

Finally I decided to not run the tests on windows x86 architectures to hide the failures. I think we do not lose too much since Windows x86 is marginal for Exiv2 and furthermore, I could not reproduce the failures locally.

@codecov
Copy link

codecov bot commented May 15, 2021

Codecov Report

Merging #1655 (035ce1c) into main (ee3b8d1) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1655   +/-   ##
=======================================
  Coverage   66.92%   66.92%           
=======================================
  Files         151      151           
  Lines       20807    20807           
=======================================
  Hits        13925    13925           
  Misses       6882     6882           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee3b8d1...035ce1c. Read the comment docs.

@neheb
Copy link
Collaborator

neheb commented May 15, 2021

I initially thought the initial loop conversion PR was the cause. But reverting it doesn't seem to do anything.

I don't have a MSVC setup either.

On CI, pythonTests fail more or less consistently in the configuration
Arch:x86, BuildType:Relase, Shared:ON. I tried to reproduce this locally,
but I could not.

Since Win-x86 is marginal for Exiv2, we disable it from CI until
somebody raise concerns about it.
The idea is to generate a conan cache on main that could be reused in
future PRs to main.
@piponazo piponazo requested review from kmilos, kevinbackhouse, hassec and neheb and removed request for kmilos May 16, 2021 20:21
@piponazo piponazo marked this pull request as ready for review May 16, 2021 20:28
@piponazo
Copy link
Collaborator Author

Note that I have updated the description with information about the changes done and the decision taken to not run the tests on Win x86.

@piponazo piponazo changed the title Draft - Investigating windows failures on CI Hide windows x86 random failures on CI May 16, 2021
@neheb
Copy link
Collaborator

neheb commented May 16, 2021

Works for me. x86 windows is a dying platform.

X86 Linux and BSD are already not a thing.

@piponazo piponazo merged commit 44256e8 into main May 17, 2021
@mergify mergify bot deleted the main-WindowsFailures branch May 17, 2021 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants