Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/lib/cbprintf_package fails to build #34925

Closed
galak opened this issue May 6, 2021 · 3 comments · Fixed by #34951
Closed

tests/lib/cbprintf_package fails to build #34925

galak opened this issue May 6, 2021 · 3 comments · Fixed by #34951
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug

Comments

@galak
Copy link
Collaborator

galak commented May 6, 2021

./scripts/twister -l -T tests/lib/cbprintf_package/

Will get:

ERROR   - qemu_x86_64               tests/lib/cbprintf_package/libraries.cbprintf_package_nano FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_x86_64/tests/lib/cbprintf_package/libraries.cbprintf_package_nano/build.log
INFO    - Total complete:    1/  83   1%  skipped: 2430, failed:    1
ERROR   - qemu_x86_64               tests/lib/cbprintf_package/libraries.cbprintf_package_long_double FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_x86_64/tests/lib/cbprintf_package/libraries.cbprintf_package_long_double/build.log
INFO    - Total complete:    2/  83   2%  skipped: 2430, failed:    2
ERROR   - qemu_x86_64               tests/lib/cbprintf_package/libraries.cbprintf_package_long_double_align_offset FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_x86_64/tests/lib/cbprintf_package/libraries.cbprintf_package_long_double_align_offset/build.log
INFO    - Total complete:    3/  83   3%  skipped: 2430, failed:    3
ERROR   - qemu_riscv32              tests/lib/cbprintf_package/libraries.cbprintf_package_nano FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_riscv32/tests/lib/cbprintf_package/libraries.cbprintf_package_nano/build.log
INFO    - Total complete:    4/  83   4%  skipped: 2430, failed:    4
ERROR   - qemu_riscv64              tests/lib/cbprintf_package/libraries.cbprintf_package_nano FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_riscv64/tests/lib/cbprintf_package/libraries.cbprintf_package_nano/build.log
INFO    - Total complete:    5/  83   6%  skipped: 2430, failed:    5
ERROR   - qemu_riscv64              tests/lib/cbprintf_package/libraries.cbprintf_package_long_double_align_offset FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_riscv64/tests/lib/cbprintf_package/libraries.cbprintf_package_long_double_align_offset/build.log
INFO    - Total complete:    6/  83   7%  skipped: 2430, failed:    6
ERROR   - qemu_riscv64              tests/lib/cbprintf_package/libraries.cbprintf_package_long_double FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_riscv64/tests/lib/cbprintf_package/libraries.cbprintf_package_long_double/build.log
INFO    - Total complete:    7/  83   8%  skipped: 2430, failed:    7
ERROR   - qemu_cortex_a53           tests/lib/cbprintf_package/libraries.cbprintf_package_nano FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_cortex_a53/tests/lib/cbprintf_package/libraries.cbprintf_package_nano/build.log
INFO    - Total complete:    8/  83   9%  skipped: 2430, failed:    8
ERROR   - qemu_cortex_a53           tests/lib/cbprintf_package/libraries.cbprintf_package_long_double FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_cortex_a53/tests/lib/cbprintf_package/libraries.cbprintf_package_long_double/build.log
INFO    - Total complete:    9/  83  10%  skipped: 2430, failed:    9
ERROR   - qemu_cortex_a53           tests/lib/cbprintf_package/libraries.cbprintf_package_long_double_align_offset FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_cortex_a53/tests/lib/cbprintf_package/libraries.cbprintf_package_long_double_align_offset/build.log
INFO    - Total complete:   11/  83  13%  skipped: 2430, failed:   10
ERROR   - qemu_cortex_m3            tests/lib/cbprintf_package/libraries.cbprintf_package_nano FAILED: Failed
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_cortex_m3/tests/lib/cbprintf_package/libraries.cbprintf_package_nano/handler.log
INFO    - Total complete:   13/  83  15%  skipped: 2430, failed:   11
ERROR   - qemu_x86_64               tests/lib/cbprintf_package/libraries.cbprintf_package_fp_align_offset FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_x86_64/tests/lib/cbprintf_package/libraries.cbprintf_package_fp_align_offset/build.log
INFO    - Total complete:   14/  83  16%  skipped: 2430, failed:   12
ERROR   - qemu_riscv32              tests/lib/cbprintf_package/libraries.cbprintf_package_fp_align_offset FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_riscv32/tests/lib/cbprintf_package/libraries.cbprintf_package_fp_align_offset/build.log
INFO    - Total complete:   15/  83  18%  skipped: 2430, failed:   13
ERROR   - qemu_riscv64              tests/lib/cbprintf_package/libraries.cbprintf_package_fp_align_offset FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_riscv64/tests/lib/cbprintf_package/libraries.cbprintf_package_fp_align_offset/build.log
INFO    - Total complete:   16/  83  19%  skipped: 2430, failed:   14
ERROR   - qemu_cortex_a53           tests/lib/cbprintf_package/libraries.cbprintf_package_fp_align_offset FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_cortex_a53/tests/lib/cbprintf_package/libraries.cbprintf_package_fp_align_offset/build.log
INFO    - Total complete:   17/  83  20%  skipped: 2430, failed:   15
ERROR   - qemu_riscv64              tests/lib/cbprintf_package/libraries.cbprintf_package_fp FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_riscv64/tests/lib/cbprintf_package/libraries.cbprintf_package_fp/build.log
INFO    - Total complete:   18/  83  21%  skipped: 2430, failed:   16
ERROR   - qemu_riscv32              tests/lib/cbprintf_package/libraries.cbprintf_package_fp FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_riscv32/tests/lib/cbprintf_package/libraries.cbprintf_package_fp/build.log
INFO    - Total complete:   19/  83  22%  skipped: 2430, failed:   17
ERROR   - qemu_cortex_a53           tests/lib/cbprintf_package/libraries.cbprintf_package_fp FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_cortex_a53/tests/lib/cbprintf_package/libraries.cbprintf_package_fp/build.log
INFO    - Total complete:   20/  83  24%  skipped: 2430, failed:   18
ERROR   - qemu_x86_64               tests/lib/cbprintf_package/libraries.cbprintf_package_fp FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_x86_64/tests/lib/cbprintf_package/libraries.cbprintf_package_fp/build.log
INFO    - Total complete:   22/  83  26%  skipped: 2430, failed:   19
ERROR   - qemu_leon3                tests/lib/cbprintf_package/libraries.cbprintf_package_nano FAILED: Exited with 0
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_leon3/tests/lib/cbprintf_package/libraries.cbprintf_package_nano/handler.log
INFO    - Total complete:   23/  83  27%  skipped: 2430, failed:   20
ERROR   - qemu_x86                  tests/lib/cbprintf_package/libraries.cbprintf_package_nano FAILED: Failed
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_x86/tests/lib/cbprintf_package/libraries.cbprintf_package_nano/handler.log
INFO    - Total complete:   24/  83  28%  skipped: 2430, failed:   21
ERROR   - qemu_leon3                tests/lib/cbprintf_package/libraries.cbprintf_package_long_double FAILED: Exited with 0
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_leon3/tests/lib/cbprintf_package/libraries.cbprintf_package_long_double/handler.log
INFO    - Total complete:   25/  83  30%  skipped: 2430, failed:   22
ERROR   - qemu_leon3                tests/lib/cbprintf_package/libraries.cbprintf_package_long_double_align_offset FAILED: Failed
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_leon3/tests/lib/cbprintf_package/libraries.cbprintf_package_long_double_align_offset/handler.log
INFO    - Total complete:   26/  83  31%  skipped: 2430, failed:   23
ERROR   - qemu_nios2                tests/lib/cbprintf_package/libraries.cbprintf_package_nano FAILED: Failed
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_nios2/tests/lib/cbprintf_package/libraries.cbprintf_package_nano/handler.log
INFO    - Total complete:   28/  83  33%  skipped: 2430, failed:   24
ERROR   - qemu_leon3                tests/lib/cbprintf_package/libraries.cbprintf_package_fp_align_offset FAILED: Failed
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_leon3/tests/lib/cbprintf_package/libraries.cbprintf_package_fp_align_offset/handler.log
INFO    - Total complete:   30/  83  36%  skipped: 2430, failed:   25
ERROR   - qemu_cortex_r5            tests/lib/cbprintf_package/libraries.cbprintf_package_nano FAILED: Failed
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_cortex_r5/tests/lib/cbprintf_package/libraries.cbprintf_package_nano/handler.log
INFO    - Total complete:   33/  83  39%  skipped: 2430, failed:   26
ERROR   - qemu_cortex_m0            tests/lib/cbprintf_package/libraries.cbprintf_package_nano FAILED: Failed
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_cortex_m0/tests/lib/cbprintf_package/libraries.cbprintf_package_nano/handler.log
INFO    - Total complete:   35/  83  42%  skipped: 2430, failed:   27
ERROR   - qemu_leon3                tests/lib/cbprintf_package/libraries.cbprintf_package_fp FAILED: Exited with 0
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_leon3/tests/lib/cbprintf_package/libraries.cbprintf_package_fp/handler.log
INFO    - Total complete:   41/  83  49%  skipped: 2430, failed:   28
ERROR   - qemu_riscv64              tests/lib/cbprintf_package/libraries.cbprintf_package FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_riscv64/tests/lib/cbprintf_package/libraries.cbprintf_package/build.log
INFO    - Total complete:   45/  83  54%  skipped: 2430, failed:   29
ERROR   - qemu_riscv32              tests/lib/cbprintf_package/libraries.cbprintf_package FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_riscv32/tests/lib/cbprintf_package/libraries.cbprintf_package/build.log
INFO    - Total complete:   48/  83  57%  skipped: 2430, failed:   30
ERROR   - qemu_cortex_a53           tests/lib/cbprintf_package/libraries.cbprintf_package FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_cortex_a53/tests/lib/cbprintf_package/libraries.cbprintf_package/build.log
INFO    - Total complete:   50/  83  60%  skipped: 2430, failed:   31
ERROR   - qemu_x86_64               tests/lib/cbprintf_package/libraries.cbprintf_package FAILED: Build failure
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_x86_64/tests/lib/cbprintf_package/libraries.cbprintf_package/build.log
INFO    - Total complete:   53/  83  63%  skipped: 2430, failed:   32
ERROR   - qemu_leon3                tests/lib/cbprintf_package/libraries.cbprintf_package FAILED: Exited with 0
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_leon3/tests/lib/cbprintf_package/libraries.cbprintf_package/handler.log
INFO    - Total complete:   60/  83  72%  skipped: 2430, failed:   33
ERROR   - qemu_xtensa               tests/lib/cbprintf_package/libraries.cbprintf_package_nano FAILED: Timeout
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_xtensa/tests/lib/cbprintf_package/libraries.cbprintf_package_nano/handler.log
INFO    - Total complete:   61/  83  73%  skipped: 2430, failed:   34
ERROR   - qemu_xtensa               tests/lib/cbprintf_package/libraries.cbprintf_package_long_double FAILED: Timeout
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_xtensa/tests/lib/cbprintf_package/libraries.cbprintf_package_long_double/handler.log
INFO    - Total complete:   62/  83  74%  skipped: 2430, failed:   35
ERROR   - qemu_cortex_m0            tests/lib/cbprintf_package/libraries.cbprintf_package_long_double_align_offset FAILED: Timeout
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_cortex_m0/tests/lib/cbprintf_package/libraries.cbprintf_package_long_double_align_offset/handler.log
INFO    - Total complete:   63/  83  75%  skipped: 2430, failed:   36
ERROR   - qemu_cortex_m0            tests/lib/cbprintf_package/libraries.cbprintf_package_long_double FAILED: Timeout
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_cortex_m0/tests/lib/cbprintf_package/libraries.cbprintf_package_long_double/handler.log
INFO    - Total complete:   64/  83  77%  skipped: 2430, failed:   37
ERROR   - qemu_cortex_m0            tests/lib/cbprintf_package/libraries.cbprintf_package_fp_align_offset FAILED: Timeout
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_cortex_m0/tests/lib/cbprintf_package/libraries.cbprintf_package_fp_align_offset/handler.log
INFO    - Total complete:   65/  83  78%  skipped: 2430, failed:   38
ERROR   - qemu_xtensa               tests/lib/cbprintf_package/libraries.cbprintf_package_fp FAILED: Timeout
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_xtensa/tests/lib/cbprintf_package/libraries.cbprintf_package_fp/handler.log
INFO    - Total complete:   66/  83  79%  skipped: 2430, failed:   39
ERROR   - qemu_cortex_m0            tests/lib/cbprintf_package/libraries.cbprintf_package_fp FAILED: Timeout
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_cortex_m0/tests/lib/cbprintf_package/libraries.cbprintf_package_fp/handler.log
INFO    - Total complete:   67/  83  80%  skipped: 2430, failed:   40
ERROR   - qemu_xtensa               tests/lib/cbprintf_package/libraries.cbprintf_package FAILED: Timeout
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_xtensa/tests/lib/cbprintf_package/libraries.cbprintf_package/handler.log
INFO    - Total complete:   68/  83  81%  skipped: 2430, failed:   41
ERROR   - qemu_cortex_m0            tests/lib/cbprintf_package/libraries.cbprintf_package FAILED: Timeout
ERROR   - see: /home/galak/git/zephyr/twister-out/qemu_cortex_m0/tests/lib/cbprintf_package/libraries.cbprintf_package/handler.log
INFO    - Total complete:   69/  83  83%  skipped: 2430, failed:   42^CINFO    - Execution interrupted

@galak galak added bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug labels May 6, 2021
@galak
Copy link
Collaborator Author

galak commented May 6, 2021

@nordic-krch in testcase.yaml we have an issue with integration_platforms & platform_allow creating an empty set of platforms to test on. ie, native_posix isn't in the platform_allow list. Additionally, it seems since C++ support varies a bit arch to arch so maybe best to just drop integration_platforms and leave it to the platform_allow list.

tests:
  libraries.cbprintf_package:
    tags: cbprintf
    integration_platforms:
      - native_posix
    platform_allow: >
      qemu_arc_em qemu_arc_hs qemu_cortex_a53 qemu_cortex_m0 qemu_cortex_m3
      qemu_cortex_r5 qemu_leon3 qemu_nios2 qemu_riscv32 qemu_riscv64 qemu_x86
      qemu_x86_64 qemu_xtensa
    extra_configs:
      - CONFIG_CBPRINTF_COMPLETE=y

@nordic-krch
Copy link
Contributor

Will be looking at this. Seems that C++ in fact behavior is platform specific.

@nashif
Copy link
Member

nashif commented May 6, 2021

#34946 fixes the filtering and shows what is failing as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug priority: high High impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants