Skip to contentSkip to conversation

failing to build test from app/test

dpdk-dev [email protected] 1 participant 4 messages May 13, 2020

lore
Share & tools
lore
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=471

            Bug ID: 471
           Summary: failing to build test from app/test
           Product: DPDK
           Version: 20.05
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: other
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

DPDK:20.05-rc2
Linux:4.15.0-99-generic
GCC: Ubuntu 7.5.0-3ubuntu1~18.04
Distribution: Ubuntu 18.04.4 LTS

Steps:
1. fetch from git the right version of DPDK.
2. default build for x86_64-native-linuxapp-gcc
3. move to the directory $RTE_SDK/app/test
4. execute make

Error Log:

```
t# make
  CC commands.o
commands.c: In function ‘cmd_dump_parsed’:
commands.c:137:3: error: ‘rte_malloc_dump_heaps’ is deprecated: Symbol is not
yet part of stable ABI [-Werror=deprecated-declarations]
   rte_malloc_dump_heaps(stdout);
   ^~~~~~~~~~~~~~~~~~~~~
In file included from commands.c:31:0:
/home/saesrv02/Downloads/dpdksrc/dpdk/x86_64-native-linuxapp-gcc/include/rte_malloc.h:524:1:
note: declared here
 rte_malloc_dump_heaps(FILE *f);
 ^~~~~~~~~~~~~~~~~~~~~
commands.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’
[-Werror]
cc1: all warnings being treated as errors
/home/saesrv02/Downloads/dpdksrc/dpdk/mk/internal/rte.compile-pre.mk:114:
recipe for target 'commands.o' failed
make: *** [commands.o] Error 1

```
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=471

David Marchand ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from David Marchand ([email protected]) --- Please, do not jump in app/test directory, prefer the make app/test_sub from the dpdk root directory.

*** This bug has been marked as a duplicate of bug 465 ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw
In reply to [email protected]

https://bugs.dpdk.org/show_bug.cgi?id=471

Vipin Varghese ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|DUPLICATE                   |---
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #2 from Vipin Varghese ([email protected]) --- If I run from the target folder make test

```
# make test
/home/saesrv02/Downloads/dpdksrc/dpdk/x86_64-native-linuxapp-gcc/app/test -c f
Running tests with 4 workers

Test name                     Test result                     Test    Total
================================================================================
Skipped autotests:
dump_physmem:                 Skipped [Not compiled]       [00m 00s]
dump_memzone:                 Skipped [Not compiled]       [00m 00s]
dump_struct_sizes:            Skipped [Not compiled]       [00m 00s]
dump_mempool:                 Skipped [Not compiled]       [00m 00s]
dump_malloc_stats:            Skipped [Not compiled]       [00m 00s]
dump_devargs:                 Skipped [Not compiled]       [00m 00s]
dump_log_types:               Skipped [Not compiled]       [00m 00s]
dump_ring:                    Skipped [Not compiled]       [00m 00s]

Cycles autotest:              Fail                         [00m 01s][00m 02s]
EAL flags autotest:           Fail                         [00m 02s][00m 05s]
Read/write lock autotest:     Fail [Timeout]               [00m 10s][00m 13s]
Alarm autotest:               Fail                         [00m 00s][00m 37s]
PMD ring autotest:            Fail                         [00m 00s][00m 55s]
Link bonding autotest:        Fail                         [00m 00s][01m 11s]
Link bonding mode4 autotest:  Fail                         [00m 00s][01m 12s]
Link bonding rssconf autotest:Fail                         [00m 00s][01m 12s]

```

1. should not for Link-Bond test either use vdev or Skip rather than failing if the desired number of ports is not available?

2. why would EAL, Alarm, Lock fail as it is the library and not PMD?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#3 lore raw
In reply to [email protected]

https://bugs.dpdk.org/show_bug.cgi?id=471

David Marchand ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #6 from David Marchand ([email protected]) --- This has nothing to do with the problem reported earlier. Please open a new bug if you think it is necessary or use the mailing list. Thanks.

*** This bug has been marked as a duplicate of bug 465 ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.