Ticket #10745 (closed: fixed)

Opened 6 years ago

Last modified 5 years ago

Broken Python tests in Windows debug when run through ctest

Reported by: Martyn Gigg Owned by: Martyn Gigg
Priority: critical Milestone: Release 3.3
Component: Python Keywords:
Cc: Blocked By:
Blocking: Tester: Federico M Pouzols

Description

This was introduced in #10721.

The ENVIRONMENT property is set to the release directory and not debug.

Change History

comment:1 Changed 6 years ago by Martyn Gigg

  • Status changed from new to assigned

comment:2 Changed 6 years ago by Martyn Gigg

  • Status changed from assigned to inprogress

comment:3 Changed 6 years ago by Martyn Gigg

Fix Python tests in debug mode under Windows & ctest.

Refs #10745

Changeset: 9c5db81e8b20768bfa0cf952a16b888299473070

comment:4 Changed 6 years ago by Martyn Gigg

  • Status changed from inprogress to verify
  • Resolution set to fixed

This is being verified as pull request #96.

comment:5 Changed 6 years ago by Federico M Pouzols

The win7 debug build seems to be rolling, but last night's gave a few warnings and a couple of errors:

02:45:28 Python-[Warning] Failed to load plugin C : /Jenkins/workspace/develop_clean_win7_debug/Code/Mantid/Framework/PythonInterface/plugins/functions\DSFinterp1DFit.py. error : No module named _cephes [C:\Jenkins\workspace\develop_clean_win7_debug\build\docs\docs-test.vcxproj]

02:45:28 CUSTOMBUILD : SelectCellWithForm-[Notice] Form #25 error : 0.0218 Monoclinic C Lat Par: 14.1311 19.2473 8.6058 89.881 105.071 89.970 2260.14 [C:\Jenkins\workspace\develop_clean_win7_debug\build\docs\docs-test.vcxproj]

I'm also getting the '_cephes' module error in my test windoze builds.

comment:6 Changed 6 years ago by Martyn Gigg

  • Status changed from verify to verifying
  • Tester set to Martyn Gigg

comment:7 Changed 6 years ago by Martyn Gigg

  • Status changed from verifying to verify
  • Tester Martyn Gigg deleted

comment:8 Changed 6 years ago by Federico M Pouzols

  • Status changed from verify to verifying
  • Tester set to Federico M Pouzols

comment:9 Changed 6 years ago by Martyn Gigg

That is expected. Python in debug mode on Windows requires separately compiled libraries and we don't have all of scipy built in debug as it is hard to build. We have just enough to get by.

comment:10 Changed 6 years ago by Federico M Pouzols

develop_clean_win7 is running and has been finishing successfully for a few days (with just a few minor expected issues with some python tests).

comment:11 Changed 6 years ago by Federico M Pouzols

  • Status changed from verifying to closed

Merge pull request #96 from mantidproject/bugfix/10745_win_debug_python_tests

Fix Python tests in debug mode under Windows & ctest.

Full changeset: f121c8bb6c71a54775a72884040553a0f0aa3648

comment:12 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 11587

Note: See TracTickets for help on using tickets.