Skip to content

[BUG] Test fails from time to time #1607

Closed
@oesteban

Description

@oesteban

Very scarcely, a test on memory profiling fails this way (see below). Re-running the build in Travis fixes the problem in almost all the times.

======================================================================
FAIL: nipype.pipeline.plugins.tests.test_multiproc.test_do_not_use_more_memory_then_specified(False, True)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/miniconda/lib/python3.5/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/home/travis/miniconda/lib/python3.5/site-packages/numpy/testing/utils.py", line 379, in assert_equal
    raise AssertionError(msg)
AssertionError: 
Items are not equal:
 ACTUAL: False
 DESIRED: True
-------------------- >> begin captured logging << --------------------
workflow: INFO: ['check', 'execution', 'logging']
workflow: INFO: Running in parallel.
workflow: INFO: Executing: n1 ID: 0
callback: DEBUG: {"name": "n1", "estimated_memory_gb": 1, "start": "2016-09-08 17:03:00.480465", "num_threads": 1, "id": "n1"}
workflow: INFO: [Job finished] jobname: n1 jobid: 0
callback: DEBUG: {"name": "n1", "runtime_memory_gb": "Unknown", "num_threads": 1, "runtime_threads": "Unknown", "id": "n1", "estimated_memory_gb": 1, "finish": "2016-09-08 17:03:01.402406"}
workflow: INFO: Executing: n2 ID: 1
callback: DEBUG: {"name": "n2", "estimated_memory_gb": 1, "start": "2016-09-08 17:03:01.406857", "num_threads": 1, "id": "n2"}
workflow: INFO: Executing: n3 ID: 2
callback: DEBUG: {"name": "n3", "estimated_memory_gb": 1, "start": "2016-09-08 17:03:01.410650", "num_threads": 1, "id": "n3"}
workflow: INFO: [Job finished] jobname: n2 jobid: 1
callback: DEBUG: {"name": "n2", "runtime_memory_gb": "Unknown", "num_threads": 1, "runtime_threads": "Unknown", "id": "n2", "estimated_memory_gb": 1, "finish": "2016-09-08 17:03:02.021956"}
workflow: INFO: [Job finished] jobname: n3 jobid: 2
callback: DEBUG: {"name": "n3", "runtime_memory_gb": "Unknown", "num_threads": 1, "runtime_threads": "Unknown", "id": "n3", "estimated_memory_gb": 1, "finish": "2016-09-08 17:03:02.024234"}
workflow: INFO: Executing: n4 ID: 3
callback: DEBUG: {"name": "n4", "estimated_memory_gb": 1, "start": "2016-09-08 17:03:02.026717", "num_threads": 1, "id": "n4"}
workflow: INFO: [Job finished] jobname: n4 jobid: 3
callback: DEBUG: {"name": "n4", "runtime_memory_gb": "Unknown", "num_threads": 1, "runtime_threads": "Unknown", "id": "n4", "estimated_memory_gb": 1, "finish": "2016-09-08 17:03:02.957813"}
--------------------- >> end captured logging << ---------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions