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

[ro_user] test is failing on 202012 branch #3116

Closed
vadymhlushko-mlnx opened this issue Mar 9, 2021 · 0 comments · Fixed by #3154
Closed

[ro_user] test is failing on 202012 branch #3116

vadymhlushko-mlnx opened this issue Mar 9, 2021 · 0 comments · Fixed by #3154

Comments

@vadymhlushko-mlnx
Copy link
Contributor

Description
sonic-mgmt/tests/tacacs/test_ro_user.py test is failing on the 202012 branch because there is no ipintutil CLI utility, this utility exists only on the master branch.

Steps to reproduce the issue:

  1. Run the py.test tacacs/test_ro_user.py on the 202012 branch image

Describe the results you received:

        for command in commands_direct + commands_indirect:
            allowed = ssh_remote_allow_run(localhost, dutip, creds['tacacs_ro_user'], creds['tacacs_ro_user_passwd'], command)
>           pytest_assert(allowed, "command '{}' not authorized".format(command))
E           Failed: command 'sudo ipintutil' not authorized

Describe the results you expected:
The py.test tacacs/test_ro_user.py test should pass.

Additional information you deem important:

The output of show version:

root@r-tigris-13:/home/admin# show version

SONiC Software Version: SONiC.SONIC.202012.39-e1f8c07_Internal
Distribution: Debian 10.8
Kernel: 4.19.0-12-2-amd64
Build commit: e1f8c07d
Build date: Mon Mar  8 18:46:04 UTC 2021
Built by: sw-r2d2-bot@r-build-sonic-ci02

Platform: x86_64-mlnx_msn3800-r0
HwSKU: ACS-MSN3800
ASIC: mellanox
ASIC Count: 1
Serial Number: MT1937X00527
Uptime: 16:20:38 up 13:24,  1 user,  load average: 4.30, 2.37, 2.49

Docker images:
REPOSITORY                    TAG                                IMAGE ID            SIZE
docker-teamd                  SONIC.202012.39-e1f8c07_Internal   73e571d0e92b        408MB
docker-teamd                  latest                             73e571d0e92b        408MB
docker-nat                    SONIC.202012.39-e1f8c07_Internal   d48ded5ee092        411MB
docker-nat                    latest                             d48ded5ee092        411MB
docker-platform-monitor       SONIC.202012.39-e1f8c07_Internal   7d8206471093        688MB
docker-platform-monitor       latest                             7d8206471093        688MB
docker-orchagent              SONIC.202012.39-e1f8c07_Internal   9f410bc0b0c1        426MB
docker-orchagent              latest                             9f410bc0b0c1        426MB
docker-fpm-frr                SONIC.202012.39-e1f8c07_Internal   eaa3289a8918        426MB
docker-fpm-frr                latest                             eaa3289a8918        426MB
docker-sflow                  SONIC.202012.39-e1f8c07_Internal   59594be34ad6        409MB
docker-sflow                  latest                             59594be34ad6        409MB
docker-syncd-mlnx             SONIC.202012.39-e1f8c07_Internal   c1f81c086c7f        662MB
docker-syncd-mlnx             latest                             c1f81c086c7f        662MB
docker-snmp                   SONIC.202012.39-e1f8c07_Internal   a23f4f74a80c        438MB
docker-snmp                   latest                             a23f4f74a80c        438MB
docker-sonic-telemetry        SONIC.202012.39-e1f8c07_Internal   af7e2fed9586        487MB
docker-sonic-telemetry        latest                             af7e2fed9586        487MB
docker-lldp                   SONIC.202012.39-e1f8c07_Internal   9dc39a559125        438MB
docker-lldp                   latest                             9dc39a559125        438MB
docker-sonic-mgmt-framework   SONIC.202012.39-e1f8c07_Internal   a7102689a7cc        616MB
docker-sonic-mgmt-framework   latest                             a7102689a7cc        616MB
docker-router-advertiser      SONIC.202012.39-e1f8c07_Internal   8eccf750c8a5        398MB
docker-router-advertiser      latest                             8eccf750c8a5        398MB
docker-database               SONIC.202012.39-e1f8c07_Internal   ca17646eb20d        398MB
docker-database               latest                             ca17646eb20d        398MB
docker-dhcp-relay             SONIC.202012.39-e1f8c07_Internal   e3c45eaaf9f1        405MB
docker-dhcp-relay             latest                             e3c45eaaf9f1        405MB

ro_user_run.txt

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 a pull request may close this issue.

1 participant