Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Move CI tests to GIFT-Little #173

Closed

Description

@dzhoshkun

As discussed with @tvercaut and @wyli we are going to move the current CI tests from Adelie to the new CI server GIFT-Little. This issue is for testing that transition.

Activity

  1. added 2 commits that reference this issue on Jul 31, 2018
  2. dzhoshkun commented on Jul 31, 2018

    @dzhoshkun
    CollaboratorAuthor
    • persistently set GPU for quick and slow tests, to ensure they run on separate GPUs?
  3. added 2 commits that reference this issue on Jul 31, 2018
  4. dzhoshkun commented on Jul 31, 2018

    @dzhoshkun
    CollaboratorAuthor

    @wyli Is this segfault expected? Does it ever happen on Adelie? (This particular segfault occurred on Little)

  5. wyli commented on Jul 31, 2018

    @wyli
    Member
  6. dzhoshkun commented on Jul 31, 2018

    @dzhoshkun
    CollaboratorAuthor

    I've retried the failing build. This time net_segment segfaults. Will retry again.

  7. dzhoshkun commented on Jul 31, 2018

    @dzhoshkun
    CollaboratorAuthor
    • revert irrelevant changes to CI script
  8. dzhoshkun commented on Jul 31, 2018

    @dzhoshkun
    CollaboratorAuthor

    @wyli This time the pip-installer script seems to fail... It's either a segfault or an unknown node. It'd be great if you could have a look. I'll continue retrying in the meantime.

  9. dzhoshkun commented on Jul 31, 2018

    @dzhoshkun
    CollaboratorAuthor

    Everything seems to run well up to the pip-camera-ready script, which should (and does) fail for all commits not tagged with a v prefix.

    The release-notes script (which follows the pip-camera-ready script) is minimal, and also does a chandler push for the release notes. So no testing action item for it at this stage. Worst case we can re-run it. However maybe:

    • set up chandler on Little
  10. dzhoshkun commented on Jul 31, 2018

    @dzhoshkun
    CollaboratorAuthor
    • cross-check NVIDIA driver (against the Adelie) for the segfault issues
  11. added a commit that references this issue on Jul 31, 2018
  12. dzhoshkun commented on Aug 1, 2018

    @dzhoshkun
    CollaboratorAuthor

    I've found this discussion, which talks about uncorrectable ECC leading to segfaults.

    I've tried to reproduce the segfault by running:

    for i in `seq 1 10`; do python net_gan.py inference -c $niftynet_dir/config/GAN_demo_train_config.ini; done

    inspired by this failed build, keeping an eye on the output of the nvidia-smi output. However I couldn't reproduce the segfault.

  13. dzhoshkun commented on Aug 1, 2018

    @dzhoshkun
    CollaboratorAuthor

    The NVIDIA driver 384.130 (Little) seems to have similar Google hits as 384.111 (Adelie).

  14. wyli commented on Aug 3, 2018

    @wyli
    Member

    Hi @dzhoshkun do we have a memory limit for gitlab-runner on Little? occasionally I get segfaults on my macbook if I run out of memory.

  15. dzhoshkun commented on Aug 3, 2018

    @dzhoshkun
    CollaboratorAuthor

    @wyli Nope. I haven't set any memory limits on Little yet.

  16. dzhoshkun commented on Aug 3, 2018

    @dzhoshkun
    CollaboratorAuthor

    It's interesting that in the last segfaulting CI task we get:

    /home/gitlab-runner/builds/bf2aef4f/0/NifTK/NiftyNet/niftynet-dev-test-py3/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
      return f(*args, **kwds)
    /home/gitlab-runner/builds/bf2aef4f/0/NifTK/NiftyNet/niftynet-dev-test-py3/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
      return f(*args, **kwds)
    

    Which I fixed yesterday by downgrading NumPy to 1.14. But apparently some settings are different on the gitlab-runner account. Will take a look.

  17. added 2 commits that reference this issue on Aug 3, 2018
  18. dzhoshkun commented on Aug 3, 2018

    @dzhoshkun
    CollaboratorAuthor
    • retry latest commit (above) a number of times, and see if segfault still occurs
  19. dzhoshkun commented on Aug 3, 2018

    @dzhoshkun
    CollaboratorAuthor
  20. dzhoshkun commented on Aug 3, 2018

    @dzhoshkun
    CollaboratorAuthor
  21. wyli commented on Aug 4, 2018

    @wyli
    Member

    a conflict installing scikit-learn after tensorflow?

    I couldn't replicate the issue by running the ci script manually with or without virtualenv.
    I'll upgrade to tensorflow 1.9 and try again.

  22. wyli commented on Aug 5, 2018

    @wyli
    Member

    I think the segfault has gone after upgrading to TF1.9 and resetting the session/graph

    if tf.get_default_session() is not None:
    tf.get_default_session().close()
    tf.reset_default_graph()
    close_logger()
    return 0

  23. dzhoshkun commented on Aug 6, 2018

    @dzhoshkun
    CollaboratorAuthor

    Great! I've now upgraded the global TF installation on Little to 1.9 as well.

  24. added 2 commits that reference this issue on Feb 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions