Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1430

SCTP Test Case failure/crash on ARM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • None
    • None
    • None
    • None
    • Linux fdio-cavium6 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:37:14 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
      NAME="Ubuntu"
      VERSION="16.04.5 LTS (Xenial Xerus)"
      gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609

      Seen on master, commit cf7efe01e791fd1aa688624194e6e2ffffd8f97f

      See the attached logs for details of what went wrong and an attempt at providing some debug info from the core.

      SCTP fails with VPP regular build (does not produce a core), but crashes with debug build (produces a core).

      Regular build:
      ==============================================================================
      SCTP Test Case
      ==============================================================================
      SCTP echo client/server transfer ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestSCTP-VBqz8Y ]

      ==============================================================================
      ERROR: SCTP echo client/server transfer
      ------------------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/jlinkes/vpp/test/test_sctp.py", line 75, in test_sctp_transfer
      " uri " + uri)
      File "/home/jlinkes/vpp/test/vpp_papi_provider.py", line 191, in cli
      r = self.papi.cli_inband(length=len(cli), cmd=cli)
      File "build/bdist.linux-aarch64/egg/vpp_papi/vpp_papi.py", line 106, in _call_
      return self._func(**kwargs)
      File "build/bdist.linux-aarch64/egg/vpp_papi/vpp_papi.py", line 397, in f
      return self._call_vpp(i, msg, multipart, **kwargs)
      File "build/bdist.linux-aarch64/egg/vpp_papi/vpp_papi.py", line 602, in _call_vpp
      msg = self._read()
      File "build/bdist.linux-aarch64/egg/vpp_papi/vpp_papi.py", line 442, in _read
      raise IOError(rv, 'vac_read failed')
      IOError: [Errno -1] vac_read failed

      ==============================================================================
      ERROR: SCTP echo client/server transfer
      ------------------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/jlinkes/vpp/test/test_sctp.py", line 43, in tearDown
      i.set_table_ip4(0)
      File "/home/jlinkes/vpp/test/vpp_interface.py", line 297, in set_table_ip4
      self.sw_if_index, 0, self.ip4_table_id)
      File "/home/jlinkes/vpp/test/vpp_papi_provider.py", line 242, in sw_interface_set_table
      'vrf_id': table_id})
      File "/home/jlinkes/vpp/test/vpp_papi_provider.py", line 160, in api
      reply = api_fn(**api_args)
      File "build/bdist.linux-aarch64/egg/vpp_papi/vpp_papi.py", line 106, in _call_
      return self._func(**kwargs)
      File "build/bdist.linux-aarch64/egg/vpp_papi/vpp_papi.py", line 397, in f
      return self._call_vpp(i, msg, multipart, **kwargs)
      File "build/bdist.linux-aarch64/egg/vpp_papi/vpp_papi.py", line 602, in _call_vpp
      msg = self._read()
      File "build/bdist.linux-aarch64/egg/vpp_papi/vpp_papi.py", line 442, in _read
      raise IOError(rv, 'vac_read failed')
      IOError: [Errno -1] vac_read failed

      Debug build:
      ==============================================================================
      SCTP Test Case
      ==============================================================================
      08:53:54,687 Child python process unresponsive and core-file exists in test temporary directory!
      08:53:54,689 Creating a link to the failed test: /tmp/vpp-failed-unittests/vpp-unittest-TestSCTP-FTib6D-FAILED -> vpp-unittest-TestSCTP-FTib6D
      08:53:54,690 Copying api_post_mortem.31016 to /tmp/vpp-unittest-TestSCTP-FTib6D
      08:53:54,691 Core-file exists in test temporary directory: /tmp/vpp-unittest-TestSCTP-FTib6D/core!

        1. core_debug.log
          10 kB
          Juraj Linkeš
        2. debug_defines_core_debug.txt
          13 kB
          Juraj Linkeš
        3. debug_defines_sctp.txt
          207 kB
          Juraj Linkeš
        4. debug_defines_sctp-debug.txt
          42 kB
          Juraj Linkeš
        5. debug_defines_TestSCTP.tgz
          4 kB
          Juraj Linkeš
        6. debug_defines_TestSCTP-debug.tgz
          2 kB
          Juraj Linkeš
        7. PS1_sctp.txt
          215 kB
          Juraj Linkeš
        8. PS1_TestSCTP.tgz
          186 kB
          Juraj Linkeš
        9. PS2_sctp-debug-10mbytes.txt
          14 kB
          Juraj Linkeš
        10. PS2_sctp-debug-2000bytes.txt
          3 kB
          Juraj Linkeš
        11. PS2_TestSCTP-debug-10mbytes.tgz
          200 kB
          Juraj Linkeš
        12. PS2_TestSCTP-debug-2000bytes.tgz
          7 kB
          Juraj Linkeš
        13. PS4_sctp-debug-10mbytes.txt
          217 kB
          Juraj Linkeš
        14. PS4_TestSCTP-debug-10mbytes.tgz
          204 kB
          Juraj Linkeš
        15. PS6_core_debug-4200000bytes.txt
          23 kB
          Juraj Linkeš
        16. PS6_sctp-debug-12mbytes.txt
          14 kB
          Juraj Linkeš
        17. PS6_sctp-debug-2mbytes.txt
          3 kB
          Juraj Linkeš
        18. PS6_sctp-debug-3mbytes.txt
          3 kB
          Juraj Linkeš
        19. PS6_sctp-debug-4000000bytes.txt
          3 kB
          Juraj Linkeš
        20. PS6_sctp-debug-4200000bytes.txt
          10 kB
          Juraj Linkeš
        21. PS6_sctp-debug-4mbytes.txt
          209 kB
          Juraj Linkeš
        22. PS6_sctp-debug-8mbytes.txt
          14 kB
          Juraj Linkeš
        23. PS6_TestSCTP-debug-12mbytes.tgz
          196 kB
          Juraj Linkeš
        24. PS6_TestSCTP-debug-2mbytes.tgz
          67 kB
          Juraj Linkeš
        25. PS6_TestSCTP-debug-3mbytes.tgz
          95 kB
          Juraj Linkeš
        26. PS6_TestSCTP-debug-4000000bytes.tgz
          118 kB
          Juraj Linkeš
        27. PS6_TestSCTP-debug-4200000bytes.tgz
          3 kB
          Juraj Linkeš
        28. PS6_TestSCTP-debug-4mbytes.tgz
          105 kB
          Juraj Linkeš
        29. PS6_TestSCTP-debug-8mbytes.tgz
          205 kB
          Juraj Linkeš
        30. PS8_core-debug-6043bytes.txt
          11 kB
          Juraj Linkeš
        31. PS8_sctp-debug-1mbytes.txt
          3 kB
          Juraj Linkeš
        32. PS8_sctp-debug-6043bytes.txt
          6 kB
          Juraj Linkeš
        33. PS8_TestSCTP-debug-1mbytes.tgz
          6 kB
          Juraj Linkeš
        34. PS8_TestSCTP-debug-6043bytes.tgz
          2 kB
          Juraj Linkeš
        35. sctp_debug.log
          6 kB
          Juraj Linkeš
        36. sctp.log
          14 kB
          Juraj Linkeš
        37. TestSCTP.tgz
          7 kB
          Juraj Linkeš
        38. TestSCTP-debug.tgz
          2 kB
          Juraj Linkeš
        39. v18.07.1_core-debug-6043bytes.txt
          11 kB
          Juraj Linkeš
        40. v18.07.1_sctp-debug-6043bytes.txt
          5 kB
          Juraj Linkeš
        41. v18.07.1_TestSCTP-debug-6043bytes.tgz
          2 kB
          Juraj Linkeš

            marco.varlese Marco Varlese
            juraj.linkes Juraj Linkeš
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: