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 1099806

Summary: ncgen test failing on s390x
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: hdfAssignee: Orion Poplawski <orion>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jcajka, orion, pertusus, volker27
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: hdf-4.2.10-2.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-05-22 10:17:35 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:
Bug Depends On:    
Bug Blocks: 467765    
Attachments:
Description Flags
Patch fixing bug none

Description Dan Horák 2014-05-21 08:35:21 UTC
See below the output of the failing test, looks like a wrong conversion or overflow error

...
make[5]: Entering directory `/builddir/build/BUILD/hdf-4.2.10/mfhdf/ncgen'
============================
Testing testncgen.sh 
============================
testncgen.sh  Test Log
============================
=============================
Running ncgen tests
=============================
testncgen.sh: line 113: [: -ne: unary operator expected
*** test1.cdl	Wed May 21 08:02:54 2014
--- test2.cdl	Wed May 21 08:02:54 2014
***************
*** 50,56 ****
  
   cross =
    4, 5, 0.000244140625,
!   7, 8, 10000000000 ;
  
   i = 10, 20 ;
  
--- 50,56 ----
  
   cross =
    4, 5, 0.000244140625,
!   7, 8, 2147483647 ;
  
   i = 10, 20 ;
  
*** ncgen -b test failed ***
*** ncgen -c test successful ***
=============================
ncgen tests failed: 1
=============================


for full logs please see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1403901

Version-Release number of selected component (if applicable):
hdf-4.2.10-1.fc21

Comment 1 Jakub Čajka 2014-05-22 09:20:50 UTC
Created attachment 898297 [details]
Patch fixing bug

Added missing platform check to platform checking. 
Also enabled tests on ppc as they pass (BZ#961007).
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1853490