32 Commits

Author SHA1 Message Date
Mingli Yu
b838ca53de
ptest-packagelists-meta-oe.inc: Add libtoml11
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-12 07:57:16 -07:00
Mingli Yu
4bda22279d
ptest-packagelists-meta-oe.inc: Add asio
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-10 12:53:49 -07:00
Khem Raj
bba9e7a041
ptest-packagelists-meta-oe: Add fuse3 to fast ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-04 14:46:02 -07:00
Khem Raj
f2ba44f5d6
python3-pefile: Remove recipe
It has been moved to core layer

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-30 23:54:18 -07:00
Mingli Yu
c0095bd118
rocksdb: Add ptest support
# ./run-ptest
PASS: agg_merge_test
PASS: cache_test
PASS: db_basic_test
PASS: env_basic_test
PASS: testutil_test

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-29 10:01:08 -07:00
Alexandre Truong
631c69d853
pegtl: add ptest support
Test added to the fast-list.

Result of ptest-runner:

root@qemux86-64:~# ptest-runner pegtl
START: ptest-runner
2024-08-29T13:57
BEGIN: /usr/lib/pegtl/ptest
PASS: src/test/pegtl/pegtl-test-action_enable
PASS: src/test/pegtl/pegtl-test-action_match
PASS: src/test/pegtl/pegtl-test-actions_one
[...]
PASS: src/test/pegtl/pegtl-test-utf8_general
PASS: src/test/pegtl/pegtl-test-visit
PASS: All 128 tests passed
DURATION: 4
END: /usr/lib/pegtl/ptest
2024-08-29T13:57
STOP: ptest-runner
TOTAL: 1 FAIL: 0

NB: two tests are being skipped with a exception raised as support is disabled

Exception support disabled, skipping test...
PASS: src/test/pegtl/pegtl-test-internal_file_mapper
Exception support disabled, skipping test...
PASS: src/test/pegtl/pegtl-test-internal_file_opener

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-29 09:37:50 -07:00
Randy MacLeod
efbbb8dfff
libee: remove recipe since libee is obsolete
libee had been used by rsyslog but the library never relly panned out.

It has been declared to be obsolete:
   Early versions of rsyslog and liblognorm used it for representing structured content.
   However, this is long gone. We do not know of any other user. So libee should be of
   no further interest and is provided here solely for historical reasons.
https://github.com/rsyslog/libee

Also remove references to libee in:
   meta-oe/conf/include/ptest-packagelists-meta-oe.inc
   meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-27 09:19:06 -07:00
Khem Raj
395e9075ac
python3-pefile: Move from meta-python to meta-oe
- This recipe is needed by newer versions of fwupd from meta-oe
- Add ptest support for python3-pefile
- Add python3-pefile to PTESTS_FAST_META_OE since tests take < 30s

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-09 22:43:41 -07:00
Yoann Congal
d3751ce994
reproducibility: move repro excludes from AB config.json to meta-oe
For now, the known non-reproducible packages list is stored inside the
autobuilder config.json file. This is not ideal. Let's move this list
into each layers of meta-openembedded.

These lists can be used with, in local.conf:
  include conf/include/non-repro-meta-oe.inc
  OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES = "${KNOWN_NON_REPRO_META_OE}"

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Acked-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-29 11:11:51 -07:00
Khem Raj
50f8814378
pv: Fix ptest failures
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-12 23:07:33 -07:00
Khem Raj
4958bfe013
ptest-packagelists-meta-oe: jemalloc and oprofile are passing now
Move them into PTESTS_FAST_META_OE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-11 23:32:36 -07:00
Khem Raj
04eefd302d
libxml++: Delete recipe for 2.42.1
We already have libxml++-5 provided and some of
the dependencies for libxml++ (older version of glibmm)
are not available.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-11 23:32:36 -07:00
Peter Marko
a0a1143617
microsoft-gsl: add new recipe including ptest
The Guidelines Support Library (GSL) contains functions
and types that are suggested for use by the C++ Core Guidelines
maintained by the Standard C++ Foundation.
This repo contains Microsoft's implementation of GSL.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-27 18:10:41 -07:00
Robert P. J. Day
58224a65f2
fmt: remove unnecessary "inherit ptest" directive
Given that the recipe does not provide the standard ptest
infrastructure, remove the superfluous inherit of ptest.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-10 21:53:58 -07:00
Khem Raj
092492d68f
ptest-packagelists-meta-oe: Move libgpiod out of PTESTS_PROBLEMS_META_OE
It works fine now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-05 11:02:03 -08:00
Khem Raj
3fe8ea15c3
ptest-packagelists-meta-oe.inc: Remove oprofile from PTESTS_PROBLEMS_META_OE
Its not in PTESTS_FAST_META_OE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-26 08:13:21 -08:00
Khem Raj
c558d137d4
ptest-packagelists-meta-oe: Remove oprofile for rv32/rv64
oprofile is not ported to riscv yet.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-22 07:38:42 -08:00
Alex Kiernan
30b37bb09e
ptest-packagelists-meta-oe.inc Add c-ares to PTESTS_SLOW_META_OE
These take around 50s to run.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-31 08:27:46 -08:00
Khem Raj
41f16dc063
ptest-packagelists-meta-oe.inc: Move poco to slow tests
poco ptests take 7+ minutes on a kvm accelerated build system
so it should actually be part of slow test list

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-29 17:18:13 -08:00
Mingli Yu
33240e1783 ptest-packagelists-meta-oe.inc: Add nlohmann-json
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-10 09:13:40 -08:00
Chi Xu
92038e03ee re2: Add ptest support
Test results:
root@qemux86-64:~# ptest-runner re2 -t 7200
START: ptest-runner
2023-10-16T08:36
BEGIN: /usr/lib/re2/ptest
PASS: charclass_test
PASS: compile_test
PASS: filtered_re2_test
PASS: mimics_pcre_test
PASS: parse_test
PASS: possible_match_test
PASS: re2_test
PASS: re2_arg_test
PASS: regexp_test
PASS: required_prefix_test
PASS: search_test
PASS: set_test
PASS: simplify_test
PASS: string_generator_test
PASS: dfa_test
PASS: exhaustive1_test
PASS: exhaustive2_test
PASS: exhaustive3_test
PASS: exhaustive_test
PASS: random_test
DURATION: 2085
END: /usr/lib/re2/ptest
2023-10-16T09:11
STOP: ptest-runner
TOTAL: 1 FAIL: 0

And add re2 ptest to PTESTS_SLOW_META_OE.

Signed-off-by: Chi Xu <chi.xu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-17 21:42:56 -07:00
David Pierret
4079e92284 cjson: Add ptest
cjson use pure CMake test framework named CTest.
CMake generate CTestTestfile.cmake containing fully defined path.
This path need to be altered on install step to match the ptest directory.

The json_patch_tests doesn't works because of file access and is skip.

Signed-off-by: David Pierret <david.pierret@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-17 21:42:56 -07:00
Khem Raj
b729ec1b11 ptest-packagelists-meta-oe: Add kernel-selftest to x86/x86-64 images
Test run for 10+ minutes so they belong to slow testset

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-09 13:10:16 -07:00
Markus Volk
2c2b6c7522 libxmlb: remove recipe
It was moved to oe-core

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-20 15:34:02 -07:00
Chi Xu
c332fd2659 mariadb: Add ptest support
69 test cases in all, and all of them are PASS.

Test results:
root@intel-x86-64:~# ptest-runner mariadb
START: ptest-runner
2023-09-17T05:38
BEGIN: /usr/lib/mariadb/ptest
PASS: strings
PASS: json
PASS: simple
PASS: skip
PASS: todo
PASS: skip_all
PASS: no_plan
PASS: bitmap
PASS: base64
PASS: my_atomic
PASS: my_rdtsc
PASS: lf
PASS: my_malloc
PASS: my_getopt
PASS: dynstring
PASS: byte_order
PASS: queues
PASS: stacktrace
PASS: crc32
PASS: my_vsnprintf
PASS: aes
PASS: ma_dyncol
PASS: my_decimal
PASS: json_lib
PASS: json_normalize
PASS: my_apc
PASS: explain_filename
PASS: mf_iocache
PASS: my_json_writer
PASS: innodb_fts
PASS: innodb_sync
PASS: ma_control_file
PASS: trnman
PASS: ma_test_loghandler
PASS: ma_test_loghandler_multigroup
PASS: ma_test_loghandler_multithread
PASS: ma_test_loghandler_pagecache
PASS: ma_test_loghandler_long
PASS: ma_test_loghandler_noflush
PASS: ma_test_loghandler_first_lsn
PASS: ma_test_loghandler_max_lsn
PASS: ma_test_loghandler_purge
PASS: ma_test_loghandler_readonly
PASS: ma_test_loghandler_nologs
PASS: ma_pagecache_single_1k
PASS: ma_pagecache_single_8k
PASS: ma_pagecache_single_64k
PASS: ma_pagecache_consist_1k
PASS: ma_pagecache_consist_64k
PASS: ma_pagecache_consist_1kHC
PASS: ma_pagecache_consist_64kHC
PASS: ma_pagecache_consist_1kRD
PASS: ma_pagecache_consist_64kRD
PASS: ma_pagecache_consist_1kWR
PASS: ma_pagecache_consist_64kWR
PASS: ma_pagecache_rwconsist_1k
PASS: ma_pagecache_rwconsist2_1k
PASS: pfs_instr_class
PASS: pfs_instr_class-oom
PASS: pfs_instr
PASS: pfs_instr-oom
PASS: pfs_account-oom
PASS: pfs_host-oom
PASS: pfs_timer
PASS: pfs_user-oom
PASS: pfs_noop
PASS: pfs
PASS: pfs_misc
PASS: dbug
DURATION: 59
END: /usr/lib/mariadb/ptest
2023-09-17T05:39
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: Chi Xu <chi.xu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-16 23:40:23 -07:00
Khem Raj
c238a337eb librelp: Add to meta-oe ptest image
it takes ~35s so lets add it to auto ptests

RESULTS - ptest.PtestRunnerTest.test_ptestrunner_expectfail: PASSED (34.93s)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-08-19 10:46:14 -07:00
Khem Raj
8b368e0bf5 ptest-packagelists-meta-oe: Limit mcelog to x86/x86_64
mcelog is only available on x86 and x86_64 architectures.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-07-13 07:22:17 -07:00
Khem Raj
e92623076b meta-oe-ptests: Add mcelog to PTESTS_FAST_META_OE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:18 -07:00
Khem Raj
d68491eca0 ptest-packagelists-meta-oe: Remove nodejs ptests for rv32/rv64
Nodejs in OE not yet ported to RISCV

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-18 17:15:01 -07:00
Khem Raj
dd5e852516 ptest-packagelists-meta-oe: Add libtinyxml2
It takes < 4 seconds on qemux86_64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-06 13:45:10 -07:00
Khem Raj
580c36fa72 ptest-packagelists-meta-oe: Remove minicoredumper from PTESTS_FAST_META_OE on musl
minicoredumper is not buildable on musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-04 13:39:45 -07:00
Tim Orling
d094f80089 ptest-packagelists-meta-oe.inc: add ptest recipes
Similar to ptest-packagelists.inc in oe-core, this list enables
per image ptest (isolated ptests for a given recipe)

* Add recipes to PTEST_FAST_META_OE for ptests which take less than ~30s
* Add recipes to PTEST_SLOW_META_OE for ptests which take longer
* Add recipes to PTEST_PROBLEMS_META_OE for ptests which have failing tests
  or other issues with ptest package

The initial list was taken from:

meta_oe_ptest_recipes=$(bitbake-layers show-recipes --recipes-only \
  --layer meta-oe --inherits ptest --bare | tr '\n' ' ' | \
  pcregrep -o1 '^NOTE:.+===(.+)$')

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-02 17:43:22 -07:00