Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: disable flaky sanity checks #12637

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

Closed
wants to merge 1 commit into from
Closed

Conversation

mattip
Copy link
Member

@mattip mattip commented Jan 1, 2019

Adding 12 to the stress test for alignment is exposing bugs in the assert that the alignment is correct. PR #12626 is intended to fix the additional cases exposed in the stress test, but seems to have a problem:

  • it fixes the asserts where sizeof(npy_longdouble) == 16 and its alignment is 8
  • it breaks the asserts where sizeof(npy_longdouble) == 12 (32 bit linux) and its alignment is 4.

Note that the actual decision aligned/not aligned has not changed, only the asserts to check that everything is OK. Those asserts only fire when compiling with -UNDEBUG to undefine NDEBUG and allow the assert statements to work.

I propose we temporarily disable the asserts to allow work to continue, until #12626 can be merged.

@mattip
Copy link
Member Author

mattip commented Jan 1, 2019

Another "fix" would be to revert PR #12618

@charris
Copy link
Member

charris commented Jan 1, 2019

@ahaldane Comment?

@charris
Copy link
Member

charris commented Jan 1, 2019

@mattip Please label your PRs.

@charris
Copy link
Member

charris commented Jan 2, 2019

I'm going to wait a bit longer before acting on this. What happens if you simply remove the (i4,)*3 addition to the test?

@mattip
Copy link
Member Author

mattip commented Jan 2, 2019

What happens if you simply remove the (i4,)*3 addition to the test

That is an option, well actually reverting all of #12618 which added another test too. I would prefer to disable the flaky asserts since they are wrong, until #12626 can fix them.

@ahaldane
Copy link
Member

ahaldane commented Jan 2, 2019

Let my try to fix in the next few hours. If I'm not done go ahead and merge this for now so we can fix later.

@mattip
Copy link
Member Author

mattip commented Jan 3, 2019

Closing in favor of #12626

@mattip mattip closed this Jan 3, 2019
@mattip mattip deleted the remove-asserts branch January 3, 2019 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants