Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1562066

Summary: some eccodes tests fail on i686 causing a build failure.
Product: [Fedora] Fedora Reporter: Jos de Kloe <josdekloe>
Component: eccodesAssignee: Jos de Kloe <josdekloe>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: josdekloe
Target Milestone: ---Keywords: Tracking
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Bug Depends On:    
Bug Blocks: 179258    

Description Jos de Kloe 2018-03-29 13:08:10 UTC
Description of problem:

koji build fails for the eccodes package due to failures in the check section. 

Version-Release number of selected component (if applicable):

eccodes-2.7.0-1

How reproducible: always

Failing test cases are:
he following tests FAILED:
	 14 - eccodes_t_bufr_dump_encode_filter (Failed)
	 16 - eccodes_t_bufrdc_ref (Failed)
	 21 - eccodes_t_bufr_filter (Failed)
	 39 - eccodes_t_gts_get (Failed)
	 40 - eccodes_t_gts_ls (Failed)
	 41 - eccodes_t_gts_compare (Failed)
	 42 - eccodes_t_metar_ls (Failed)
	 43 - eccodes_t_metar_get (Failed)
	 44 - eccodes_t_metar_dump (Failed)
	 45 - eccodes_t_metar_compare (Failed)
	 48 - eccodes_t_sh_ieee64 (Child aborted)
	 91 - eccodes_t_bufr_dump_encode_fortran (Failed)
	 94 - eccodes_t_bufr_dump_encode_C (Failed)
	 96 - eccodes_t_bufr_dump_encode_python (Failed)
	182 - eccodes_p_grib_get_message_offset_test (Failed)
Errors while running CTest

for details see: https://koji.fedoraproject.org/koji/buildinfo?buildID=1061241

Comment 1 Jos de Kloe 2018-03-29 13:44:52 UTC
Note that the same tests fail on armv7hl, so the problem may be related.
see: https://bugzilla.redhat.com/show_bug.cgi?id=1562084

Comment 2 Jos de Kloe 2018-03-29 13:51:50 UTC
The gts and metar problems seem related.
They all end in the error "no message found in <file>" even though the file used for testing clearly contains data.
While trying to debug the eccodes_t_gts_get test case I could track the issue down to the file eccodes-2.7.0-Source/src/grib_io.c
function read_any_gts, line 893:

   r->read(r->read_data,buffer+already_read,message_size-already_read,&err);

This one returns with error code -1, but I have no idea why.

Comment 3 Jos de Kloe 2018-03-30 13:07:06 UTC
this issue has been reported upstream at:
https://software.ecmwf.int/issues/browse/SUP-2408

Comment 4 Jos de Kloe 2018-08-03 07:50:55 UTC
the problem remains after upgrading to eccodes 2.8.0

Comment 5 Jan Kurik 2018-08-14 10:08:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.