Ticket #2404 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Find out why PythonReductionTest often fails on Linux buildservers and fix it

Reported by: Russell Taylor Owned by: Mathieu Doucet
Priority: critical Milestone: Iteration 29
Component: Mantid Keywords:
Cc: Blocked By: #2663
Blocking: Tester: Nick Draper

Description

More often than not, the PythonReductionTest fails on the various Linux Hudson builds as follows:

AlgorithmManager-[Error] AlgorithmManager:: Unable to create algorithm EQSANSTofOffsetalgorithm not registered EQSANSTofOffset
MantidPython-[Notice] Error: Importing module "SNSPowderReduction" failed". AlgorithmManager:: Unable to create algorithm EQSANSTofOffset
AlgorithmManager-[Error] AlgorithmManager:: Unable to create algorithm EQSANSTofOffsetalgorithm not registered EQSANSTofOffset
MantidPython-[Notice] Error: Importing module "SNSSingleCrystalReduction" failed". AlgorithmManager:: Unable to create algorithm EQSANSTofOffset
AlgorithmManager-[Error] AlgorithmManager:: Unable to create algorithm EQSANSTofOffsetalgorithm not registered EQSANSTofOffset
MantidPython-[Notice] Error: Importing module "dgreduce" failed". AlgorithmManager:: Unable to create algorithm EQSANSTofOffset
AlgorithmManager-[Error] AlgorithmManager:: Unable to create algorithm EQSANSTofOffsetalgorithm not registered EQSANSTofOffset
MantidPython-[Notice] Error: Importing module "PearlMCAbsorbtion" failed". AlgorithmManager:: Unable to create algorithm EQSANSTofOffset
AlgorithmManager-[Error] AlgorithmManager:: Unable to create algorithm EQSANSTofOffsetalgorithm not registered EQSANSTofOffset
MantidPython-[Notice] Error: Importing module "FindSNSNeXus" failed". AlgorithmManager:: Unable to create algorithm EQSANSTofOffset
AlgorithmManager-[Error] AlgorithmManager:: Unable to create algorithm EQSANSTofOffsetalgorithm not registered EQSANSTofOffset
MantidPython-[Notice] Error: Importing module "EQSANSTransmission" failed". AlgorithmManager:: Unable to create algorithm EQSANSTofOffset
AlgorithmManager-[Error] AlgorithmManager:: Unable to create algorithm EQSANSTofOffsetalgorithm not registered EQSANSTofOffset
MantidPython-[Notice] Error: Importing module "EQSANSTofOffset" failed". AlgorithmManager:: Unable to create algorithm EQSANSTofOffset
AlgorithmManager-[Error] AlgorithmManager:: Unable to create algorithm EQSANSTofOffsetalgorithm not registered EQSANSTofOffset

Welcome to Mantid - Manipulation and Analysis Toolkit for Instrument Data

Traceback (most recent call last):
  File "/tmp/workspace/mantid_complete_ubuntu-10.10/Build/bin/PythonReductionTest.py", line 5, in <module>
    from PythonReductionTest.ReducerTest import *
  File "/tmp/workspace/mantid_complete_ubuntu-10.10/Build/bin/PythonReductionTest/ReducerTest.py", line 3, in <module>
    mtd.initialise()
  File "/tmp/workspace/mantid_complete_ubuntu-10.10/Build/bin/MantidFramework.py", line 824, in initialise
    self._importSimpleAPIToMain()     
  File "/tmp/workspace/mantid_complete_ubuntu-10.10/Build/bin/MantidFramework.py", line 863, in _importSimpleAPIToMain
    mod = __import__(simpleapi)
  File "/home/builder/.mantid/mantidsimple.py", line 1242, in <module>
    if execute:
RuntimeError: AlgorithmManager:: Unable to create algorithm EQSANSTofOffset

Change History

comment:1 Changed 10 years ago by Russell Taylor

(In [9449]) Disable PythonReductionTest. Having a test that fails more often than it passes is not helpful. Re #2404.

comment:2 Changed 10 years ago by Russell Taylor

  • Milestone changed from Iteration 27 to Iteration 28

comment:3 Changed 10 years ago by Nick Draper

  • Owner set to Mathieu Doucet
  • Status changed from new to assigned

comment:4 Changed 10 years ago by Mathieu Doucet

(In [9956]) Trying to fix python reduction test. Re #2404

comment:5 Changed 10 years ago by Mathieu Doucet

(In [9961]) Trying to fix python reduction test. Re #2404

comment:6 Changed 10 years ago by Mathieu Doucet

(In [9980]) Better error message... Re #2404

comment:7 Changed 10 years ago by Mathieu Doucet

(In [9981]) Better logging. Re #2404

comment:8 Changed 10 years ago by Mathieu Doucet

(In [9983]) Trying to fix python reduction test. Re #2404

comment:9 Changed 10 years ago by Mathieu Doucet

(In [9986]) Trying to fix python reduction test. Re #2404

comment:10 Changed 10 years ago by Mathieu Doucet

(In [9987]) Trying to fix python reduction test. Re #2404

comment:11 Changed 10 years ago by Mathieu Doucet

(In [9988]) Testing... Re #2404

comment:12 Changed 10 years ago by Mathieu Doucet

(In [9989]) Reverting unsuccessful changes. Re #2404

comment:13 Changed 10 years ago by Mathieu Doucet

(In [9993]) Delete log message. Re #2404

comment:14 Changed 10 years ago by Mathieu Doucet

(In [10063]) Giving up until we get rid of the chicken and egg problem between mantidsimple and MantidFramework. Re #2404

comment:15 Changed 10 years ago by Mathieu Doucet

  • Blocked By 2663 added

comment:16 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 28 to Iteration 29

Bulk move of tickets at the end of iteration 28

comment:17 Changed 9 years ago by Mathieu Doucet

  • Status changed from assigned to accepted

This should now work since #2663 has been fixed. The test has been re-enabled.

comment:18 Changed 9 years ago by Mathieu Doucet

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

comment:19 Changed 9 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

comment:20 Changed 9 years ago by Nick Draper

  • Status changed from verifying to closed

Checked in the code that the test is enabled.

checked history of test on Ornl_rhel6

comment:21 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3251

Note: See TracTickets for help on using tickets.