Bug 1586049
| Summary: | Beaker rejects non-numeric values for score with Internal Server Error: OperationalError: (OperationalError) (1366, "Incorrect decimal value: '' for column 'score' at row 1") | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Frantisek Sumsal <fsumsal> |
| Component: | general | Assignee: | Roman Joost <rjoost> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Roman Joost <rjoost> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 25 | CC: | asavkov, azelinka, bpeck, dcallagh, jblazek, jmckenzi, jstancek, mtyson, omejzlik, pbunyan, rjoost, szidek, vdanek |
| Target Milestone: | 25.5 | Keywords: | Patch, Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-08 23:27:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Comment 1
Jan Stancek
2018-06-05 14:00:33 UTC
comment 0 appears to be related to beakerlib BZ: Bug 1571784 - rstrnt-report-result is incompatible with beakerlib but set as command for reporting result task from comment 1 is not using beakerlib The root cause would be the cutover to Mariadb in our production Beaker instance yesterday. Mariadb runs with "strict mode" applied by default. We thought we had found all instances where we were violating the strict mode but this is obviously one we did not catch. We definitely need to fix Beaker to accept non-int values for score, for compatibility with the previous behaviour (I assume non-strict MySQL used to map these values to 0 -- need to verify this). The issues with restraint+beakerlib putting its arguments in the wrong order is indeed a separate issue, as noted by Jan: bug 1571784. *** Bug 1587970 has been marked as a duplicate of this bug. *** As noted on beaker-user-list, if you are affected by this bug because of restraint sending the wrong parameter as score, you can work around it by using a fixed version of restraint: <repos> <repo name="myharness" url="http://brew-task-repos.usersys.redhat.com/repos/scratch/bpeck/restraint/0.1.34/1.git.12.c32c83a.el7/x86_64/"/> </repos> Thanks to bpeck for building a patched version. *** Bug 1588737 has been marked as a duplicate of this bug. *** This was deployed to production this morning and should get all tests who have seen this issue going again. This was a Beaker bug, fixed in 25.5, not a bug in qa-tools-workstation (although a workaround may have been included in it). |