Skip to content

[show lldp]: Fix 'input device is not a TTY' error#1016

Merged
lguohan merged 1 commit intosonic-net:masterfrom
ArunSaravananBalachandran:show_lldp
Aug 3, 2020
Merged

[show lldp]: Fix 'input device is not a TTY' error#1016
lguohan merged 1 commit intosonic-net:masterfrom
ArunSaravananBalachandran:show_lldp

Conversation

@ArunSaravananBalachandran
Copy link
Contributor

- What I did

Fix "the input device is not a TTY" error reported by 'show lldp' commands when executed via pytest scripts in sonic-mgmt.

resolves Azure/sonic-buildimage#5019

- How I did it

Removed the usage of '-t' docker exec option to not allocate a TTY, while invoking 'lldpctl'.

- How to verify it

Execute 'TestShowLLDP' test cases in test_iface_namingmode.py script in sonic-mgmt.

- Previous command output (if the output of a command-line utility has changed)

- New command output (if the output of a command-line utility has changed)

@lguohan lguohan merged commit dfaae69 into sonic-net:master Aug 3, 2020
CharlieChenEC pushed a commit to CharlieChenEC/sonic-utilities that referenced this pull request May 14, 2021
Fix Azure/sonic-buildimage#5019

Fix "the input device is not a TTY" error reported by 'show lldp' commands when executed via pytest scripts in sonic-mgmt.
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
1. remove container feature table
2. do not generate feature entry if the feature is not included
   in the image
3. rename ENABLE_* to INCLUDE_* for better clarity
4. rename feature status to feature state
5. [submodule]: update sonic-utilities

* 9700e45 2020-08-03 | [show/config]: combine feature and container feature cli (sonic-net#1015) (HEAD, origin/master, origin/HEAD) [lguohan]
* c9d3550 2020-08-03 | [tests]: fix drops_group_test failure on second run (sonic-net#1023) [lguohan]
* dfaae69 2020-08-03 | [lldpshow]: Fix input device is not a TTY error (sonic-net#1016) [Arun Saravanan Balachandran]
* 216688e 2020-08-02 | [tests]: rename sonic-utilitie-tests to tests (sonic-net#1022) [lguohan]

Signed-off-by: Guohan Lu <lguohan@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants