Bug 14230

Summary: qemuarm testimage shows serial login warning
Product: [QA/Testing] Runtime Testing Reporter: Minjae Kim <flowergom>
Component: testimageAssignee: Saul Wold <saul.wold>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium+ CC: alejandro, alexandre.belloni, oobitots, randy.macleod, richard.purdie, sgw
Version: 3.3   
Target Milestone: 3.4 M1   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT AB-INT-TMPFS
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Minjae Kim 2021-02-09 08:09:58 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/53/builds/3050/steps/13/logs/stdio
(master, qemuarm, core-image-sato-sdk)
Comment 1 Richard Purdie 2021-02-11 16:03:59 UTC
Showing warning as:
stdio: WARNING: core-image-sato-sdk-1.0-r0 do_testimage: Couldn't login into serial console as root using blank password
stdio: WARNING: core-image-sato-sdk-1.0-r0 do_testimage: The output:
Comment 2 Alexandre Belloni 2021-03-03 12:41:04 UTC
Same issue:

https://autobuilder.yoctoproject.org/typhoon/#/builders/110/builds/2037/steps/14/logs/warnings

For searchability, I add that the stdio log has:

<<< run_serial(): command timed out after 120 seconds without output >>>
Comment 3 Oleksiy Obitotskyy 2021-03-22 09:45:09 UTC
fedora31-ty-1 qemuppc

https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/3202/steps/13/logs/stdio

SDK testing environment: ppc7400-poky-linux
WARNING: core-image-sato-1.0-r0 do_testimage: Couldn't login into serial console as root using blank password
WARNING: core-image-sato-1.0-r0 do_testimage: The output:
 root<<< run_serial(): command timed out after 120 seconds without output >>>
Comment 4 Oleksiy Obitotskyy 2021-03-25 10:12:36 UTC
qemuarm-alt ubuntu1804-ty-2

https://autobuilder.yoctoproject.org/typhoon/#/builders/110/builds/2130

Test case connman.ConnmanTest.test_connmand_running depends on connman.ConnmanTest.test_connmand_help but it didn't pass/run.
WARNING: core-image-sato-sdk-1.0-r0 do_testimage: Couldn't login into serial console as root using blank password
WARNING: core-image-sato-sdk-1.0-r0 do_testimage: The output:
root

7[r
[6n[  231.500187] rcu: INFO: rcu_preempt self-detected stall on CPU
[  231.501211] rcu: 	0-...!: (1 ticks this GP) idle=1f2/1/0x40000002 softirq=11808/11808 fqs=0 
[  231.501806] 	(t=3930 jiffies g=26609 q=2)
[  231.502131] rcu: rcu_preempt kthread starved for 3930 jiffies! g26609 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
[  231.502558] rcu: RCU grace-period kthread stack dump:
[  231.503026] rcu_preempt     I    0    10      2 0x00000000
[  231.504341] [<c09cf310>] (__schedule) from [<c09cf488>] (schedule+0xbc/0xf4)
[  231.504737] [<c09cf488>] (schedule) from [<c09d1b24>] (schedule_timeout+0xcc/0xfc)
[  231.505066] [<c09d1b24>] (schedule_timeout) from [<c0283530>] (rcu_gp_kthread+0x618/0x8ac)
[  231.505391] [<c0283530>] (rcu_gp_kthread) from [<c024c6ac>] (kthread+0x158/0x164)
[  231.505689] [<c024c6ac>] (kthread) from [<c02010d8>] (ret_from_fork+0x14/0x3c)
[  231.506049] Exception stack(0xdb50bfb0 to 0xdb50bff8)
[  231.506358] bfa0:                                     00000000 00000000 00000000 00000000
[  231.506678] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  231.506980] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
[  231.507600] NMI backtrace for cpu 0
[  231.508059] CPU: 0 PID: 260 Comm: matchbox-window Not tainted 5.4.105-yocto-standard #1
[  231.508421] Hardware name: Generic DT based system
[  231.508714] [<c0210c78>] (unwind_backtrace) from [<c020ba94>] (show_stack+0x18/0x1c)
[  231.509023] [<c020ba94>] (show_stack) from [<c09ce174>] (dump_stack+0x84/0xa0)
[  231.509316] [<c09ce174>] (dump_stack) from [<c09b7ec0>] (nmi_cpu_backtrace+0xa0/0xb0)
[  231.509611] [<c09b7ec0>] (nmi_cpu_backtrace) from [<c09b7f8c>] (nmi_trigger_cpumask_backtrace+0xbc/0x15c)
[  231.509953] [<c09b7f8c>] (nmi_trigger_cpumask_backtrace) from [<c09c8030>] (rcu_dump_cpu_stacks+0xac/0xc8)
[  231.510291] [<c09c8030>] (rcu_dump_cpu_stacks) from [<c0285478>] (rcu_sched_clock_irq+0x310/0x89c)
[  231.510614] [<c0285478>] (rcu_sched_clock_irq) from [<c028cdac>] (update_process_times+0x34/0x50)
[  231.510952] [<c028cdac>] (update_process_times) from [<c029db68>] (tick_sched_timer+0x15c/0x1c4)
[  231.511287] [<c029db68>] (tick_sched_timer) from [<c028dba0>] (__hrtimer_run_queues+0x180/0x2d4)
[  231.511613] [<c028dba0>] (__hrtimer_run_queues) from [<c028e3b0>] (hrtimer_interrupt+0xc8/0x208)
[  231.511969] [<c028e3b0>] (hrtimer_interrupt) from [<c082d9ec>] (arch_timer_handler_virt+0x30/0x38)
[  231.512301] [<c082d9ec>] (arch_timer_handler_virt) from [<c0279220>] (handle_percpu_devid_irq+0x60/0x118)
[  231.512636] [<c0279220>] (handle_percpu_devid_irq) from [<c0273748>] (generic_handle_irq+0x20/0x30)
[  231.512970] [<c0273748>] (generic_handle_irq) from [<c0273d70>] (__handle_domain_irq+0x98/0xa8)
[  231.513293] [<c0273d70>] (__handle_domain_irq) from [<c06747fc>] (gic_handle_irq+0x5c/0x94)
[  231.513770] [<c06747fc>] (gic_handle_irq) from [<c02021b8>] (__irq_svc+0x58/0x8c)
[  231.514035] Exception stack(0xd2825e48 to 0xd2825e90)
[  231.514238] 5e40:                   d1a00000 00000000 00000fc0 00000000 d1a00000 beb06000
[  231.514516] 5e60: 00000055 00000040 00000000 d48e0c80 d2934800 d2934840 d1a00040 d2825e98
[  231.514804] 5e80: 00000000 c09b09ac 20010113 ffffffff
[  231.515111] [<c02021b8>] (__irq_svc) from [<c09b09ac>] (memset+0x2c/0xa8)
[  231.515367] [<c09b09ac>] (memset) from [<c0218f48>] (v6_clear_user_highpage_nonaliasing+0x20/0x2c)
[  231.515684] [<c0218f48>] (v6_clear_user_highpage_nonaliasing) from [<c0360f70>] (alloc_zeroed_user_highpage_movable+0x34/0x44)
[  231.516087] [<c0360f70>] (alloc_zeroed_user_highpage_movable) from [<c0364648>] (handle_mm_fault+0x23c/0x9f4)
[  231.516434] [<c0364648>] (handle_mm_fault) from [<c09d2ed8>] (do_page_fault+0x21c/0x368)
[  231.516720] [<c09d2ed8>] (do_page_fault) from [<c0214958>] (do_DataAbort+0x30/0xb0)
[  231.516997] [<c0214958>] (do_DataAbort) from [<c02024bc>] (__dabt_usr+0x3c/0x40)
[  231.517258] Exception stack(0xd2825fb0 to 0xd2825ff8)
[  231.517453] 5fa0:                                     004932f0 b6b94dcc 00000000 beb0a75c
[  231.517731] 5fc0: beb0aa20 004756c8 00000000 00000000 00000001 0048dbc0 beb0a7b8 004932f0
[  231.518079] 5fe0: 00000007 beb066e0 b6b72da7 b6b60cd0 80010030 ffffffff
<<< run_serial(): command timed out after 120 seconds without output >>>
Comment 5 Alexandre Belloni 2021-03-25 10:15:53 UTC
Interestingly, this is also Bug 14273. I guess this really points in the direction of performance issues on the worker.
Comment 6 Oleksiy Obitotskyy 2021-03-26 08:53:43 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/110/builds/2136

WARNING: core-image-full-cmdline-1.0-r0 do_testimage: Couldn't login into serial console as root using blank password
WARNING: core-image-full-cmdline-1.0-r0 do_testimage: The output:
root

7[r
[6n<<< run_serial(): command timed out after 120 seconds without output >>>
Comment 7 Alejandro 2021-04-07 18:32:58 UTC
Happened again here:

https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/3239
Comment 9 Alexandre Belloni 2021-05-02 22:28:21 UTC
https://autobuilder.yoctoproject.org/typhoon/#/builders/63/builds/3319

qemuppc
master on ubuntu2004-ty-2
Comment 10 Randy MacLeod 2021-05-06 15:20:13 UTC
The combination of tmpfs changes and qemuppc serial kernel changes should have addresses this. Re-open if seen again.
Comment 11 Randy MacLeod 2025-02-14 16:46:19 UTC
bulk change to add Saul's non-WR address.
Comment 12 Randy MacLeod 2025-02-14 16:48:09 UTC
Bulk change: Remove Saul's old WR address.