ReadUntil IPv6 Failing

Hello all,

This is my first time posting; apologies for incorrect syntax in advance. I’m attempting to resolve a Robot Framework IPv6 interactive command send. My robo test is attempting to scp a config to a device using an IPv6 address but it is failing. It looks like the command never executes due to the format of the IPv6 address and that Robos interaction with that address.

Robot Test I’m running:
Test: Device MUST support configuration backups - IPv6
SSH to host ${v6addr} ${someUser} ${somePass}
#Read until buil
Sleep 8 seconds
Write scp config_file user@[1:1:1:1:1:1:1:\1]:/this/dir/config_file
#ReadUntil password:
#ReadUntil 1:1:1:1:1:1:1:1’s password:
ReadUntil :
#${output} = ReadUntilRegexp \w+:\w+:\w+:\w+:\w+:\w+:\w+:\w+.*:
#Should Contain ${output} password:
Write A_password
${output} = ReadUntil 100%
Log to console ${output}
Should Contain ${output} 100%
Close SSH

This is the code being executed on the device:
user@device_name% scp config_file user@[1:1:1:1:1:1:1:\1]:/this/dir/config_file
some_user@1:1:1:1:1:1:1:1’s password:
config_file 100% 5027 10000000.8MB/s
00:00
user@device_name%

This is the output that Robo is providing back and the scp copy is failing:
Output:
user@device_name% A_password
A_password: Command not found.
user@device_name%

I have tried integrating a ReadUntilRegexp but that is failing too. I don’t know what else to try and was hoping the community could throw a bone.

This seems to be the failing command. At least looks like is running up to this point.

A_password: Command not found.

Thank you for taking the time to reply Helio. I changed my approach. Instead of instructing Robot Framework to ssh into the shell, I instructed the RF to ssh into the CLI. By doing that, the device handled the IPv6 command as expected and I got the result I was looking for. Have a great weekend.