Open whitingjr opened 6 months ago
This is due to orphaned data in the db. The persisted json format occured when 0.10.4 was deployed. Now 0.10.7 is deployed the format can no longer be loaded. I will re-create my Experiment profile.
This is the record in experiment_profiles table. The runs being processed seem to cause the experiment service to fail.
id | name | test_id | selector_labels | selector_filter | baseline_labels | baseline_filter | extra_labels ---------+--------------------------------+---------+------------------------------+-----------------------------------+----------------------------+-----------------------------------+--------------
5363149 | some_comparison | 20 | ["foo"] | value => {return value === 2500;} | ["bar"] | value => {return value === 1888;} |
@whitingjr wrt the "Experiments" button missing, that button is hidden when there are no experiments defined. It would probably be better to grey out the button instead. Please can you open a separate issue for that?
The exception in this issue is also breaking export Test functionality for my Test. Other Tests are working as expected. Same error seen in the server log.
@whitingjr wrt the "Experiments" button missing, that button is hidden when there are no experiments defined. It would probably be better to grey out the button instead. Please can you open a separate issue for that? @johnaohara #1077
@whitingjr has the issue with the data been resolved, i.e. that lead to : Caused by: java.lang.IllegalArgumentException: Can not set com.fasterxml.jackson.databind.node.ObjectNode field io.hyperfoil.tools.horreum.entity.ExperimentComparisonDAO.config to com.fasterxml.jackson.databind.node.TextNode
Was there a PR opened to fix that?
I am re-opening the issue so that we do not lose track of this problem, if there is a PR that fixes it, please close with a reference to that PR
@johnaohara #1122
@whitingjr pr #1122 related to https://github.com/Hyperfoil/Horreum/issues/1077
This issue is a different issue
@johnaohara A fix was not added. Discussed elsewhere in a meeting. It was decided by @stalep and @johnaohara no code fix should be added. Instead the Experiment configuration was re-created.
I recollect that we needed to resolve the data issue in the database. A version populated the database with corrupt data, which needs resolving either by;
1 - A data fix applied in changelog.xml or 2 - Documentation of what the issue is and how to resolve it manually.
If a user experiences this problem, how do they resolve it?
@whitingjr my preference would be (1) ^
@johnaohara is there any point now that the data has already been re-created and we are unlikely to be rolling back Horreum that used the different type mapping ?
@johnaohara is there any point now that the data has already been re-created and we are unlikely to be rolling back Horreum that used the different type mapping ?
You are referring to a workaround implemented in one specific instance of Horreum running within one company
For users of this project, outside of our team, outside of Red Hat, how do they resolve the same problem?
In that case search for the row in the db. I then deleted the row. Then using the UI created the deleted Experiment Profile.
In that case search for the row in the db. I then deleted the row. Then using the UI created the deleted Experiment Profile.
That is the workaround that you used, but I would not expect users to have to do that.
Describe the bug
Loading a Dataset to inspect an Experiment outcomes not loading correctly. The Evaluate Experiments button missing as well.
The UI displays this message
The server shows these exceptions
This is seen using this path /run/23634#dataset0 on the system I use.
The cause of this error is likely due to missing data for particular runs. This happens when developing the test by adding new data and Labels.
Version