Skip to content

vJunos-router script fails to authenticate at startup #385

@jonjacs

Description

@jonjacs

The script that logs into the router after startup to verify its availability occasionally fails to detect the password prompt. As a result, the Docker image is marked as unhealthy, even though it is actually running and functioning correctly.

Docker log for the image:

2025-08-29 11:17:27,171: launch     TRACE    OUTPUT: lag enhanced disabled 0 

2025-08-29 11:17:30,174: launch         INFO VM started
'025-08-29 11:17:30,174: vrnetlab       DEBUG writing to serial console: '
2025-08-29 11:17:30,175: vrnetlab       INFO waiting for 'login:' on serial console
2025-08-29 11:17:30,175: vrnetlab       INFO read from serial console: ' (vmx) (ttyu0)

login:'
2025-08-29 11:17:30,175: vrnetlab       DEBUG writing to serial console: 'admin'
2025-08-29 11:17:30,175: vrnetlab       INFO waiting for 'Password:' on serial console

It never recover from this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions