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

Some tests don't work in 'riscv64/test/units' #3375

Open
anton-bondarev opened this issue Aug 13, 2024 · 2 comments
Open

Some tests don't work in 'riscv64/test/units' #3375

anton-bondarev opened this issue Aug 13, 2024 · 2 comments
Assignees

Comments

@anton-bondarev
Copy link
Collaborator

anton-bondarev commented Aug 13, 2024

Some tests which works on others architectures don't work in riscv64/test/units template
for example

	// @Runlevel(1) include embox.test.kernel.timer_test /* FIXME */
	...
	// @Runlevel(1) include embox.test.posix.sleep_test /* FIXME */
	...
		/* FIXME */
	// @Runlevel(1) include embox.test.kernel.thread.thread_priority_test(threads_quantity=10)
	// @Runlevel(1) include embox.test.kernel.sched.waitq
	// @Runlevel(1) include embox.test.kernel.task.select_test
	...

During the starting
./scripts/qemu/auto_qemu
AUTOQEMU_ARCH: riscv64 (guessed)
AUTOQEMU_MEM: 512 (guessed)
AUTOQEMU_NICS: (guessed)
AUTOQEMU_NICS_CONFIG: (got)
AUTOQEMU_AUDIO: (guessed)
AUTOQEMU_AUDIO_CONFIG: (got)
AUTOQEMU_USB: (guessed)
AUTOQEMU_USB_CONFIG: (got)
AUTOQEMU_GRAPHIC: (guessed)
AUTOQEMU_GRAPHIC_CONFIG: (got)
AUTOQEMU_DIAG: embox__driver__serial__ns16550_diag (guessed)
AUTOQEMU_DIAG_CONFIG: (got)
AUTOQEMU_KVM_ARG: (guessed)
AUTOQEMU_LOAD_ARG: -bios ./build/base/bin/embox (guessed)
AUTOQEMU_MACHINE: -M virt (guessed)
sudo -E qemu-system-riscv64 -runas anton -M virt -bios ./build/base/bin/embox -m 512 -nographic

[info] (Kernel) Interrupt controller: riscv_plic
[info] (Kernel) Embox kernel start
[info] (unit) initializing embox.mem.phymem
[info] (phymem) start=0x0000000088b6b000 end=0x00000000a0000000 size=390680576
[info] (unit) initializing embox.arch.riscv.kernel.fpu
[info] (unit) initializing embox.arch.riscv.kernel.interrupt
[info] (mod) runlevel is 0
[info] (unit) initializing embox.kernel.task.task_resource
[info] (unit) initializing embox.mem.static_heap
[info] (unit) initializing embox.kernel.task.task_table
[info] (unit) initializing embox.kernel.task.kernel_task
[info] (unit) initializing embox.kernel.sched.sched
...
[info] (test) running embox.test.posix.getopt_test
[info] (test) running embox.test.stdio.printf_test
[info] (test) running embox.test.posix.sleep_test

Unresolvable exception!
mcause = 5
ra = 0x0
sp = 0x8824c680
gp = 0x80067800
tp = 0x0
mstatus = 0x8000000000007880
pc = 0x0

@SurajSonawane2415
Copy link
Contributor

Hello @anton-bondarev , I want to work on this issue. Please assign me this issue.

@anton-bondarev
Copy link
Collaborator Author

@SurajSonawane2415 I've assigned it with you.

@anton-bondarev anton-bondarev changed the title Some tests don't work in riscv64/qemu Some tests don't work in 'riscv64/test/units' Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants