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

GRE Test Case 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.

      This issue cannot be reproduced on vpp_debug build - it is only present on regular builds.

      VPP crashes after a few tests:

      ==============================================================================
      GRE Test Case
      ==============================================================================
      GRE IPv4 tunnel Tests OK
      GRE IPv6 tunnel Tests OK
      04:51:00,498 VPP subprocess died unexpectedly with returncode -6 [unknown]
      04:51:00,499 Core file present, debug with: gdb /home/jlinkes/vpp/build-root/install-vpp-native/vpp/bin/vpp /tmp/vpp-unittest-TestGRE-uYos5v/core
      04:51:00,500 Running `file /tmp/vpp-unittest-TestGRE-uYos5v/core':
      04:51:00,536 /tmp/vpp-unittest-TestGRE-uYos5v/core: ELF 64-bit LSB core file ARM aarch64, version 1 (SYSV), SVR4-style, from '/home/jlinkes/vpp/build-root/install-vpp-native/vpp/bin/vpp unix

      { nodaemon fu' GRE tunnel L2 Tests ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestGRE-uYos5v ] GRE tunnel VRF Tests ERROR [ temp dir used by test case: /tmp/vpp-unittest-TestGRE-uYos5v ] ============================================================================== ERROR: GRE tunnel L2 Tests ------------------------------------------------------------------------------ Traceback (most recent call last): File "/home/jlinkes/vpp/test/test_gre.py", line 847, in test_gre_l2 rx = self.pg0.get_capture(len(tx)) File "/home/jlinkes/vpp/test/vpp_pg_interface.py", line 240, in get_capture (len(capture.res), expected_count, name)) Exception: Captured packets mismatch, captured 256 packets, expected 257 packets on pg0 ============================================================================== ERROR: GRE tunnel L2 Tests ------------------------------------------------------------------------------ Traceback (most recent call last): File "/home/jlinkes/vpp/test/test_gre.py", line 57, in tearDown i.unconfig_ip4() File "/home/jlinkes/vpp/test/vpp_interface.py", line 238, in unconfig_ip4 is_add=0) File "/home/jlinkes/vpp/test/vpp_papi_provider.py", line 262, in sw_interface_add_del_address 'address': addr}

      )
      File "/home/jlinkes/vpp/test/vpp_papi_provider.py", line 159, in api
      self.hook.before_api(api_fn._name_, api_args)
      File "/home/jlinkes/vpp/test/hook.py", line 123, in before_api
      self.poll_vpp()
      File "/home/jlinkes/vpp/test/hook.py", line 111, in poll_vpp
      raise VppDiedError(msg)
      VppDiedError: VPP subprocess died unexpectedly with returncode -6 [unknown]

      ==============================================================================
      ERROR: GRE tunnel VRF Tests
      ------------------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/jlinkes/vpp/test/test_gre.py", line 36, in setUp
      super(TestGRE, self).setUp()
      File "/home/jlinkes/vpp/test/framework.py", line 539, in setUp
      raise Exception("VPP is dead when setting up the test")
      Exception: VPP is dead when setting up the test

        1. core_debug.log
          13 kB
        2. gre.log
          13 kB
        3. TestGRE.tgz
          90 kB

            nranns Neale Ranns
            juraj.linkes Juraj Linkeš
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: