Ticket #583 (closed defect: fixed)

Opened 11 years ago

Last modified 7 years ago

daf_base test PropertySet_1 fails

Reported by: rowen Owned by: ktl
Priority: normal Milestone:
Component: daf_data Keywords:
Cc: Blocked By:
Blocking: Project: LSST
Version Number: 7091
How to repeat:

not applicable

Description

I just build daf_base trunk on a 64-bit linux (RHEL5) box and found that one test failed:

bash-3.2$ cat daf_base-trunk/tests/.tests/PropertySet_1.failed 
tests/PropertySet_1

Running 24 test cases...
unknown location(0): fatal error in "getScalar": std::exception: 0: lsst::daf::base::TypeMismatchException thrown at src/PropertySet.cc:238 in T lsst::daf::base::PropertySet::get(const std::string&) const [with T = long int]
0: Message: int64_t

tests/PropertySet_1.cc(51): last checkpoint
unknown location(0): fatal error in "resetScalar": std::exception: 0: lsst::daf::base::TypeMismatchException thrown at src/PropertySet.cc:238 in T lsst::daf::base::PropertySet::get(const std::string&) const [with T = long int]
0: Message: int64_t

tests/PropertySet_1.cc(79): last checkpoint
tests/PropertySet_1.cc(229): error in "typeOf": check ps.typeOf("int64_t") == typeid(int64_t) failed
unknown location(0): fatal error in "getAs": std::exception: 0: lsst::daf::base::TypeMismatchException thrown at src/PropertySet.cc:368 in int64_t lsst::daf::base::PropertySet::getAsInt64(const std::string&) const
0: Message: int64_t

tests/PropertySet_1.cc(460): last checkpoint

*** 4 failures detected in test suite "PropertySet_1"

The same test passes on my Mac.

Change History

comment:1 Changed 11 years ago by ktl

  • Status changed from new to assigned

This is a known problem with the test and long vs. long long on 64-bit machines. Can you check to see if [7094] fixes it?

comment:2 Changed 11 years ago by ktl

  • Status changed from assigned to needinfo
  • Owner changed from ktl to rowen

comment:3 Changed 11 years ago by rowen

  • Status changed from needinfo to assigned
  • Owner changed from rowen to ktl

svn 7094 fixed the problem! That may set a record for fast fixes.

comment:4 Changed 10 years ago by ktl

  • Status changed from assigned to closed
  • Resolution set to fixed

comment:5 Changed 7 years ago by robyn

  • Milestone DC3a Apps Framework deleted

Milestone DC3a Apps Framework deleted

Note: See TracTickets for help on using tickets.