Opened 4 years ago

Closed 4 years ago

#2228 closed defect (invalid)

Some tests fail if numpy is installed

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: major Milestone: 10.0
Component: wcst_import Version: 9.8
Keywords: Cc:
Complexity: Medium

Description

If numpy is installed with pip, then some WCS/WCPS tests fail:

test.sh: 208/393  FAIL   .17s   234-3D_time_irr_fractional_time_ansidate_encode_csv.test
test.sh: 279/393  FAIL   .16s   308-encode_compound_crs_unix_time_gml.test
test.sh: 326/393  FAIL   .16s   355-time_coefficient_top_coverage_import_order_descending.test
test.sh: 327/393  FAIL   .16s   356-time_coefficients_bottom_coverage_import_order_descending.test
test.sh: 332/393  FAIL   .16s   361-time_coefficients_bottom_coverage_import_order_descending_1.test
test.sh: 339/393  FAIL   .15s   368-encode_custom_axis_labels.test
test.sh: -------------------------------------------------------
test.sh: Test summary for wcps
test.sh: 
test.sh:   Test finished at: Sun Feb  9 19:48:35 UTC 2020
test.sh:   Elapsed time    : 97.94s
test.sh:   Total tests run : 393
test.sh:   Successful tests: 383
test.sh:   Failed tests    : 6
test.sh:   Skipped tests   : 4
test.sh:   Detail test log : /opt/rasdaman/source/systemtest/testcases_services/test_wcps/test.log
test.sh: -------------------------------------------------------

test.sh: 150/240  FAIL   .13s   099-describe_netcdf_uomCode.kvp
test.sh: 205/240  FAIL   .13s   158-describe_coverage_append_prepend_irregular_coeffcients_on_coverage.kvp
test.sh: 206/240  FAIL   .13s   159-describe_coverage_import_order_descending_irregular_time_netcdf.kvp
test.sh: 219/240  FAIL   .13s   172-describe_deep_rain_coverage_auto_bands_axes_metadata.kvp
test.sh: 220/240  FAIL   .14s   173-describe_awi_axes_bands_metadata_override.kvp
test.sh: 225/240  FAIL   .13s   178-describe_coverage_netcdf_time_regular_resolution_7days.kvp
test.sh: 236/240  FAIL   .17s   189-get_coverage_irregular_axis_reversed_values.kvp
test.sh: 237/240  FAIL   .17s   190-get_coverage_irregular_axis_values.kvp
test.sh: -------------------------------------------------------
test.sh: Test summary for wcs
test.sh: 
test.sh:   Test finished at: Sun Feb  9 19:49:24 UTC 2020
test.sh:   Elapsed time    : 48.91s
test.sh:   Total tests run : 232
test.sh:   Successful tests: 220
test.sh:   Failed tests    : 8
test.sh:   Skipped tests   : 4
test.sh:   Detail test log : /opt/rasdaman/source/systemtest/testcases_services/test_wcs/test.log
test.sh: -------------------------------------------------------

 FAIL   98s  testcases_services/test_wcps/test.sh
 FAIL   49s  testcases_services/test_wcs/test.sh

Change History (2)

comment:1 by Bang Pham Huu, 4 years ago

I don't think it is related to Numpy. I always have Numpy installed with pip on my system. And a Python library can have effect on the results of petascope and rasdaman is surely not possible.

 pip show numpy
 Name: numpy
 Version: 1.13.3

comment:2 by Dimitar Misev, 4 years ago

Resolution: invalid
Status: newclosed

The problem was in conflict between regular numpy package and numpy installed with pip.

Note: See TracTickets for help on using tickets.