Uploaded image for project: 'Integrated Edge Cloud'
  1. Integrated Edge Cloud
  2. IEC-26

[IEC][SEBA][PONSim] cord-tester setup_venv fails: pynacl pwhash_scrypt out of memory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Medium
    • None

    Description

      This problem happens on aarch64 when trying to prepare the env for cord-tester testing framework. Because the pynacl python package is not compiled for aarch64, the setup_venv.sh will try to build it and in the process also runs the tests (i.e. calls make check). One of the 72 tests (pwhash_scrypt) fails after timing out and what seems to be an out of memory error.

      The same problem has been reported last year here:
      https://github.com/jedisct1/libsodium/issues/721

      One of the solutions suggested is to increase the memlock ulimit, which for some reason is very low by default on aarch64.

      I have tried setting up this ulimit in the container we use for testing and it works when running on the jenkins slave (baremetal). However the test still crashes when running the framework from the same cord-tester image but on the master node of an aarch64 virtual pod.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            ciprian.barbu.enea Ciprian Barbu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: