Bug 1115852
| Summary: | libgfapi-python client fails on creat and open functional tests | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Humble Chirammal <hchiramm> |
| Component: | libgfapi | Assignee: | bugs <bugs> |
| Status: | CLOSED EOL | QA Contact: | Sudhir D <sdharane> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.5.1 | CC: | bugs, thiago |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-17 15:57:04 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: | |||
Even-though I am not sure about the root cause, it will be worth checking this patch http://review.gluster.org/#/c/7999/ There is also a bug in glusterfs where glfs_open fails if we pass "O_CREAT" flag (https://bugzilla.redhat.com/show_bug.cgi?id=1102989) . test_create_file_already_exists() pass the same to libgfapi. It would be worth checking on the same. This bug is getting closed because the 3.5 is marked End-Of-Life. There will be no further updates to this version. Please open a new bug against a version that still receives bugfixes if you are still facing this issue in a more current release. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |
Description of problem: creat() and open() fails on test_create_file_already_exists & test_open_file_not_exist functional testing when defined via function prototype.. _glfs_creat = ctypes.CFUNCTYPE(ctypes.c_void_p, ctypes.c_void_p, ctypes.c_char_p, ctypes.c_int, cty pes.c_uint) (('glfs_creat', client)) _glfs_open = ctypes.CFUNCTYPE(ctypes.c_void_p, ctypes.c_void_p, ctypes.c_char_p, ctypes.c_int) (('glfs_open', client)) # noqa Version-Release number of selected component (if applicable): http://review.gluster.org/#/c/7805/ How reproducible: Run functional tests inside "tests" directory in the source after defining the function prototypes. Actual results: It fails to pass functional tests. Expected results: It should work when function prototypes are defined as shown in http://review.gluster.org/#/c/7805/