2024-12-23 17:46:26,100 - INFO - Domain Default found not creating
2024-12-23 17:46:26,262 - INFO - Project ctest-TestRoutersBasic-03913222 not found, creating it
2024-12-23 17:46:26,759 - INFO - Created Project:ctest-TestRoutersBasic-03913222, ID : eff682f0-79e2-489a-ace2-bc6fad93df60
2024-12-23 17:46:28,406 - INFO - ================================================================================
2024-12-23 17:46:28,406 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2024-12-23 17:46:28,406 - INFO - TEST DESCRIPTION : Create an external network, a router
set router-gateway to external network
launch a private network and attach it to router
validate left vm pinging right vm through Snat
2024-12-23 17:46:28,670 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.14': '0'}} with
2024-12-23 17:46:28,670 - INFO - Initial checks done. Running the testcase now
2024-12-23 17:46:28,671 - INFO -
2024-12-23 17:46:29,422 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03913222
2024-12-23 17:46:29,523 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03913222
2024-12-23 17:46:29,870 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03913222', 'default']}
2024-12-23 17:46:30,194 - DEBUG - Response for create_network : {'network': {'id': 'd4207103-9692-462e-88b0-6947b24036ef', 'name': 'ctest-vn-93904701', 'tenant_id': 'eff682f079e2489aace2bc6fad93df60', 'project_id': 'eff682f079e2489aace2bc6fad93df60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03913222', 'ctest-vn-93904701'], 'port_security_enabled': True, 'description': ''}}
2024-12-23 17:46:30,373 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e40c302-ba7b-48be-b52d-5c0df971dead', 'name': '', 'tenant_id': 'eff682f079e2489aace2bc6fad93df60', 'network_id': 'd4207103-9692-462e-88b0-6947b24036ef', 'ip_version': 4, 'cidr': '181.214.144.64/26', 'allocation_pools': [{'start': '181.214.144.66', 'end': '181.214.144.126'}], 'gateway_ip': '181.214.144.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.214.144.66', 'tags': [], 'project_id': 'eff682f079e2489aace2bc6fad93df60'}}
2024-12-23 17:46:30,394 - INFO - Created VN ctest-vn-93904701
2024-12-23 17:46:30,450 - DEBUG - VN ctest-vn-93904701 UUID is d4207103-9692-462e-88b0-6947b24036ef
2024-12-23 17:46:30,793 - DEBUG - Response for create_network : {'network': {'id': '04a5e5c6-dae4-4c98-9f58-eefbd0dc3f37', 'name': 'ctest-ext_vn-16081640', 'tenant_id': 'eff682f079e2489aace2bc6fad93df60', 'project_id': 'eff682f079e2489aace2bc6fad93df60', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03913222', 'ctest-ext_vn-16081640'], 'port_security_enabled': True, 'description': ''}}
2024-12-23 17:46:31,023 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b9d0383-9258-4a33-845b-98cbfcb153d8', 'name': '', 'tenant_id': 'eff682f079e2489aace2bc6fad93df60', 'network_id': '04a5e5c6-dae4-4c98-9f58-eefbd0dc3f37', 'ip_version': 4, 'cidr': '124.30.47.128/26', 'allocation_pools': [{'start': '124.30.47.130', 'end': '124.30.47.190'}], 'gateway_ip': '124.30.47.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.30.47.130', 'tags': [], 'project_id': 'eff682f079e2489aace2bc6fad93df60'}}
2024-12-23 17:46:31,047 - INFO - Created VN ctest-ext_vn-16081640
2024-12-23 17:46:31,107 - DEBUG - VN ctest-ext_vn-16081640 UUID is 04a5e5c6-dae4-4c98-9f58-eefbd0dc3f37
2024-12-23 17:46:31,300 - DEBUG - Services list from nova: [, , ]
2024-12-23 17:46:32,394 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2491-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2491-1)
2024-12-23 17:46:33,625 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2491-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2491-1)
2024-12-23 17:46:33,718 - INFO - Setting gateway for router 8301a54a-0c82-41e9-b47a-a0357b3c06d7 to network 04a5e5c6-dae4-4c98-9f58-eefbd0dc3f37
2024-12-23 17:46:33,804 - INFO - Adding interface with subnet_id 0e40c302-ba7b-48be-b52d-5c0df971dead, port_id None to router 8301a54a-0c82-41e9-b47a-a0357b3c06d7
2024-12-23 17:46:34,189 - INFO - Waiting for VM ctest-TestRoutersBasic-03913222-35089848 to be up..
2024-12-23 17:46:34,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2024-12-23 17:46:39,486 - DEBUG - VM is in ACTIVE state now
2024-12-23 17:46:39,486 - INFO - VM name : ctest-TestRoutersBasic-03913222-35089848
2024-12-23 17:46:39,583 - DEBUG - VM ctest-TestRoutersBasic-03913222-35089848 ID is 2bfa956a-d685-484e-82ab-2bfb0f660962
2024-12-23 17:46:39,607 - DEBUG - VM ctest-TestRoutersBasic-03913222-35089848 launched on Node cn-jenkins-deploy-platform-ansible-os-2491-1
2024-12-23 17:46:39,708 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/2bfa956a-d685-484e-82ab-2bfb0f660962
2024-12-23 17:46:40,014 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/2bfa956a-d685-484e-82ab-2bfb0f660962
2024-12-23 17:46:40,052 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/59726d07-3d42-4189-a494-63af3e4d79e0
2024-12-23 17:46:43,314 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms')
2024-12-23 17:46:43,314 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03913222-35089848 failed!
2024-12-23 17:46:43,375 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03913222:ctest-vn-93904701 is 181.214.144.65 and allocation pool is NOT set
2024-12-23 17:46:45,432 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.666 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.666/1.943/3.221/1.277 ms')
2024-12-23 17:46:45,432 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03913222-35089848 passed
2024-12-23 17:46:45,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 17:46:45,546 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03913222-35089848, IP 181.214.144.67, Port 22
2024-12-23 17:46:45,707 - DEBUG - VM ctest-TestRoutersBasic-03913222-35089848 is ready for SSH connections
2024-12-23 17:46:45,707 - INFO - Waiting for VM ctest-TestRoutersBasic-03913222-99729670 to be up..
2024-12-23 17:46:45,800 - DEBUG - VM is in ACTIVE state now
2024-12-23 17:46:45,800 - INFO - VM name : ctest-TestRoutersBasic-03913222-99729670
2024-12-23 17:46:45,889 - DEBUG - VM ctest-TestRoutersBasic-03913222-99729670 ID is 20345503-2f1e-470f-9b32-f9d06190b5e5
2024-12-23 17:46:45,889 - DEBUG - VM ctest-TestRoutersBasic-03913222-99729670 launched on Node cn-jenkins-deploy-platform-ansible-os-2491-1
2024-12-23 17:46:45,988 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/20345503-2f1e-470f-9b32-f9d06190b5e5
2024-12-23 17:46:46,002 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/f8162c8e-e710-4be2-8e96-2b22867e2f63
2024-12-23 17:46:47,265 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.46 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.43 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.432/2.444/3.456/1.012 ms')
2024-12-23 17:46:47,265 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-03913222-99729670 passed
2024-12-23 17:46:47,434 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 17:46:47,435 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03913222-99729670, IP 124.30.47.131, Port 22
2024-12-23 17:46:47,589 - DEBUG - VM ctest-TestRoutersBasic-03913222-99729670 is ready for SSH connections
2024-12-23 17:46:47,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2024-12-23 17:46:47,590 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 124.30.47.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123
2024-12-23 17:46:47,590 - DEBUG - ping -s 56 -c 3 -W 1 124.30.47.131
2024-12-23 17:46:51,283 - DEBUG - PING 124.30.47.131 (124.30.47.131): 56 data bytes
64 bytes from 124.30.47.131: seq=0 ttl=62 time=5.531 ms
64 bytes from 124.30.47.131: seq=1 ttl=62 time=1.294 ms
64 bytes from 124.30.47.131: seq=2 ttl=62 time=1.161 ms
--- 124.30.47.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.161/2.662/5.531 ms
2024-12-23 17:46:51,284 - INFO - Ping to IP 124.30.47.131 from VM ctest-TestRoutersBasic-03913222-35089848 passed
2024-12-23 17:46:51,284 - INFO - Deleting interface with subnet_id 0e40c302-ba7b-48be-b52d-5c0df971dead, port_id None from router 8301a54a-0c82-41e9-b47a-a0357b3c06d7
2024-12-23 17:46:51,516 - INFO - Deleting VM ctest-TestRoutersBasic-03913222-99729670
2024-12-23 17:46:51,599 - INFO - Deleting VM ctest-TestRoutersBasic-03913222-35089848
2024-12-23 17:46:51,686 - INFO - Deleting VN ctest-ext_vn-16081640
2024-12-23 17:46:51,771 - DEBUG - VN 04a5e5c6-dae4-4c98-9f58-eefbd0dc3f37 still in use: Unable to complete operation on network 04a5e5c6-dae4-4c98-9f58-eefbd0dc3f37. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a2b5dc1e-0191-439c-aa39-37140124ae49']
2024-12-23 17:46:51,771 - WARNING - Deleting VN ctest-ext_vn-16081640 failed..Will retry
2024-12-23 17:46:53,899 - DEBUG - Response for deleting network ()
2024-12-23 17:46:53,900 - INFO - Deleting VN ctest-vn-93904701
2024-12-23 17:46:54,023 - DEBUG - Response for deleting network ()
2024-12-23 17:46:54,285 - DEBUG - No XMPP flaps were noticed during the test
2024-12-23 17:46:54,285 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2024-12-23 17:46:54,285 - INFO - --------------------------------------------------------------------------------
2024-12-23 17:46:55,018 - INFO - Deleted project: ctest-TestRoutersBasic-03913222, ID : eff682f0-79e2-489a-ace2-bc6fad93df60