[
https://issues.apache.org/jira/browse/CLOUDSTACK-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13802317#comment-13802317
]
Rayees Namathponnan commented on CLOUDSTACK-4303:
-------------------------------------------------
Still below two test cases failing from 4.2.1 branch
integration.component.test_egress_fw_rules.TestEgressFWRules.test_09_egress_fr9
Error Message
'TestEgressFWRules' object has no attribute 'virtual_machine'
-------------------- >> begin captured logging << --------------------
test_09_egress_fr9
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Creating
network with network offering: 791175e5-3ae6-420f-8ae9-8f6f064d98f0
test_09_egress_fr9
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Created
network with ID: 3dc37a90-dc07-4267-afdf-47b1b0fbd820
test_09_egress_fr9
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG:
Deploying instance in the account: test-TestEgressFWRules-UJUHC8
test_09_egress_fr9
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG:
error=Execute cmd: asyncquery failed, due to: {errorcode : 533, errortext :
u'Unable to create a deployment for
VM[User|5c0d3cea-2157-4bb7-9def-e7ecd68c3602]'}
test_09_egress_fr9
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Deployed
instance in account: test-TestEgressFWRules-UJUHC8
--------------------- >> end captured logging << ---------------------
Stacktrace
File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
testMethod()
File
"/Repo_30X/ipcl/cloudstack/test/integration/component/test_egress_fw_rules.py",
line 710, in test_09_egress_fr9
self.createEgressRule()
File
"/Repo_30X/ipcl/cloudstack/test/integration/component/test_egress_fw_rules.py",
line 350, in createEgressRule
nics = self.virtual_machine.nic
'TestEgressFWRules' object has no attribute 'virtual_machine'
2)
integration.component.test_egress_fw_rules.TestEgressFWRules.test_13_1_egress_fr13
--------------------- >> end captured logging << ---------------------
Stacktrace
File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
testMethod()
File
"/Repo_30X/ipcl/cloudstack/test/integration/component/test_egress_fw_rules.py",
line 932, in test_13_1_egress_fr13
negative_test=False)
File
"/Repo_30X/ipcl/cloudstack/test/integration/component/test_egress_fw_rules.py",
line 321, in exec_script_on_user_vm
raise e
AuthenticationException('Authentication failed.',)
-------------------- >> begin captured logging << --------------------
test_13_1_egress_fr13
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG:
Redundant Router Enabled
test_13_1_egress_fr13
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Creating
network with network offering: cb6f6d34-1db2-4ead-9265-39544a962f41
test_13_1_egress_fr13
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Created
network with ID: 6be1a379-df96-42f9-bf79-6186e794bb5f
test_13_1_egress_fr13
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG:
Deploying instance in the account: test-TestEgressFWRules-UJUHC8
test_13_1_egress_fr13
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Deployed
instance in account: test-TestEgressFWRules-UJUHC8
test_13_1_egress_fr13
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Creating
Egress FW rule for networkid=6be1a379-df96-42f9-bf79-6186e794bb5f
networkname=Test Network
test_13_1_egress_fr13
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Created
rule=5e3ea5f4-df66-4a48-befc-60478a8c5528
test_13_1_egress_fr13
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Listing
routers for network: 6be1a379-df96-42f9-bf79-6186e794bb5f
test_13_1_egress_fr13
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG:
Redundant states: MASTER, BACKUP
test_13_1_egress_fr13
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Stopping
the Master router
test_13_1_egress_fr13
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Checking
state of the master router in Test Network
test_13_1_egress_fr13
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG: Sleep 30
seconds for network on router to be up
test_13_1_egress_fr13
(integration.component.test_egress_fw_rules.TestEgressFWRules): DEBUG:
expect_script>>
#!/usr/bin/expect
spawn ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o
LogLevel=quiet -i /root/.ssh/id_rsa.cloud -p 3922 root@None
expect "root@r-714-QA:~#"
send "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o
LogLevel=quiet [email protected] ping -c 1 www.google.com; exit $?
"
expect "[email protected]'s password: "
send "password
"
interact
<<expect_script
paramiko.transport: DEBUG: starting thread (client mode): 0xcba1890L
> [Automation] test_egress_fw_rules test cases failed to except script and
> tests failed
> --------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4303
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4303
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Infra, Network Controller
> Reporter: Rayees Namathponnan
> Assignee: Girish Shilamkar
> Priority: Critical
> Attachments: Debug_11_03_2013_1378883737.log
>
>
> Test cases from integration.component.test_egress_fw_rules.TestEgressFWRules
> fails
> test cases expecting script @ /tmp/expect_scrip, this should be handled in
> test case,
> Stacktrace
> File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
> testMethod()
> File
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_egress_fw_rules.py",
> line 51, in test_wrap_exception_log
> raise e
> Script result is ['bash: /tmp/expect_script.exp: /usr/bin/expect: bad
> interpreter: No such file or directory'] is not matching with ['100']
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestEgressFWRules: DEBUG: Creating network with network
> offering: 0bd6212f-b34c-4f7a-a84f-0c172bee6ac8
> testclient.testcase.TestEgressFWRules: DEBUG: Created network with ID:
> ef2626c2-6849-43e7-8418-0c89ed528d62
> testclient.testcase.TestEgressFWRules: DEBUG: Deploying instance in the
> account: test-SSFX20
> testclient.testcase.TestEgressFWRules: DEBUG: Deployed instance in account:
> test-SSFX20
> testclient.testcase.TestEgressFWRules: DEBUG: expect_script>>
> #!/usr/bin/expect
> spawn ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o
> LogLevel=quiet -i /root/.ssh/id_rsa.cloud -p 3922 [email protected]
> expect "root@r-342-QA:~#"
> send "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o
> LogLevel=quiet [email protected] ping -c 1 www.google.com; exit $?
> "
> expect "[email protected]'s password: "
> send "password
> "
> interact
> <<expect_script
--
This message was sent by Atlassian JIRA
(v6.1#6144)