Raku / ecosystem-unbitrot

Which modules are not installable?
https://perl6.github.io/ecosystem-unbitrot/
GNU General Public License v3.0
5 stars 4 forks source link

Data::StaticTable #576

Closed AlexDaniel closed 5 years ago

AlexDaniel commented 5 years ago

Module Data::StaticTable cannot be installed (AlwaysFail), perhaps it has some failing tests.

If you can't self-assign yourself or attach a label, please let us know on #perl6 channel on freenode or just leave a comment here. We will try to give you privileges as fast as possible.

Output:

===> Searching for: Data::StaticTable
===> Found: Data::StaticTable:ver<0.1.0>:auth<github:shinobi> [via Zef::Repository::Ecosystems<p6c>]
===> Fetching [OK]: Data::StaticTable:ver<0.1.0>:auth<github:shinobi> to /home/alex/Blin/data/zef-data/tmp/1551236207.8413.9262/Data-StaticTable.git
===> Extraction [OK]: Data::StaticTable to /home/alex/Blin/data/zef-data/store/Data-StaticTable.git
===> Testing: Data::StaticTable:ver<0.1.0>:auth<github:shinobi>
# == Basic tests ==
# A B   C   D   E   F   G   H   I   J
# ⋯ ⋯   ⋯   ⋯   ⋯   ⋯   ⋯   ⋯   ⋯   ⋯
# [1]   [2] [3] [4] [5] [6] [7] [8] [9] [10]    
# == Adding empty cells when data is not enough ==
# A B   C   D   E   F   G   H   I   J
# ⋯ ⋯   ⋯   ⋯   ⋯   ⋯   ⋯   ⋯   ⋯   ⋯
# [1]   [2] [3] [4] [5] [6] [7] [8] [9] [10]    
# [11]  [Any]   [Any]   [Any]   [Any]   [Any]   [Any]   [Any]   [Any]   [Any]   
# == Referencing individual cells ==
# Col1  Col2    Col3
# ⋯⋯⋯⋯  ⋯⋯⋯⋯    ⋯⋯⋯⋯
# [1]   [2] [3] 
# ["four"]  ["five"]    ["six"] 
# [Any] [Any]   ["NINE"]    
# == Reading cells, rows and columns ==
# A B   C
# ⋯ ⋯   ⋯
# [1]   [2] [3] 
# [4]   [5] [6] 
# [7]   [8] [9] 
# [10]  [11]    [12]    
# [13]  [14]    [15]    
# [16]  [17]    [18]    
# [19]  [20]    [21]    
# [22]  [23]    [24]    
# [25]  [26]    [27]    
# [28]  [29]    [30]    
# [31]  [32]    [33]    
# [34]  [35]    [36]    
# [37]  [38]    [39]    
# [40]  [41]    [42]    
# [43]  [44]    [45]    
# [46]  [47]    [48]    
# [49]  [50]    [51]    
# [52]  [53]    [54]    
# [55]  [56]    [57]    
# [58]  [59]    [60]    
# [61]  [62]    [63]    
# [64]  [65]    [66]    
# == Indexes, Generating a new table from a number (index) of rows ==
# UID   Type    Color   Price
# ⋯⋯⋯   ⋯⋯⋯⋯    ⋯⋯⋯⋯⋯   ⋯⋯⋯⋯⋯
# [1402]    ["Car"] ["white"]   [100]   
# [1403]    ["Car"] ["blue"]    [200]   
# [1404]    ["Boat"]    ["white"]   [3000]  
# Index based on Type:  {:Boat(Array[Data::StaticTable::Position].new(3)), :Car(Array[Data::StaticTable::Position].new(1, 2))}
# Index based on Color: {:blue(Array[Data::StaticTable::Position].new(2)), :white(Array[Data::StaticTable::Position].new(1, 3))}
# == Resulting StaticTable with only Color='white' ==
# UID   Type    Color   Price
# ⋯⋯⋯   ⋯⋯⋯⋯    ⋯⋯⋯⋯⋯   ⋯⋯⋯⋯⋯
# [1402]    ["Car"] ["white"]   [100]   
# [1404]    ["Boat"]    ["white"]   [3000]  
# == Complex cells and shaped arrays ==
# Attr  Dim1    Dim2    Dim3    Dim4
# ⋯⋯⋯⋯  ⋯⋯⋯⋯    ⋯⋯⋯⋯    ⋯⋯⋯⋯    ⋯⋯⋯⋯
# ["attribute-1"]   [1] [2] [3] ["D+"]  
# ["attribute-2"]   [4] [5] [6] ["B+"]  
# ["attribute-3"]   [7] [8] [9] ["A-"]  
# ["attribute-4"]   [$("ALPHA", "BETA", 3.0)]   [5] [6] ["A++"] 
# ["attribute-10"]  [0] [0] [0] ["Z"]   
# ["attribute-11"]  [-2..2] [Any]   [Any]   ["X"]   
# == Resulting StaticTable with only Dim2=5 ==
# Array[Data::StaticTable::Position].new(2, 4)
# Array[Data::StaticTable::Position].new(2, 4)
# Attr  Dim1    Dim2    Dim3    Dim4
# ⋯⋯⋯⋯  ⋯⋯⋯⋯    ⋯⋯⋯⋯    ⋯⋯⋯⋯    ⋯⋯⋯⋯
# ["attribute-2"]   [4] [5] [6] ["B+"]  
# ["attribute-4"]   [$("ALPHA", "BETA", 3.0)]   [5] [6] ["A++"] 
# == Shaped array ==
t/StaticTable-basic.t ............... ok
t/StaticTable-examples.t ............ ok
# == Extra features tests ==
# A B   C
# ⋯ ⋯   ⋯
# [1]   [2] [3] 
# [4]   [5] [6] 
# [7]   [8] [9] 
# == Serialization and EVAL test ==
# Data::StaticTable.new(Array[Str].new("A", "B", "C"), [1, 2, 3, 4, 5, 6, 7, 8, 9])
# == Comparison test ==
# == Filler tests ==
# A B   C
# ⋯ ⋯   ⋯
# [1]   [2] [3] 
# [4]   [5] [6] 
# [7]   ["N/A"] ["N/A"] 
# == 'take' using Int and Position types ==
t/StaticTable-extra.t ............... ok
# == Reading a sample file in a StaticTable ==
# == Populate StaticTable took : 0.0060403 secs. ==
# == Discarding rows with aggregation data ==
# == Creation of sub-StaticTable took : 0.0672263 secs. ==
# ==    Time per row : 0.00420164 secs. ==
# == Reading a big sample file in a StaticTable ==
# == File now in memory. Creating array ==
# == Data array created : 659412 total elements ==
# == Populate StaticTable took : 1.35523911 secs. ==
# == Total rows : 36634 ==
# == Sub-tables stress tests starting : 366 rowsets, 100 rows per set ... ==
# == Average : 0.00099703 secs. per row ==
# == Index speed ==
# == Index creation 'county' took : 3.8306698 secs. ==
# == Search with index (scored 0.0018) took : 0.016979 secs. ==
# == Search without index took : 2.8435 secs. ==
# == Index creation 'policyID' took : 4.30249765 secs. ==
# == Search with index (scored 1) took : 0.6565943 secs. ==
# == Search without index took : 3.4494252 secs. ==
# == Cloning ==
# == Cloning a big StaticTable took : 0.95111051 secs. ==
# == Comparison on a big StaticTable (might take a while...) ==
# == Comparing 2 big equal StaticTables took : 142.4670406 secs. ==
t/StaticTable-perf.t ................ ok
# == Testing indexes ==
# Attr  Dim1    Dim2    Dim3    Dim4
# ⋯⋯⋯⋯  ⋯⋯⋯⋯    ⋯⋯⋯⋯    ⋯⋯⋯⋯    ⋯⋯⋯⋯
# ["attribute-1"]   [1] [21]    [3] ["D+"]  
# ["attribute-2"]   [4] [51]    [6] ["B+"]  
# ["attribute-3"]   [7] [80]    [9] ["A-"]  
# ["attribute-4"]   [$("ALPHA", "BETA", 3.0)]   [5] [6] ["A++"] 
# ["attribute-10"]  [0] [0] [0] ["B+"]  
# ["attribute-11"]  [-2..2] [Any]   [Any]   ["B+"]  
# == Check indexes ==
# == Searching without index ==
# == Check different grep modes ==
# (4, 5, 6)
# [("attribute-4", $("ALPHA", "BETA", 3.0), 5, 6, "A++"), ("attribute-10", 0, 0, 0, "B+"), ("attribute-11", -2..2, Any, Any, "B+")]
# [{:Attr("attribute-4"), :Dim1($("ALPHA", "BETA", 3.0)), :Dim2(5), :Dim3(6), :Dim4("A++")}, {:Attr("attribute-10"), :Dim1(0), :Dim2(0), :Dim3(0), :Dim4("B+")}, {:Attr("attribute-11"), :Dim1(-2..2), :Dim2(Any), :Dim3(Any), :Dim4("B+")}]
# {"4" => $("attribute-4", $("ALPHA", "BETA", 3.0), 5, 6, "A++"), "5" => $("attribute-10", 0, 0, 0, "B+"), "6" => $("attribute-11", -2..2, Any, Any, "B+")}
# {"4" => ${:Attr("attribute-4"), :Dim1($("ALPHA", "BETA", 3.0)), :Dim2(5), :Dim3(6), :Dim4("A++")}, "5" => ${:Attr("attribute-10"), :Dim1(0), :Dim2(0), :Dim3(0), :Dim4("B+")}, "6" => ${:Attr("attribute-11"), :Dim1(-2..2), :Dim2(Any), :Dim3(Any), :Dim4("B+")}}
# == Create a new table from grep results of row numbers ==
# Attr  Dim1    Dim2    Dim3    Dim4
# ⋯⋯⋯⋯  ⋯⋯⋯⋯    ⋯⋯⋯⋯    ⋯⋯⋯⋯    ⋯⋯⋯⋯
# ["attribute-1"]   [1] [21]    [3] ["D+"]  
# ["attribute-4"]   [$("ALPHA", "BETA", 3.0)]   [5] [6] ["A++"] 
# ["attribute-2"]   [4] [51]    [6] ["B+"]  
# == Index creation at construction ==
# == Serialization and EVAL test ==
# Data::StaticTable::Query.new(Data::StaticTable.new(Array[Str].new("Attr", "Dim1", "Dim2", "Dim3", "Dim4"), ["attribute-1", 1, 21, 3, "D+", "attribute-2", 4, 51, 6, "B+"]), ["Dim2", "Dim1"])
# Failed test 'Can be serialized using .perl method'
# at t/StaticTable-query.t line 101
# Looks like you failed 1 test of 27
t/StaticTable-query.t ............... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/27 subtests 
# == Rowset constructor tests ==
# == First row is a header ==
# ONE   TWO THREE   FOUR
# ⋯⋯⋯   ⋯⋯⋯ ⋯⋯⋯⋯⋯   ⋯⋯⋯⋯
# [1]   [2] [3] [Any]   
# [1]   [2] [3] [4] 
# [1]   [2] [3] [4] 
# [1]   [$(2, 1)]   [Any]   [Any]   
# == First row is NOT a header ==
# A B   C   D   E
# ⋯ ⋯   ⋯   ⋯   ⋯
# ["ONE"]   ["TWO"] ["THREE"]   ["FOUR"]    [Any]   
# [1]   [2] [3] [Any]   [Any]   
# [1]   [2] [3] [4] [Any]   
# [1]   [2] [3] [4] [5] 
# [1]   [$(2, 1)]   [Any]   [Any]   [Any]   
# == Hash to StaticTable ==
# brand color   model   nOfDoors    year    airbags autopilot   ashtrays    battery-kWh
# ⋯⋯⋯⋯⋯ ⋯⋯⋯⋯⋯   ⋯⋯⋯⋯⋯   ⋯⋯⋯⋯⋯⋯⋯⋯    ⋯⋯⋯⋯    ⋯⋯⋯⋯⋯⋯⋯ ⋯⋯⋯⋯⋯⋯⋯⋯⋯   ⋯⋯⋯⋯⋯⋯⋯⋯    ⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯⋯
# ["Zubata"]    ["gray"]    ["Bronco XS"]   [5] [1970]  [Any]   [Any]   [4] [Any]   
# ["Atto"]  ["yellow"]  ["Star Hybrid"] [4] [2007]  [2] [Any]   [Any]   [Any]   
# ["Renu"]  ["yellow"]  ["City Ranger"] [4] [2018]  [8] ["OpenAI based"]    [Any]   [Any]   
# ["Astoni"]    ["blue"]    ["534-Z SPX"]   [2] [2018]  [4] ["Unknown"] [Any]   [75]    
# == Recovering discarded data ==
# == Rejected data by row ==
# {"3" => $[5]}
# == Rejected: rows that are not hashes ==
# [(10, 20),]
t/StaticTable-rowset-constructor.t .. ok

Test Summary Report
-------------------
t/StaticTable-query.t             (Wstat: 256 Tests: 27 Failed: 1)
  Failed test:  27
  Non-zero exit status: 1
Files=6, Tests=106, 222 wallclock secs ( 0.08 usr  0.01 sys + 182.05 cusr  1.35 csys = 183.49 CPU)
Result: FAIL
===> Testing [FAIL]: Data::StaticTable:ver<0.1.0>:auth<github:shinobi>
Failed to get passing tests, but continuing with --force-test
===> Installing: Data::StaticTable:ver<0.1.0>:auth<github:shinobi>
===> Install [OK] for Data::StaticTable:ver<0.1.0>:auth<github:shinobi>

Ping @shinobi

Previous ticket: #375

AlexDaniel commented 5 years ago

Issue: https://github.com/shinobi/Data-StaticTable/issues/4

AlexDaniel commented 5 years ago

Seems to be fixed now. I'll close this issue and we'll see if it gets recreated.