https://bugzilla.redhat.com/show_bug.cgi?id=1455782

            Bug ID: 1455782
           Summary: perl-SQL-Translator-0.11021-7.fc27 FTBFS: t/23json.t
                    test fails
           Product: Fedora
           Version: rawhide
         Component: perl-SQL-Translator
          Assignee: jples...@redhat.com
          Reporter: ppi...@redhat.com
        QA Contact: extras...@fedoraproject.org
                CC: iarn...@gmail.com, jples...@redhat.com,
                    perl-devel@lists.fedoraproject.org



perl-SQL-Translator-0.11021-7.fc27 fails to build in F27 bacause a test fails:

t/20format_X_name.t ..................... ok
#   Failed test 'JSON matches expected'
# 
#   at t/23json.t line 305.
# 
#
+----+---------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
# |  Ln|Got                                                                    
                                                                               
       |Expected                                                               
                                                                               
       |
#
+----+---------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
# |   1|'{                                                                     
                                                                               
       |'{                                                                     
                                                                               
       |
# |   2|   "schema" : {                                                        
                                                                               
       |   "schema" : {                                                        
                                                                               
       |
# |   3|      "procedures" : {},                                               
                                                                               
       |      "procedures" : {},                                               
                                                                               
       |
# |   4|      "tables" : {                                                     
                                                                               
       |      "tables" : {                                                     
                                                                               
       |
# |   5|         "person" : {                                                  
                                                                               
       |         "person" : {                                                  
                                                                               
       |
# |   6|            "constraints" : [                                          
                                                                               
       |            "constraints" : [                                          
                                                                               
       |
# |   7|               {                                                       
                                                                               
       |               {                                                       
                                                                               
       |
# |   8|                  "deferrable" : 1,                                    
                                                                               
       |                  "deferrable" : 1,                                    
                                                                               
       |
# |   9|                  "expression" : "",                                   
                                                                               
       |                  "expression" : "",                                   
                                                                               
       |
# |  10|                  "fields" : [                                         
                                                                               
       |                  "fields" : [                                         
                                                                               
       |
# |  11|                     "person_id"                                       
                                                                               
       |                     "person_id"                                       
                                                                               
       |
# |  12|                  ],                                                   
                                                                               
       |                  ],                                                   
                                                                               
       |
# |  13|                  "match_type" : "",                                   
                                                                               
       |                  "match_type" : "",                                   
                                                                               
       |
# |  14|                  "name" : "",                                         
                                                                               
       |                  "name" : "",                                         
                                                                               
       |
# |  15|                  "on_delete" : "",                                    
                                                                               
       |                  "on_delete" : "",                                    
                                                                               
       |
# |  16|                  "on_update" : "",                                    
                                                                               
       |                  "on_update" : "",                                    
                                                                               
       |
# |  17|                  "options" : [],                                      
                                                                               
       |                  "options" : [],                                      
                                                                               
       |
# |  18|                  "reference_fields" : [],                             
                                                                               
       |                  "reference_fields" : [],                             
                                                                               
       |
# |  19|                  "reference_table" : "",                              
                                                                               
       |                  "reference_table" : "",                              
                                                                               
       |
# |  20|                  "type" : "PRIMARY KEY"                               
                                                                               
       |                  "type" : "PRIMARY KEY"                               
                                                                               
       |
# |  21|               },                                                      
                                                                               
       |               },                                                      
                                                                               
       |
# |  22|               {                                                       
                                                                               
       |               {                                                       
                                                                               
       |
# |  23|                  "deferrable" : 1,                                    
                                                                               
       |                  "deferrable" : 1,                                    
                                                                               
       |
# |  24|                  "expression" : "",                                   
                                                                               
       |                  "expression" : "",                                   
                                                                               
       |
# |  25|                  "fields" : [                                         
                                                                               
       |                  "fields" : [                                         
                                                                               
       |
# |  26|                     "name"                                            
                                                                               
       |                     "name"                                            
                                                                               
       |
# |  27|                  ],                                                   
                                                                               
       |                  ],                                                   
                                                                               
       |
# |  28|                  "match_type" : "",                                   
                                                                               
       |                  "match_type" : "",                                   
                                                                               
       |
# |  29|                  "name" : "u_name",                                   
                                                                               
       |                  "name" : "u_name",                                   
                                                                               
       |
# |  30|                  "on_delete" : "",                                    
                                                                               
       |                  "on_delete" : "",                                    
                                                                               
       |
# |  31|                  "on_update" : "",                                    
                                                                               
       |                  "on_update" : "",                                    
                                                                               
       |
# |  32|                  "options" : [],                                      
                                                                               
       |                  "options" : [],                                      
                                                                               
       |
# |  33|                  "reference_fields" : [],                             
                                                                               
       |                  "reference_fields" : [],                             
                                                                               
       |
# |  34|                  "reference_table" : "",                              
                                                                               
       |                  "reference_table" : "",                              
                                                                               
       |
# |  35|                  "type" : "UNIQUE"                                    
                                                                               
       |                  "type" : "UNIQUE"                                    
                                                                               
       |
# |  36|               }                                                       
                                                                               
       |               }                                                       
                                                                               
       |
# |  37|            ],                                                         
                                                                               
       |            ],                                                         
                                                                               
       |
# |  38|            "fields" : {                                               
                                                                               
       |            "fields" : {                                               
                                                                               
       |
# |  39|               "age" : {                                               
                                                                               
       |               "age" : {                                               
                                                                               
       |
# |  40|                  "data_type" : "integer",                             
                                                                               
       |                  "data_type" : "integer",                             
                                                                               
       |
# |  41|                  "default_value" : null,                              
                                                                               
       |                  "default_value" : null,                              
                                                                               
       |
# |  42|                  "is_nullable" : 1,                                   
                                                                               
       |                  "is_nullable" : 1,                                   
                                                                               
       |
# |  43|                  "is_primary_key" : 0,                                
                                                                               
       |                  "is_primary_key" : 0,                                
                                                                               
       |
# |  44|                  "is_unique" : 0,                                     
                                                                               
       |                  "is_unique" : 0,                                     
                                                                               
       |
# |  45|                  "name" : "age",                                      
                                                                               
       |                  "name" : "age",                                      
                                                                               
       |
# *  46|                  "order" : 3,                                         
                                                                               
       |                  "order" : "3",                                       
                                                                               
       *
[...] 
t/23json.t .............................. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests 
# Looks like you failed 1 test of 2.

This is caused by upgrading perl-JSON-PP from 2.27400-5.fc26 to 1.6.5-7.fc27.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to