-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix integration tests #228
Conversation
I don't know how I missed the failures that are being fixed here in I cannot reproduce the |
You mean you want the reviewer to check that all the other ska_testr tests pass? |
This is a bit out of scope for the real issue here, but the
|
No, the reviewer should run the package unit tests for the PR and confirm they pass. |
The cheta unit tests take a little while to run, so it is common that during development I just run the ones in question. So it is credible that I forgot to do a final run of all tests. Process error so we need some new checkbox |
I checked out this PR and confirmed that unit tests (the full suite) passes locally on Mac. @javierggnnt or @jeanconn what are your results with running tests locally? (with |
I get the same failures on my mac. |
On my Mac:
|
On kady (in flight ska3):
|
Regarding "The cheta unit tests take a little while to run, so it is common that during development I just run the ones in question. So it is credible that I forgot to do a final run of all tests. Process error so we need some new checkbox" . I'm confused. So you think that you checked the box on one or both of the recent PRs that unit tests were done here when they weren't? I thought this was an integration test failure because of the interaction with maude. |
On fido I get the "test_fetch_derived_param_aliases" failure only if I run against the ska3-flight-installed maude. |
I still don't understand @javierggt's test failures. I get this pass on kady in eng_archive @ master, with my maude repo at current master:
|
[EDIT] |
I don't know what to say. I ran the test now and I do not see the test_fetch_derived_param_aliases fail. The failure I get in test_fetch_derived_param_aliases with the older maude is different. @jeanconn Are you getting the same failure? (len(d1) == 0) |
That is a possible process error. The tests that I was running passed but I might not have run all tests. At least that is the only way I can reconstruct seeing failures now (not the ailas ones, but the other two) which I clearly didn't see at the point of checking the box originally. |
Regarding "Are you getting the same failure? (len(d1) == 0)". I haven't seen that one. |
Exactly. The one in the automated tests and in my local copy is that one. The error with the previous maude is a different error. I ran the same code I posted above on ska3-masters on HEAD:
and now I got the same as Tom. Both times this was on HEAD, but different installations, because I have been changing things. In my machine with 2022.3rc1:
|
Current master of eng_archive requires a most recent version of |
"my machine" = your Mac? Maybe your cheta data archive is corrupted? |
It could be, but that is why I added the |
Just looking at
|
How about this one?
|
I don't know why the test_fetch_derived_param_aliases tests failed yesterday, but they pass now on HEAD with 2022.3rc1. They still fail in my mac (same failure I got on HEAD yesterday), but I will see if I can figure it out. |
Maybe we can just remove all the comments here and start again? For me, the first two tests were failing and this PR fixes them, so maybe we are done? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does indeed fix two failing integration tests and I independently confirmed that, so approving.
Description
The following integration tests are currently failing:
This PR fixes the first two, which come from changes in the maude package after version 3.9.0. They can also be "fixed" by downgrading maude.
The fixes in test_fetch_derived_param_aliases are still a bit of a mystery to me and do not seem to depend on maude. I did this, which is basically what the test does:
Then I looked into the time range:
but if I fetch around those times, the earlies/latest times are:
which I do not know how they relate to the time range above.
Testing
Fixes #