Opened 3 years ago

Closed 3 years ago

#2480 closed defect (fixed)

systemtest fails on centos 7 nightly package

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

Description

When I run the systemtest on rasdaman installed from nightly package, one test fails. Test output is attached.

run_test.sh: Running test testcases_services/test_oapi/test.sh

test.sh: starting test at Thu Jul 29 04:45:26 UTC 2021
test.sh:
test.sh: Testing service: oapi

test.sh:          0s   data preparation

test.sh:   1/8    OK   .17s   1-wcps
test.sh:   2/8  FAIL  1.57s   2-collections_filter
test.sh:   3/8    OK   .07s   3-collections_coverage_information
test.sh:   4/8    OK   .16s   4-collections_coverage_get_whole_coverage
test.sh:   5/8    OK   .18s   5-collections_coverage_get_subset_and_output
test.sh:   6/8    OK   .08s   6-collections_coverage_get_domain_set
test.sh:   7/8    OK   .07s   7-collections_coverage_get_range_type
test.sh:   8/8    OK   .13s   8-collections_coverage_get_range_set
test.sh:
test.sh: -------------------------------------------------------
test.sh: Test summary for oapi
test.sh:
test.sh:   Test finished at: Thu Jul 29 04:45:28 UTC 2021
test.sh:   Elapsed time    : 2.82s
test.sh:   Total tests run : 8
test.sh:   Successful tests: 7
test.sh:   Failed tests    : 1
test.sh:   Detail test log : /opt/rasdaman/source/systemtest/testcases_services/test_oapi/test.log
test.sh: -------------------------------------------------------

Attachments (1)

2-collections_filter.out (9.1 KB ) - added by Dimitar Misev 3 years ago.

Download all attachments as: .zip

Change History (7)

by Dimitar Misev, 3 years ago

Attachment: 2-collections_filter.out added

comment:1 by Bang Pham Huu, 3 years ago

How did you run the test?

In your test.out it has AverageTemperature coverage imported by petascope_insertdemo.sh which doesn't exist from rasdaman/systemtest/testcases_services/test_all_wcst_import/testdata

comment:2 by Dimitar Misev, 3 years ago

I installed the nightly package and then run the systemtest. The package installation inserts the demo coverages.

The test should be fixed to account for this I guess.

comment:3 by Dimitar Misev, 3 years ago

Quick solution with jq:

jq ".collections | map(select(.id | startswith(\"test_\")))" \
   2-collections_filter.out

This can be put into a check.sh script which processes the output to keep only the collection objects with "id" starting with "test_".

If jq is not installed on the system then the check.sh script just copies the output.

comment:4 by Dimitar Misev, 3 years ago

Priority: majorcritical

comment:5 by Dimitar Misev, 3 years ago

Another one fails on centos7 as well now:

test.sh: 249/267  FAIL   .15s   202-describe_coverage_non_ascii_characters_in_metadata.kvp

comment:6 by Bang Pham Huu, 3 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.