Skip to content

Attempt to modify iptables fails with command not found #166

@murthyvijay

Description

@murthyvijay

In test suite:

dentv2_testing

and in test case:

dentv2/acl/chain/test_acl_tc_chain_scale.py::test_iptables_tc_scale

attempt to modify iptables fails with command not found.

One obvious thing to note is the extra forward slash in the path /

/sputnik/env/IhmDentTcFlower//bin/iptables-unroll

INFO     asyncssh:logging.py:92 [conn=196, chan=382] Requesting new SSH session
INFO     asyncssh:logging.py:92 [conn=196, chan=382]   Command: echo onl | sudo -S /sputnik/env/IhmDentTcFlower//bin/execute_in_env  /sputnik/env/IhmDentTcFlower//bin/iptables-unroll --multi-interface --extended /tmp/iptables.rules /tmp/iptables-unrolled.rules FORWARD
INFO     asyncssh:logging.py:92 [conn=196, chan=382] Received exit status 1
INFO     asyncssh:logging.py:92 [conn=196, chan=382] Received channel close
INFO     asyncssh:logging.py:92 [conn=196, chan=382] Channel closed
DEBUG    infra1:Logger.py:156 sudo: /sputnik/env/IhmDentTcFlower//bin/execute_in_env: command not found

INFO DENT:Logger.py:84 [Dent infra1] Failed to run /sputnik/env/IhmDentTcFlower//bin/execute_in_env /sputnik/env/IhmDentTcFlower//bin/iptables-unroll --multi-interface --extended /tmp/iptables.rules /tmp/iptables-unrolled.rules FORWARD output sudo: /sputnik/env/IhmDentTcFlower//bin/execute_in_env: command not found

Metadata

Metadata

Assignees

Labels

DENT 3.0needed for DENT 3.0 releasebugSomething isn't workingregressionissue found in regression

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions