Closed petersilva closed 2 years ago
so far... I have noticed that, while with the same config as static, the paths the flakey's poll is generating are wrong. Example:
022-10-07 06:53:58,941 [INFO] sarracenia.flowcb.log after_work noticed ok: /home/peter/sarra_devdocroot/sent_by_tsource2send/home/peter/sarra_devdocroot/sent_by_tsource2send/20200105/WXO-DD/bulletins/alphanumeric/20200105/CA/CWAO/03/CACN00_CWAO_042000__WXL_07612
between after_accept and after_work, the beginning of the path is getting doubled up (notice the two occurrences of sent_by_tsource2send in the path...) The doubled up path is what gets posted. This change in path between cache check and post make every file get added to the cache twice (once with each path), and posted twice (both with the wrong path). Mysteries:
the doubling of the path was because of an errant / the "directory" option started with // ... wondering if some path normalization would be good. That was one problem, but the tests still fail.
ok... I committed the fixes to sr3 from https://github.com/MetPX/sarracenia/issues/566 ... and while everything is fine on my laptop, all flakey and dyn tests fail on github... sigh... q_71 subscribe... strange.
OK... so flakey passes now, but dynamic is always failing, sometimes by 1 test, other times by 10...
flakey now reliably passes, problems with dynamic were unrelated, also flaky is posting very close to the right number (none missing or extra.)
the polls are reporting too many items and frequently exceeding tolerances, making it necessary to re-run the test. Need to identify the root cause. It does not look like a real problem, but some kind of testing artifact.... but it might be real.
the rest of flow tests seem to be ok. ( continuation of: https://github.com/MetPX/sarracenia/issues/407 )